This Question is Assumed Answered

1 "correct" answer available (5 pts) 15 "helpful" answers available (3 pts)
4 Replies Last post: Jul 31, 2008 4:41 AM by URPradhan

Help for deployment

Jul 30, 2008 10:37 PM

Click to view URPradhan's profile BlackBelt URPradhan 167 posts since
Mar 6, 2008
Hi

I have a sample application which uses CDK and WSDK packages and the project have other resource folders like images, sounds, etc ...
Like for XYZ project below is the structure ....
XYZ
     XYZ.MY-PACKAGE.PKG1
     XYZ.MY-PACKAGE.PKG2
     images/ 
     sounds/ 
     mySourceDir1/ 
     mySourceDir2/ 
     COM.CURL.WSDK 
     COM.CURL.CDK 
     start.curl
     file1.scurl
     file2.scurl

So what should be the deployment target settings for source files, directories and packages ?

Thank you

Click to view Duke's profile Curl Duke 179 posts since
Oct 17, 2007
1. Re: Help for deployment Jul 30, 2008 10:59 PM
Generally you would want to pcurl the packages you have source for, just copy the library packages which are supplied to you in pcurl form, and copy your directories of resources like images and sounds. And copy source files that are not part of packages.
Click to view URPradhan's profile BlackBelt URPradhan 167 posts since
Mar 6, 2008
2. Re: Help for deployment Jul 31, 2008 3:56 AM
in response to: Duke
Actually I'm doing that, but I do not know why it gives exception ....
start.curl:9 [1] Cannot import default manifest: SyntaxError: file:///c:/Documents and Settings/xyz_user/Local Settings/Application Data/Curl Corporation/Surge/local-root-for/xyz.com/demosite/products/demoApp/manifest.mcurl:26[13]: Bad 'delegate-to' statement:
MissingFileException: Failed to open file 'c:\Documents and Settings\xyz_user\Local Settings\Application Data\Curl Corporation\Surge\local-root-for\xyz.com\demosite\products\demoApp\WSDK\manifest.mcurl' with mode 'r': The system cannot find the path specified (3).

My component target settings are ...

XYZ
     XYZ.MY-PACKAGE.PKG1   package
     XYZ.MY-PACKAGE.PKG2   package
     images/                              copy
     sounds/                              copy 
     mySourceDir1/                    copy
     mySourceDir2/                    copy
     COM.CURL.WSDK             use path
     COM.CURL.CDK                use path
     start.curl                             copy
     file1.scurl                            copy
     file2.scurl                            copy

For COM.CURL.CDK & WSDK I ve tried "use path", "alt path" but still getting the above exception.
I know it may be simple but it confusing to me.

Thank you

Click to view tiju's profile Level 6 tiju 118 posts since
Oct 17, 2007
3. Re: Help for deployment Jul 31, 2008 4:22 AM
in response to: URPradhan
Is the error occuring when you try to deploy or when you try to run the application after deploying?

Could you check if there is a physical file like c:\Documents and Settings\xyz_user\Local Settings\Application Data\Curl Corporation\Surge\local-root-for\xyz.com\demosite\products\demoApp\WSDK\manifest.mcurl in your system.
Click to view URPradhan's profile BlackBelt URPradhan 167 posts since
Mar 6, 2008
4. Re: Help for deployment Jul 31, 2008 4:41 AM
in response to: URPradhan
My problem has been solved as I have added .....

{applet 
curl-root = ".", .....
}