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
0 answers

how do I specify a unique name for a Java libs folder?

How do I package a Jar so that the libs folder has a unique name? The root problem is that, for multiple Java programs on the Desktop, do they share a common libs folder? What if there are version clashes? One jar doesn't interest me as a…
Thufir
  • 8,216
  • 28
  • 125
  • 273
0
votes
1 answer

How to add a MANIFEST file usig cmake and module UseJava?

Goal is simple. adding a MANNIFEST file into final jar archive. For this I read many documentation but i miss the right information. Finally I come to you to get some help, thanks in advance. What I do ? cmake_minimum_required(VERSION…
bioinfornatics
  • 1,749
  • 3
  • 17
  • 36
0
votes
1 answer

Purpose of MANIFEST.MF in struts 1.3

We are using struts 1.3 in our application. As per my knowledge, the main purpose of MANIFEST.MF is to indicate the class name that holds the main method. I can see MANIFEST.MF file under META-INF directory, but it doesn't show this information.…
Kartic
  • 2,935
  • 5
  • 22
  • 43
0
votes
2 answers

Including Custom entries in Manifest.mf

I am looking at using OSGI and I use the Netbeans platform to create the Java code. I need to make some additions to the Manifest.mf file which I understand is automatically created by Netbeans when the particular project is built. Also I am using…
D-Dᴙum
  • 7,689
  • 8
  • 58
  • 97
0
votes
1 answer

Sharing variables with child maven projects

I have a parent pom.xml which builds a series of modules. As part of the parent pom.xml I read a configuration and put a number of variables into the build environment: BUILD_DATE=2014/07/24 15\:37\:06 BUILD_NUMBER=78 VERSION=GGY1.6 I wish to…
eeijlar
  • 1,232
  • 3
  • 20
  • 53
0
votes
0 answers

Java Web Start- permissions attribute warning

I am trying to run a Java Web Start application developed by me but when I run the jnlp, I get a security warning about the "Permissions" attribute being missing in the Manifest and the application does not run. I'm unable to understand why this…
Ajit Singh
  • 115
  • 11
0
votes
0 answers

how to add a folder containing config files to .jar META-INF -MANIFEST.MF

I want to add a folder which have the configuration files(services.XML, applicationContextClient.XML,transports.XML) for a service call, to MANIFEST.MF so that the program can read those files and read from the corresponding .properties…
Lucky
  • 783
  • 2
  • 10
  • 28
0
votes
0 answers

Is there anyway to set the Specification-Vendor or Implementation Vendor other than in a Manifest.MF file

I would like to set the values for Specification-Vendor and Implementation Vendor such that they are set when my code is run without having been packaged into a jar file. In the jar file I can add them to the manifest.mf file but when debugging in…
James Robinson
  • 1,222
  • 1
  • 15
  • 43
0
votes
0 answers

How to specify Specification-Title without creating jar

When running the test phase my tests fail to the JAI requirement for the code to be run from inside a jar file that contains Specification-Title in the manifest. Unfortunately mvn test and intellij debug do not build a a jar file (obviously) and so…
James Robinson
  • 1,222
  • 1
  • 15
  • 43
0
votes
1 answer

Reading Manifest File Inside of Jar with Servlet

I think I'm making a simple mistake, but perhaps you guys can help me out. I have a Jetty webserver. I have deployed a servlet under: {Jetty-Folder}/webapps/BotServlet/WEB-INF --------/lib/Server_BotServlet.jar …
user1145707
  • 99
  • 2
  • 5
0
votes
0 answers

Can I have the Man-Class of a jar which exists in a different jar in classpath

I have a scenario where I need to make a dummy executable jar with Main-Class from a different jar which is in classpath ( i.e., main class is not in the dummy jar). Is that possible to achieve this? This is because the jar which is having the main…
0
votes
2 answers

Exporting jdbc in project jar file

I have a JAVA program which connects to MySQL and performers some update tasks. I now want to export the application as a jar file with included JDBC package. I'm doing something like (pwd for all the following commands is:…
hjpotter92
  • 78,589
  • 36
  • 144
  • 183
0
votes
1 answer

How to change a file inside apk and change cert.sf and manifest.sf without java but with php

I am new here. I haven't found any solution to my problem. WHY i need that? I am building a Joomla based system for fast custom Android app creation working on php hostings having no java installed available for people to develop and install apps…
user3280060
0
votes
1 answer

jar throws errors if launched via -jar command, but -cp works fine

I have a strange issue with jar file I'm building, and I was wondering if anyone could point me to any manual or KB article, that would explain it... Anyhow, my application is referencing external iText-2.0.8.jar that resides in the same directory…
0
votes
1 answer

Signing Jars using signtool

I am trying to sign 3rd party jars using signtool on solaris. The jars already have a manifest.mf file, but signtool creates a new MANIFEST.MF file in the META-INF/ directory and uses that to sign the jar. If I try to validate the signed jar, it…