aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes help creating jar in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "help creating jar in eclipse" Watch "help creating jar in eclipse" New topic
Author

help creating jar in eclipse

harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
I am creating a standalone java application in eclipse, and i want to create jar file of that application, i want directory structure for my app as
MyApp
- MyApp.jar
- Input (folder)
-- Logging.properties file
-- Input.properties file
- Lib (folder)
-- lib1.jar
-- lib2.jar
(path of Lib folder can change in future) so how to create jar of app such that i can modify classpath to point to new Lib (folder) location without creating new jar every time Lib (folder) path changes and how to set Logging.properties file path ?
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 484

Hi,
I think you should use Ant to package a jar file with such structure. Then add Ant build file to project's builders in Eclipse.


PM Me If You Want to get Urgent Help on Java Programming
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help creating jar in eclipse
 
Similar Threads
POI
Having issue accessing images inside jar
help needed with creating jar file
jsp - jar - dll
INFO logging in Struts 1.3.10