(keitai-l) Re: Disappearing JAR file data

From: Claus Höfele <claus.hoefele_at_gmail.com>
Date: 06/08/07
Message-ID: <9f8ab7ef0706080542i5ca253b1u338584147343338b@mail.gmail.com>
I tried the Eclipse plug-in about two years ago and couldn't get it to
work at all. The plug-in supported a version of Eclipse that was
outdated even at that time. From what I find today on DoCoMo's Web
site, this hasn't changed
(http://www.nttdocomo.co.jp/english/service/imode/make/content/iappli/about/tool_foma2.html).

I ended up using Eclipse/Netbeans as a simple editor. You can add the
DoJa JAR file as a library to your project, so you'll get some syntax
checking at least. To build the DoJa application, I used the emulator,
which contains a simple project builder.

Not much help I'm afraid. If you find something out, I'd be happy to
hear about it.

-Claus


-- 
Mobile 3D Graphics: Learning 3D Graphics with the Java Micro Edition
http://www.claushoefele.com/m3g/

ISBN: 1598632922
Order from Amazon: http://www.amazon.com/gp/product/1598632922
Barnes & Noble:
http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?EAN=9781598632927


On 6/6/07, Mark Cowan <m.y.cowan@gmail.com> wrote:
> Greetings - my 1st posting - be gentle.
>
> Trying to get DoJa-3.5 plugin working on Eclipse. I set the values in
> the project setup, including AppSize at 8. I create a JAR file using
> the JAR exporter.  However, when I try to run HelloWorld I get an
> error saying Appsize(=0) must be more than 1.
>
> When I check the project setup again and AppSize is set to 0. I set
> that to 8 again and check eht JAM file and it says AppSize is 8. Try
> to run HelloWorld again, but I get the same AppSize(=0) error. I
> export another JAR file and confirm that its contents are correct
> using the command jar tf HelloWorld.jar. It's all looking good, but
> when I run it again I get the same  AppSize(=0) error. I do another
> jar tf HelloWorld.jar and it shows that there is a HelloWorld.jar
> file, but it's completely empty. But a check of the created time stamp
> of the file shows that was created in the last minute.
>
> So obviously eclipse is creating a new file with each run, but not
> writing anything into the file.
>
> What settings and/or preferences do I need to change to get eclipse to
> write data into the JAR file? Is there a way to bypass the JAR file
> creation when running HelloWorld? Becuase I can just manually create a
> jar file in a command window.
>
> Mark
>
> This mail was sent to address claus.hoefele@gmail.com
> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
>
>
Received on Fri Jun 8 15:42:50 2007