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 MANIFEST.MF 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 "MANIFEST.MF in eclipse" Watch "MANIFEST.MF in eclipse" New topic
Author

MANIFEST.MF in eclipse

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 290

Hi all

i am exporting the jar from eclipse, which creates the MANIFEST.MF file but i need add some more information in that like
Date of creation,
User name
etc.,
But if i take the MANIFEST.MF file from the specifed file i have to edit every time.

So is their any script or plugin where it can take these information automatically


-Chiru
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

but if i take the MANIFEST.MF file from the specifed file i have to edit every time.

What do you mean by that ? You can make your own manifest file in your workspace and select it in the JAR export wizard.


[My Blog]
All roads lead to JavaRanch
Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 290

Yes.. we have option to select the existing MANITEST.MF file..

But i have to edit that file every time before creating the jar. to make jar as i required.

i dont want to do that manually.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

You can use Ant to generate your manifest file, using the "jar" task. It allows to set values in the manifest file dynamically.
 
jQuery in Action, 3rd edition
 
subject: MANIFEST.MF in eclipse
 
It's not a secret anymore!