File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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: 498

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: help creating jar in eclipse
 
Similar Threads
POI
help needed with creating jar file
jsp - jar - dll
Having issue accessing images inside jar
INFO logging in Struts 1.3.10