aspose file tools
The moose likes Java in General and the fly likes Question about Jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Question about Jar file" Watch "Question about Jar file" New topic
Author

Question about Jar file

HaoZhe Xu
Ranch Hand

Joined: Nov 03, 2003
Posts: 222
I created a manifest

Then i created a Jar output:

but i got a jar file that has a META-INF directory and a manifest.mf file in it, but the manifest file includes nothing???


[url]Olnex.net[/url]
[SCJP 1.2, SCJD, SCWCD]
Simon Birch
Greenhorn

Joined: Dec 26, 2003
Posts: 21
I tried this, using the following properties


Initally, I omitted the "\n" at the end of the Class-Path and it didn't appear in the manifest.mf file, although the Manifest-Version line did appear. Using the code above gave me a manifest.mf file with both lines in it.

Does this give you any help? Could we see your code in full?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: Question about Jar file
 
Similar Threads
JAR FILE
how to create jar file with the help of java code
read content of text file which is in jar
Need Help on :: Programatically Creating Jar file From Existing Jar file
creating jar file programatically