[Bb-ant-tools-general] Getting Different COD FIle and MIDlet Name?
Brought to you by:
jiggak
From: James C. <ja...@bi...> - 2012-04-24 14:47:59
|
Hi, Firstly - thanks for a great tool! I am using bb-ant-tools on OS X to convert JAR files to COD files. I'm just using ANT directly, no Eclipse plug-in. I have got the process to work OK using the following type of approach in my build file, where 'MyApp' is the name of the MIDlet... <rapc destdir="output/cod" output="MyApp" jdehome="/Volumes/Development/blackberry-jde"> <jdp title="MyApp" version="1.0" type="midlet" midletclass="MenuMIDlet" icon="icn.png"/> <src> <fileset dir="jar/"> <include name="MyApp.jar"/> </fileset> </src> </rapc> ...the problem I am having is that I need the COD file to have a different name to the MIDlet name but if I specify a different name in the 'output' parameter I get an error like the following... [rapc] Error!905: Descriptor duplicate attribute mismatch: 'MIDlet-Name' old value: 'MyApp' new value: 'my_new_filename' ...is there a way to specify a different name for the COD file that won't cause this issue? I'm told that simply renaming the COD file afterwards won't work. cheers ==== James Closs, Director, bitBull Ltd http://www.bitbull.com 07771 991171 ==== |