BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-23-2008, 02:24 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2008
Model: 8820
PIN: N/A
Carrier: at&t
Posts: 40
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Eclipse compile problems

Please Login to Remove!

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. =)
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

HID BALLAST SNAPLINK RELAY 30A 277V SL30-NCL Lighting Control & Design
$55.0
HID BALLAST SNAPLINK RELAY 30A 277V  SL30-NCL  Lighting Control & Design pictureTriad Universal Lighting B232IUNVHP 120VAC to 277 VAC Electronic Lamp Ballast
$14.47
Triad Universal Lighting B232IUNVHP 120VAC to 277 VAC Electronic Lamp Ballast pictureNOS Universal Basic 12 B260IUNVHP F96T12ES Electronic Ballast 120V To 277V
$15.0
NOS Universal Basic 12 B260IUNVHP F96T12ES Electronic Ballast 120V To 277V picture70w HPS ballast
$0.99
70w HPS ballast pictureANTHONY BALLAST MODEL NUMBER LT2X40/120 60-13076-0002
$95.0
ANTHONY BALLAST MODEL NUMBER  LT2X40/120 60-13076-0002 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.