If you give rapc an "rapc" file, it'll produce a fully filled out jad file.
Ant snippet...
Code:
<java jar="${rim.jde.home}/bin/rapc.jar" dir="build/output" failonerror="true" fork="true">
<arg line="-quiet -nowarn -import='${rim.jde.home}/lib/net_rim_api.jar'"/>
<arg line="-codename=yourproject"/>
<arg line="-rapc=yourproject.rapc"/>
<arg line="../lib/yourproject.jar"/>
</java>
RAPC file...
Code:
MIDlet-Name: YourProject
MIDlet-Description: YourDescription
MIDlet-Version: 0.0.0
MIDlet-Vendor: YourCompany
MIDlet-Jar-URL: yourproject.jar
MIDlet-Jar-Size: 0
MicroEdition-Profile: MIDP-2.0
MicroEdition-Configuration: CLDC-1.1
MIDlet-1: YourDescription,img/yourproject.png,
RIM-MIDlet-Flags-1: 0