01-21-2010 06:06 PM
I am trying to compile my widget using beta2. I get as far as "Start compiling and building..." and then I get the following error:
java.io.IOException: Cannot run program ""C:\Program" (in directory "C:\Users\MYUSWER~1\AppData\Local\Temp\widgetGen.1
error=206, The filename or extension is too long
[ERROR] Error happened when running rapc.exe!
Any ideas?
01-22-2010 05:45 AM - edited 01-22-2010 05:53 AM
did you try to login with another user and build the widget?
01-22-2010 11:30 AM
It looks like the file path generated to compile the application is in a location that exceeds windows file path limitations. Can you post the full path of the directory name you have installed the SDK into and also list the full command line text that you are passing down?
04-04-2010 11:48 PM
I originally had the SDK installed in the default location. I now have it installed at C:\bbw\
I am running Widget SDK Beta 3 on Windows Vista Business 32bit.
The command that I am running is "bbwp web/test.zip" from the C:\bbw\ directory.
I'm not sure if it matters, but my web widget that I am trying to compile has 12,000 html files. It is a reference book that uses static html instead of a database.
When I have fewer files in the widget it compiles. When I add the full 12k I got this error.
The SDK B3 error that I am getting now after the "Compiling widget" status update is as follows:
java.io.IOException: Cannot run program ""C:\bbw\bin\rapc.exe"" (in directory "C:\Users\JOSIAH~1\AppData\Local\Temp\widgetGen.23
[ERROR] RAPC exception occurred
04-05-2010 01:04 AM
I should also mention that the 12,000 html files are around 6mb zipped.
04-05-2010 10:04 AM
The total files size may be the issue here. A BlackBerry application has a maximum size limit of 7MB which includes all the total size of all the *.cods for the module.
In some cases, developers have gotten around this issue by keeping the core of the application within those limits and then download the extra content to the file system after install.
04-05-2010 10:30 AM
Thanks for the reply.
How much do I need to leave for overhead for the .cod's? or does that vary?
04-05-2010 12:08 PM
That is likely going to vary based on configuration settings that you use for your widget.