I have a folder that contains all the classes and META-INF. Here is the subfolders
com (includes its subfolders that contain .class files)
META-INF/MANIFEST.MF
I used
ant
<jar jarfile="myapp.jar"
basedir="."/>
to create a "myapp.jar" file. The jar was successfully generated. However, when I do
"jar -xvf myapp.jar" to unpack it, I saw the META-INF/ folder and its MANIFEST.MF fiel. The MANIFEST.MF is different from the original MANIFEST.MF I used for packing.
Do you know why and how I can ensure the MANIFESTY.MF is not changed ?