Brand new to Eclipse and Ant, but am very close to having this working.
When I compile, all appears fine, but when I load it on my handheld, while the app shows up on the ribbon (although with the default icon) it is not in the Applications list! It does show up in modules.
This is the .jad file from Eclispe:
Code:
MIDlet-Name: com_crackberry_launcher
MIDlet-Version: 3.0.0.31
MIDlet-Vendor: Berrysoft Studios
MIDlet-Jar-URL: com_crackberry_launcher.jar
MIDlet-Jar-Size: 0
MicroEdition-Profile: MIDP-2.0
MicroEdition-Configuration: CLDC-1.1
MIDlet-1: Crackberry.com,com/crackberry/img/OrangeA.png,
RIM-MIDlet-Flags-1: 35
MIDlet-2: Crackberry.com,com/crackberry/img/OrangeA.png,clicked
RIM-MIDlet-Flags-2: 0
which differs from the one generated by Ant:
Code:
MIDlet-Name: CBLauncher
MIDlet-Version: 2.0.4.3
MIDlet-Vendor: Berrysoft Studios
MIDlet-Description: Visit CrackBerry.com: The #1 Site for BlackBerry Users & Abusers!
MIDlet-Jar-URL: CBLauncher.jar
MIDlet-Jar-Size: 0
MicroEdition-Profile: MIDP-2.0
MicroEdition-Configuration: CLDC-1.1
MIDlet-1: CB Launcher,,
RIM-MIDlet-Flags-1: 3
MIDlet-2: CB Launcher,,click
RIM-MIDlet-Flags-2: 0
in that there is no Description, and the Flags line is different. Also, the icons are not there either. I also think I have to change "click" to "clicked" which is a no brainer.
But how do I get the rest to show up correctly?
Here is part of my build.xml:
Code:
<target name="Build" description="builds application" depends="-Init">
<rapc output="${output}" destdir="${bin}" jdehome="${jdehome}" jdkhome="${javahome}">
<jdp type="cldc"
title="${title}" vendor="${vendor}"
version="${version}"
description="${description}"
systemmodule="true"
runonstartup="true"
startuptier="7" >
<entry
title="${title}"
arguments="click"
systemmodule="false"
runonstartup="false"
startuptier="7"
ribbonposition="0"
icon="OrangeA.png" />
</jdp>
<src>
<fileset dir="${src}">
<include name="**/*.java" />
<include name="**/*.png" />
<include name="resources/**/*.*" />
</fileset>
</src>
</rapc>
<copy todir="${simulator}" verbose="false">
<fileset dir="${dist}">
<include name="*.cod" />
<include name="*.debug" />
<include name="*.cso" />
</fileset>
</copy>
<echo message="Build ${build.number} complete." />
</target>
Any help appreciated. I'm dying to get this working so I can move on and finish it. =)