Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #4357
| From | Sanny <softtanks22@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Creating Archive Files in Eclipse with images. |
| Date | 2011-05-20 05:20 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <791a4586-8051-4373-89c5-97cca40f31fb@18g2000prd.googlegroups.com> (permalink) |
| References | (1 earlier) <ir0jak$685$1@dont-email.me> <66251df5-1f5e-4cf7-9c86-3dac2a82b311@z13g2000prk.googlegroups.com> <ir3kkp$obm$1@dont-email.me> <bcdea7dc-328c-41c7-aa15-bd14f9b53a96@18g2000prd.googlegroups.com> <ir5ii9$vt9$1@news.albasani.net> |
> > Problem writing /FightGame/fightgame.jardesc to JAR: duplicate > > entry: fightgame.jardesc > > Don't include fightgame.jardesc in the JAR. It's a development artifact and > has no place in the deployment. I removed all unwanted files. Still I am getting below errors. JAR creation failed. See details for additional information. Problem writing /FightGame/META-INF/MANIFEST.MF to JAR: duplicate entry: META-INF/MANIFEST.MF 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 Resource /FightGame does not exist. Resource /FightGame does not exist. Resource /FightGame does not exist. > > I have kept all my images in "src" folder. I find the jar do not add > > the content of "src" folder. > > You usually don't include source in the deployment artifacts. "markspace" suggested me to create a src folder and put all images into that folder. I wanted some way to include all images and docs needed by the applet into a single .jar file. > > How to ask the Eclipse to add all files from "src" folder into the > > jar [sic]. > > Why? So, that I get one .jar file instead of 20-30 images which takes longer to download. > > It gives me no option to include a folder "src" > > That's because it isn't part of the deployment. Instead, it copies resources > FROM "src" to the build directory. Should I put the images into "lib" folder? Or I create a build folder. How can I suggest Eclipse to put all images into the .jar file? > > When I double click the Jar [sic] a window opens for a few sec and closes > > without showing any error. > > That's what the program does, apparently. No, This is a 2d fighting game When I use Run in eclipse it starts the 2d game. But when I click the .jar files the window opens for a few sec but then closes automatically. Without showing any error. Bye Sanny
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
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