This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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

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.jar
- Input (folder)
-- file
-- 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 file path ?
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 502

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:
subject: help creating jar in eclipse
It's not a secret anymore!