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

Update International (SV-70) 24 Oz Black and Stainless Cream Server 1
$26.61
Update International (SV-70) 24 Oz Black and Stainless Cream Server 1 pictureBlack apron Birds of Paradise waitress server waiter waist apron 3 pockets
$11.0
Black apron Birds of Paradise waitress server waiter waist apron 3 pockets picture Black Server Waitress 3 Pocket Waist Apron Black Dog Bone Name FREE Lady Pizazz
$12.0
 Black Server Waitress 3 Pocket Waist Apron Black Dog Bone Name FREE Lady Pizazz pictureBlack and Gray Damask waitress server waiter waist apron 3 pockets
$11.0
Black and Gray  Damask  waitress server waiter waist apron 3 pockets  pictureEicon Diva Server PRI E1
$1450.0
Eicon Diva Server PRI E1 picture






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