Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

Nokia + Eclipse: creating JAR files from eclipse

Thread view: 
John Goche - 21 Jan 2006 14:44 GMT
Hello,

I am developing J2ME applications and testing them on Nokia devices.
So I have installed Eclipse 3.1.1 from eclipse.org, then Nokia
Developer's Suite (NDS) v3.0.1 from Nokia, and added on
several emulators from Nokia.

When I launch Eclipse, it finds an Eclipse NDS plugin which
was installed as an option when I installed NDS, so that all
of the NDS windows are available from the Eclipse menu
as Tools -> Nokia Developer's Suite for J2ME(TM).

I am having the following two minor problems with this setup:

1. The class files are being generated from eclipse when I select
   Project -? Build All. However, the Eclipse Package Explorer
   does not show me the bin folder and its contents with all the
   class files. How can I have it show these files?

2. In order to create the JAR and JAD files for the midlet I have to
   go to Tools -> Nokia Developer's Suite for J2ME(TM) -> New
   Application Package... and click on the generate button. Is
   it possible to automate this step from Eclipse as part of the
   build process when I select Prokect -> Build all? Right now
   when I select Build All from the Eclipse IDE all the generated
   classes appear under the "Classes" tab in the "Create
   Application Package" window but the JAR and JAD
   files are not automatically updated
   when I select Build ALL. How can
   I have JAR and JAD files automatically regenerated
   upon rebuilding from the Eclipse Project menu?

Thanks,

JG
IchBin - 21 Jan 2006 21:45 GMT
> Hello,
>
[quoted text clipped - 31 lines]
>
> JG

I could be wrong but not sure if you can automate those two steps.
Normally you have to right click on A project or package and select
export. I am running Eclipse 3.2M4. Maybe your plugin can use a
Build.xml file.

Best bet is to look at Nokia Developer's Suite for J2ME(TM) docs for
this feature or at their website.

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)
Darryl L. Pierce - 22 Jan 2006 01:53 GMT
> 2. In order to create the JAR and JAD files for the midlet I have to
>     go to Tools -> Nokia Developer's Suite for J2ME(TM) -> New
>     Application Package... and click on the generate button. Is
>     it possible to automate this step from Eclipse as part of the
>     build process when I select Prokect -> Build all?

Install Sun's Wireless Toolkit and EclipseME. Then convert your project
to a MIDlet Suite project. Then you can select a single menu option to
generate the deployable JAR file (and include obfuscation as well) and a
JAD file.

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Homepage: http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly,
I could have done." - Jon Stewart



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.