manifest.mf Questions

2

Solved

Is there manifest first http://wiki.osgi.org/wiki/Tooling_Approaches gradle plugin for OSGi? Or how to do it with gradle? There's big old project for OSGi container with many project having compli...
Tussis asked 25/2, 2016 at 14:20

6

Solved

I'm having some problems putting my log4j.properties file on classpath. I can use it when I'm developing (Eclipse Indigo) but, when I export my app as a JAR, I can't. I've made by hand a MANIFEST....
Sinistrodextral asked 17/1, 2012 at 15:47

1

Solved

I have a multimodule maven project with the following structure: app (parent) -- pom.xml -- app-ear -- pom.xml -- app-ejb -- src -- pom.xml -- app-web -- src -- pom.xml app/pom.xml Th...
Hermelindahermeneutic asked 9/7, 2012 at 19:21

1

Solved

My understanding of the Manifest specification is a little vague around the exact definition of a line. Specifically the part that reads No line may be longer than 72 bytes (not characters), in ...
Faxen asked 15/10, 2015 at 8:25

1

Solved

Is there a way at test time, to inject a property into the Java Manifest (or inject an entire manifest)? We're reading a value from the manifest (version number) which at test time resolves to nul...
Balcke asked 25/6, 2014 at 14:7

2

Solved

I'm trying to get my application classpath. I have a jar (named application.jar) and it have in its Manifest.mf other jar files, like Class-Path: a.jar b.jar. Why when I use System.getProperty("j...
Homogeny asked 17/12, 2012 at 16:55

1

Solved

In the MANIFEST.MF file found in JARs, the first line is Manifest-Version: 1.0. According to the Java Tutorials, this first line says that "the default manifest conforms to version 1.0 of the manif...
Duress asked 15/12, 2014 at 5:35

2

Solved

given the following EAR: my-app.ear my-ejb.jar my-webapp.war lib my-lib.jar my-ejb need the oracle library to work with oracle spatial in order to construct geometry and to store data. The ...
Raguelragweed asked 14/8, 2014 at 8:11

2

Solved

I noticed that JAR, WAR and EAR files have a MANIFEST.MF file under the META-INF folder. What is the use of the MANIFEST.MF file? What all things can be specified in this file?
Endosperm asked 7/10, 2012 at 10:13

1

Solved

Adding custom key-value-pairs to the MANIFEST.MF using Build.scala seems not to work. Here is my code: import sbt._ import Keys._ import java.util.Date object Build extends Build { packageOptio...
Piccoloist asked 8/5, 2014 at 15:46

3

Solved

I want to add versioning information (and possibly some other metadata about the jar) to a jar of a library I created. However, I am not sure what attribute to use. I found that the specification a...
Whiteheaded asked 8/1, 2014 at 11:46

2

Solved

In Eclipse plugin development: How to get current bundle version? It is just in Manifest.MF Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Nodeclipse Bundle-SymbolicName: org.nodecl...
Croatia asked 9/10, 2013 at 2:26

2

Solved

Structure of files in my jar is: com/my/Main.class META-INF/MANIFEST.MF RXTXcomm.jar Manifest.mf consist: Manifest-Version: 1.0 Main-Class: com.my.Main Class-Path: RXTXcomm.jar (empty line pr...
Epiglottis asked 17/5, 2013 at 13:29

2

Solved

How to get package version at running Tomcat? I try getClass().getPackage().getImplementationVersion() but this always returns null. I guess it is because my war wasn't yet packaged and Tomcat exe...
Areopagus asked 18/2, 2013 at 10:38

9

I've spent far too much time trying to figure this out. This should be the simplest thing and everyone who distributes Java applications in jars must have to deal with it. I just want to know the ...
Cornuted asked 17/9, 2008 at 15:28

1

Solved

Intro I have created a script that loops trough all installed applications on our application server, for each application finding the WEB-INF/lib-folder. Then, for all third party jar-files in th...
Nogood asked 4/11, 2012 at 20:46

4

Solved

A library that my java application uses needs looks for a file (log4j.xml) in the class path. I use netbeans to manage my project, but I can't find a way to include the lib/ folder. Netbeans autom...
Laevorotatory asked 9/11, 2009 at 17:29

1

Solved

I am aware of usage of MANIFEST file in a mobile application, but am not aware of usage of same in a Java Application. My guess say like, its being used to keep BUILD information only. Am I corre...
Facelifting asked 21/6, 2012 at 13:48

1

Solved

This is a really silly question that I can't fine a difinitive answer to. Background. I'm using Eclipse (with one of the ANT plugins, on an XP terminal). I have just started playing with ANT, in...
Harrell asked 2/4, 2012 at 10:38

2

Solved

I am trying to get the compilation time of the runnable JAR file I am exporting from Eclipse. One way to do this would probably be to get the modification time of the META-INF/MANIFEST.MF file. Unf...
Adjuvant asked 29/3, 2012 at 14:39

1

I see questions like How to get revision number from subversion using maven? but are there any standards (defacto or otherwise) for which actual fields to use in the manifest, for the version # and...
Relucent asked 18/1, 2012 at 1:54

1

Solved

In the Eclipse manifest editor, there exist check boxes for enabling/disabling plug-in activation and singleton behavior, as shown below: [ ] Activate this plug-in when one of its classes is loade...
Argentina asked 3/11, 2011 at 15:35

3

Are there any conventions for the MANIFEST.MF file in a Java JAR beyond the JAR specification? Interesting information I might want to include are: Build date and other build information, SVN Revis...
Demi asked 6/10, 2011 at 5:34

2

Solved

I tried adding manifest.file=${src.dir}/manifest.mf to project.properties, but looking through the build-impl.xml I see that the manifest.available is usually accompanied by main.class condition, s...
Primrosa asked 21/10, 2009 at 1:8

1

Solved

How do I make the manifest available during a Maven/Surefire unittest run "mvn test" ? I have an open-source project that I am converting from Ant to Maven, including its unit tests. Here's the pr...
Isocyanide asked 26/5, 2010 at 19:43

© 2022 - 2024 — McMap. All rights reserved.