File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse IDE: Exporting Jars Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse IDE: Exporting Jars " Watch "Eclipse IDE: Exporting Jars " New topic

Eclipse IDE: Exporting Jars

Mariam A. Shamsi

Joined: Dec 15, 2008
Posts: 16
Hello everybody,

I am using eclipse to export jar files for three packages. I select the following option when exporting the jar:

Export the generated class files and resources

and then, I only locate the destination. Everything works perfect. What I
want now is to know what is the equivalent jar command line that can be
used to end up with the same result as Eclipse? I tried the following

It generates the jars, but not working properly as if I created them
under Eclipse. What is the command that is used by eclipse to generate
jars with the above option enabled?

And, does eclipse provide built-in command line jar exporter?
[ December 15, 2008: Message edited by: Mariam A. Shamsi ]
Mariam A. Shamsi

Joined: Dec 15, 2008
Posts: 16
No reply?
It is sorta covered in the JavaRanch Style Guide.
subject: Eclipse IDE: Exporting Jars
Similar Threads
Eclipse Import/Export
Creating .jar files (preferably in Eclipse) and adding existing .jar files to them
Eclipse: What, exactly, does the "Add External Class Folder" button really do?
Eclipse 3.6 option - 'deployment assembly' not working for my web project
Eclipse plug-in RCP failing while exporting