Hi,
I'm building a BlackBerry application in Eclipse. Currently I'm using the Antenna wtkrapc build task below, which takes a JAR archive of all the class files, and a JAD file as arguments:
Code:
<target name="rapc" description="RIM COD Compiler" depends="package">
<wtkrapc
quiet="true"
midlet="false"
jadfile="${jadfile}"
source="${final.jar}"
codename="${codename}"
import="${net_rim_api.jar}"
destdir="output/tocod/"/>
</target>
The application auto-runs on the BlackBerry, which is achieved by specifying RIM-MIDlet-Flags-1: 3 in the JAD file.
The project has now got to the point where I need to specify an alternate entry point, which is not auto-run and requires a custom icon. As far as I'm aware this cannot be achieved with the wtkrapc task, and I must use the rapc task instead. I've read through this excellent thread:
Building without JDE... - BlackBerryForums.com : Your Number One BlackBerry Community but I'm still not sure how I can convert my current wtkrapc task to a rapc task. Where do you specify the input files etc?
Any help would be greatly appreciated!
TIA, Ben