Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: re :Error creating a jar file and attaching manifest file info with the same


Message #1 by "balakoteswara reddy" <breddy1@v...> on Sun, 01 Jul 2001 22:03:02 -0700
Hi Dear anjali,

for creating jar and manifest u have to use the "META-INF/MANIFEST.MF" he
adre
file. i hope this w'll help for u..
------------------------------------------------------------------------
The Jar tool automatically puts a default manifest with pathname META-
INF/MANIFEST.MF into any JAR file you create. You can enable special JAR 
file
functionality, such as package sealing, by modifying the default manifest
=2E
Typically, this involves adding special-purpose headers to the manifest t
hat
allow the JAR file to perform a particular desired function. For examples
 of
some special-purpose headers, and for more information about manifest fil
es in
general, see the Understanding the Manifest section of this lesson.

more info :
http://java.sun.com/docs/books/tutorial/jar/basics/mod.html
-------------------------------------------------------------------------
-

cheers..
balu


=3D20
I am trying to create a manifest file using jdk1.3. The moment i add my =3D

manifest to the default manifest file created by the jar utility . It =3D

gives following error .:-
java.io.IOException: invalid header file

Where mymanifest is the manifest file , which i want to be added to the =3D

jar . It wud be a great help if you can help me with this ASAP.
=3D20
Thanking in Anticipation
Anjali


M.Balakoteswara Reddy
Mobile :98451 22394
_________________________________________________________________________
__
Visit http://www.visto.com.
Find out  how companies are linking mobile users to the
enterprise with Visto.


  Return to Index