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

ant build got failure due to "Unable to delete file xxx.jarSAVE"

when i am doing ant build, every time build got failed due to Unable to delete file xxxx.jarSAVE. But this file is not there in that folder. i am attaching build trace here. Can any one help me for the same. BUILD…
0
votes
2 answers

Howto: Locate a Resource file within a JAR file without knowing the name and location upfront

General problem: finding/locating a resource file (document.xml) within a JAR file that has no fixed position where it can be found and even the name of the file is unknown upfront. Situation: two JavaSE projects, both create own JAR file. Jar-A…
user504342
  • 945
  • 2
  • 16
  • 36
-1
votes
1 answer

Content of MANIFEST.MF file is not in correct order

java 1.8 Gradle 7 In my build.gradle plugins { id 'application' id "com.nocwriter.runsql" version "1.0.3" id 'idea' } ext { distributeVersionNumber = "1.2.5" distributeOsFamily = "win" distributeVersionType = "Lite" …
Alexei
  • 14,350
  • 37
  • 121
  • 240
-1
votes
2 answers

Eclipse | Dynamic Web Project | JAR File

By adding JAR files in \WebContent\WEB-INF\lib folder, everything is working fine. But I don't want to do that. I don't want to add my JAR files in my project folder rather I want to keep the JAR files in separate folder (Out of Project folder) and…
Manoj
  • 11
  • 2
-1
votes
1 answer

Main-Class in a Manifest file in a WAR

I am trying to create a restful webservice. Followed this tutorial - https://www.jetbrains.com/help/idea/creating-and-running-your-first-restful-web-service-on-glassfish-application-server.html This project has 2 files - a resource class…
Quest Monger
  • 8,252
  • 11
  • 37
  • 43
-4
votes
1 answer

How to get Manifest.mf file content from a jar file

I have a jar file named "mail.jar" .I have extracted the jar file through java code. Now I have manifest file present under "D:/Test/META-INF/MANIFEST.MF" location.This is the image of Manifest.mf file content. Any way I am able to read to Manifest…
Abinash
  • 37
  • 10
-4
votes
2 answers

How do I generate .class file if I have external Jar dependencies? Javac does not work

Background: Running on an ec2 instance not eclipse. I have a java program that has external Jar dependencies. I want to create an executable jar file for this java program (being able to package the external jar files into this jar file would be…
1 2 3
22
23