07-14-2009 09:19 AM
OK - it appears that versions compiled by Eclipse install fine, and versions compiled by me via ANT appear both in the Application list and the Modules list, but not anywhere else in the device. I cant fire em up.
The app. is a ported Midlet, compiled for BlackBerry via RAPC.
Is this a preverification issue? Anything else?
07-14-2009 09:34 AM
07-14-2009 10:08 AM
Here is my ant task:
<exec dir="${final.dir}" executable="${bb.home}/bin/rapc.exe">
<arg line=" import=${bb.home}/lib/net_rim_api.jar "/>
<arg line=" codename=${MIDletSuite} "/><arg line=" ${final.dir}/${MIDletSuite}.jad "/>
<arg line=" ${final.dir}/${MIDletSuite}.jar "/><arg line=" -quiet "/> </exec>
bb.home points to the jde 4.6 eclipse plugin.
Is there simething wrong here?
07-14-2009 10:12 AM
07-14-2009 11:07 AM - edited 07-14-2009 11:07 AM
I would strongly recommend you to use BB Ant Tools: http://bb-ant-tools.sourceforge.net/docs
There is rapc task and use it instead of exec.
07-14-2009 11:23 AM
Seems that I have made some progress. My ant task was missing the -midlet parameter. But when I add it, RAPC does not modify the jad file, so no BB info is added.
For compitability with other projects here, I would like to try and solve this without using the ant-bb-pack.
So - how do I force RAPC to modify the JAD?
07-16-2009 02:30 AM - edited 07-16-2009 02:32 AM
RAPC does not update the jad while the -midlet property is enabled. Therefore I decided to give up, and now I'm using bb-ant-tools' JADTOOL task to do the job. I still invoke RAPC through the EXEC task though. If it's working, don't fix it.