Questions tagged [manifest.mf]

In software packaging, it is common to list the contents of a distribution in a manifest file

This file simply enumerates the files which are included in the distribution, either for processing by various packaging tools, or for human consumption.

The term is a loan from shipping, where a ship's manifest would list the crew or cargo of a vessel.

The manifest may optionally contain a cryptographic hash or checksum of each file. By creating a cryptographic signature for such a manifest file, the entire contents of the distribution package can be validated, as altering any of the files will invalidate the checksums in the manifest file.

The manifest files usually have .MF extension.

337 questions
0
votes
1 answer

Why does MANIFEST.MF file contain information about the other files that are packaged in the archive?

I was still confused about why would MANIFEST.MF file contain info about other files that are packaged in the archive. I read this tutorial on manifest and they have not explained why it contain info about other files. Ta
Simple-Solution
  • 4,209
  • 12
  • 47
  • 66
0
votes
1 answer

Where to place config files in JARs?

My JAR currently has the following structure: myapp.jar META-INF MANIFEST.MF net myapp MyAppDriver.class (fully qualified as net.myapp.MyAppDriver) My app requires the need to…
0
votes
1 answer

how to include original mainifest.mf inside the WAR structure through ANT

I want to create a WAR's and JAR's through ANT process. Through Build.xml I am able to create JAR's and WAR's easily but problem lies with the manifest file. After searching a lot I found some lines of code which is needed to be added in build.xml…
sargam
  • 31
  • 6
0
votes
1 answer

How can I add entries into the MANIFEST.MF file during build-time with IntelliJ IDEA 12?

I want to add Weblogic-Application-Version: 2013-BLAH-BLAH to the manifest for deployment directly to weblogic. Any ideas?
cmdematos
  • 883
  • 4
  • 12
  • 24
0
votes
1 answer

Load different splash screens based on OS language using manifest.mf file

I have a Java desktop application running from a JAR file, using a MANIFEST.MF file as follows: Manifest-Version: 1.0 Main-Class: myMainClass SplashScreen-Image: splashImage_en.jpg Is there a way to specify more than one splashscreens and load the…
RedRoses
  • 327
  • 3
  • 15
0
votes
1 answer

Running Jar from command line: ClassNotFoundException

I'm using ANT for creating a JAR file of my application. As I read, I should put the external Jars I need as arguments from the command line, but I want to build a Manifest file. This is my build.xml file (only the part in which I build the…
Alessio
  • 2,018
  • 25
  • 26
0
votes
1 answer

Tomcat 6 Error When Deploying War

I have a maven generated war file. When I try and deploy the war file, I am getting the following error in catalina.out: SEVERE: Exception fixing docBase: {0} java.io.FileNotFoundException: /usr/share/tomcat6/webapps/ROOT/META-INF/MANIFEST.MF (No…
thatidiotguy
  • 8,701
  • 13
  • 60
  • 105
0
votes
3 answers

How to display SVN revision stored in war manifest.mf file on Tapestry5 page?

I'm using buildnumber-maven-plugin and maven-war-plugin to generate and put SVN revision into manifest.mf file in my WAR file as an entry. ${buildNumber} So far, so good. I would like to display it on…
MartinC
  • 546
  • 11
  • 26
0
votes
3 answers

How to "merge" two and mor JARs into one?

Ok, I have App.jar as a runnable jar of my applicaiton. It is dependent on many more jars, defining the functionality of the applicaiton (such as worldwind.jar providing 3D globe). One way how to make it runnable is to provide all the jars in one…
MichalB
  • 3,281
  • 6
  • 32
  • 46
0
votes
2 answers

How can I use class from another jar in JAVA?

I have a little app that uses import simple.http.Request; import simple.http.Response; import simple.http.load.BasicService; import simple.http.serve.Context; ... When running the jar file (java -jar test2.jar) I receive this error Exception in…
vlg789
  • 751
  • 6
  • 20
0
votes
1 answer

Java META-INF not working

My jar file is not working at all. It isn't the class files that are messed up, but the meta-inf file. My main class is called Main.class. This is what my META-INF/MANIFEST.MF file looks like: Manifest-Version: 1.0 Main-Class: Main Class-Path:…
Boogley Beegly
  • 95
  • 1
  • 3
  • 11
0
votes
1 answer

If I'm using applet how can I create a .jar file using Eclipse?

I am currently working on creating an artificial world and I have followed the following website http://www.ethics.ubc.ca/eame/eameweb/Simulators/JavaProject/TofC.html He used an applet to create it and have 9 classes in total. I have done edited…
user2008324
  • 1
  • 1
  • 3
0
votes
1 answer

OSGi plugin - MANIFEST.MF being overriden changed at runtime

Do you guys know if there is some way to change the MANISFEST.MF settings programmaticaly at time to load a plugin? It would be perfect for me if I could do that on Activator start method. For example: I have a plugin1 that have a dependency on its…
0
votes
1 answer

mangen adds 'Bundle-ManifestVersion: 1' to manifest, but felix doesn't seem to accept value 1

I've used 'Mangen' to process my jar, which works but it adds the next line to the manifest Bundle-ManifestVersion: 1 after which Felix 1.8.0 complains with -> install file:D:/bundles/osgi_ds_1.jar.new.jar org.osgi.framework.BundleException:…
Houtman
  • 2,819
  • 2
  • 24
  • 34
0
votes
1 answer

MANIFEST.MF is override after running build.xml using ant

have following directory structure src/com src/META-INF/MANIFEST.MF src/META-INF/spring src/META-INF/spring/context.xml now when i run the script, my menifest file is override, i don't want that, because i have to add custom enteries in it and i…
vicky
  • 890
  • 4
  • 23
  • 54
1 2 3
22
23