BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-23-2008, 02:24 AM   #1
pwaugh
Knows Where the Search Button Is
 
Join Date: Mar 2008
Model: 8820
PIN: N/A
Carrier: at&t
Posts: 40
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


CH341A 24 25 Series EEPROM Flash BIOS USB Programmer Module + SOIC8 Test Clip picture

CH341A 24 25 Series EEPROM Flash BIOS USB Programmer Module + SOIC8 Test Clip

$5.88



10PCS W27C512-45Z W27C512 DIP IC EEPROM 512KBIT 45NS Winbond EEPROMs USA picture

10PCS W27C512-45Z W27C512 DIP IC EEPROM 512KBIT 45NS Winbond EEPROMs USA

$17.98



10PCS For SST27SF512-70-3C-PG SST 27SF512 DIP-28 Eeproms Programmable Flash Chip picture

10PCS For SST27SF512-70-3C-PG SST 27SF512 DIP-28 Eeproms Programmable Flash Chip

$27.69



5PCS EEPROM IC ATMEL DIP-28 AT28C256 AT28C256-15PU US picture

5PCS EEPROM IC ATMEL DIP-28 AT28C256 AT28C256-15PU US

$27.99



10* DIP-28 Eeproms Programmable Flash Chip For SST27SF512-70-3C-PG SST 27SF512 picture

10* DIP-28 Eeproms Programmable Flash Chip For SST27SF512-70-3C-PG SST 27SF512

$28.31



Eeprom Bios Usb Programador Ch341a + Soic8 Clip + 1.8V Adaptador + Soic8 Ada picture

Eeprom Bios Usb Programador Ch341a + Soic8 Clip + 1.8V Adaptador + Soic8 Ada

$23.15







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