| Adding images to JAR files [message #493590] | 
Tue, 27 October 2009 01:40   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
My applet has images which are in the bin/images directory.  I'm creating a JAR file by exporting the project.  I've tried all combinations of checking the 'Export all output folders of checked projects' vs 'Export generated class files and resources' and 'Add directory entries'.  Under none of the combinations do the image files actually wind up in the JAR file (using jar tf ... to search the contents). 
 
1) Is there an appropriate way to associate the image files with the project so they become 'known resources' of the project, and 
 
2) How do I get the images to actually be included in the JAR.  Ideally, they would also still be in an 'images' directory in the JAR. 
 
Thanks!
 |  
 |  
  | 
 | 
 | 
Powered by 
FUDForum. Page generated in 0.08443 seconds