Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #4347

Re: Creating Archive Files in Eclipse with images.

From Sanny <softtanks22@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Creating Archive Files in Eclipse with images.
Date 2011-05-20 02:20 -0700
Organization http://groups.google.com
Message-ID <bcdea7dc-328c-41c7-aa15-bd14f9b53a96@18g2000prd.googlegroups.com> (permalink)
References <97d85e5c-e75b-41d0-a967-02cdbf7b4913@q14g2000prh.googlegroups.com> <ir0jak$685$1@dont-email.me> <66251df5-1f5e-4cf7-9c86-3dac2a82b311@z13g2000prk.googlegroups.com> <ir3kkp$obm$1@dont-email.me>

Show all headers | View raw


> I don't know about this one.  Check your paths again to make sure they
> are all correct.  You might have to use a sniffer like Wireshark to
> verify that the Java plug-in is looking where you think it is looking.

When creating a Jar file I get below errors. I am able to play the
applet as an Application with Eclipse as it has got main() function.
But When I click the FightGame.jar It closes immidietly.

JAR creation failed. See details for additional information.
  Problem writing /FightGame/META-INF/MANIFEST.MF to JAR: duplicate
entry: META-INF/MANIFEST.MF
  Resource /FightGame does not exist.
  Resource /FightGame does not exist
  Resource /FightGame does not exist.
  Problem writing /FightGame/.classpath to JAR: duplicate
entry: .classpath
  Problem writing /FightGame/.project to JAR: duplicate
entry: .project
  Problem writing /FightGame/HelloWorld.java to JAR: duplicate entry:
HelloWorld.java
  Problem writing /FightGame/META-INF/MANIFEST.MF to JAR: duplicate
entry: META-INF/MANIFEST.MF
  Problem writing /FightGame/fightgame.jardesc to JAR: duplicate
entry: fightgame.jardesc
  Resource /FightGame does not exist.
  Resource /FightGame does not exist.
  Resource /FightGame does not exist.

Despite the errors the FightGame.jar is created.

I have kept all my images in "src" folder. I find the jar do not add
the content of "src" folder.

How to ask the Eclipse to add all files from "src" folder into the
jar.

It gives me no option to include a folder "src"

When I double click the Jar a window opens for a few sec and closes
without showing any error.

Bye
Sanny

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Creating Archive Files in Eclipse with images. Sanny <softtanks22@hotmail.com> - 2011-05-18 05:16 -0700
  Re: Creating Archive Files in Eclipse with images. markspace <-@.> - 2011-05-18 06:58 -0700
    Re: Creating Archive Files in Eclipse with images. Sanny <softtanks22@hotmail.com> - 2011-05-19 10:20 -0700
      Re: Creating Archive Files in Eclipse with images. markspace <-@.> - 2011-05-19 10:39 -0700
        Re: Creating Archive Files in Eclipse with images. Sanny <softtanks22@hotmail.com> - 2011-05-20 02:20 -0700
          Re: Creating Archive Files in Eclipse with images. Lew <noone@lewscanon.com> - 2011-05-20 07:16 -0400
            Re: Creating Archive Files in Eclipse with images. Sanny <softtanks22@hotmail.com> - 2011-05-20 05:20 -0700
              Re: Creating Archive Files in Eclipse with images. Lew <noone@lewscanon.com> - 2011-05-20 09:13 -0400
                Re: Creating Archive Files in Eclipse with images. Sanny <softtanks22@hotmail.com> - 2011-05-20 07:17 -0700
                Re: Creating Archive Files in Eclipse with images. Lew <noone@lewscanon.com> - 2011-05-20 12:18 -0400
      Re: Creating Archive Files in Eclipse with images. Jeff Higgins <jeff@invalid.invalid> - 2011-05-19 14:03 -0400
      Re: Creating Archive Files in Eclipse with images. markspace <-@.> - 2011-05-19 11:10 -0700

csiph-web