Questions tagged [meta-inf]

The META-INF directory related to .jar file contain the manifest (list of contents) of a jar and is created when you write a jar file.

125 questions
0
votes
0 answers

Can Gradle read transitive dependencies from pom.xml contained in local JAR files?

Unlike external dependencies (from Maven, Ivy, etc.) local JAR files usually do not provide a list of transitive dependencies for Gradle. Unless they theoretically do in form of files pom.xml and pom.properties in directory…
0
votes
1 answer

How to modify Tomcat's default META-INF\context.xml?

(Tomcat discussed here is an in-Liferay embedded 7.0.42.) For WARs that come with no META-INF\context.xml Tomcat supplies its own. Hence whenever I re-deploy such app this file also gets (re)written. Unfortunately the default version of…
Jaroslav Záruba
  • 4,694
  • 5
  • 39
  • 58
0
votes
1 answer

Copying META-INF from all dependencies using gradle copy task

An issue with using a Gradle Copy task: def loopJar(File file) { zipTree(file).findAll { that -> that }.collect { the -> if (the.getName().endsWith(".jar") || the.getName().endsWith(".aar")) { loopJar(the) …
Thomas Nairn
  • 1,186
  • 8
  • 34
0
votes
1 answer

META-INF javascript reload AMP file

I'm making an extension to alfresco and I created a surf page, with the files described in this tutorial: http://docs.alfresco.com/5.0/tasks/dev-extensions-share-tutorials-add-page.html In this tutorial said too, that if I want a javascript/css…
PRVS
  • 1,612
  • 4
  • 38
  • 75
0
votes
2 answers

Unable to serve /WEB-INF/lib/*.jar!/META-INF/resources/ content

I have a GWT-Spring project and I have also two modules which are used as a libraries in the web project, everything works fine, but I'm trying to put some static resources on one of those modules (JAR) but I'm not seeing my resources when the…
calbertts
  • 1,513
  • 2
  • 15
  • 34
0
votes
1 answer

How to load Web project in NetBean

I have a web source code includes two folders: META-INF and WEB-INF directory is structured as: WhatJobs |META-INF |WEB-INF |application |classes |framework |lib |resources |web.xml how I can load project in NetBean. Please…
Phu Sang
  • 21
  • 1
  • 1
  • 3
0
votes
1 answer

Why does dynamic web project create meta-inf under webapp folder?

I read that Meta-inf should be placed under src/main/resources. When I create a dynamic web project in Eclipse, I seem to get Meta-Inf placed under the webapp folder, alongside Web-Inf. Where is the correct location for Meta-Inf? Does it have to be…
smackenzie
  • 2,880
  • 7
  • 46
  • 99
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
1 answer

jarsigner and files / directories in META-INF

I have problems with signing jar files. I have some files in META-INF directory and they do NOT get signed when I use jarsigner, but then, the verification fails because of unsigned entries. I'm not creating the jar, so I cannot change its structure…
Woland
  • 111
  • 1
  • 2
  • 9
0
votes
2 answers

Web Services in Unix. What should be the directory structure

I earlier got to create a simple RESTful webservice on my localhost using Eclipse IDE, Tomcat, and JAX-RS libraries. I am now trying to move the same on to a different unix server which has Tomcat installed. I am not knowing how to get started as in…
Sashi Kiran Challa
  • 905
  • 1
  • 11
  • 21
0
votes
1 answer

Delete META-INF folder

I need remove jarFile.jar > /META-INF folder. First, I extract the original jarFile.jar into temp/ folder Then I delete META-INF/ And zip it again, no errors, but the file appears corrupt. Anyone can help me? EDIT: public static void…
mlomb
  • 172
  • 4
  • 18
0
votes
1 answer

Apache Tomcat: META-INF directory ignored during creation of .war file

I'm developing a web-application with Apache Tomcat. My web-app has a META-INF directory with the context.xml file in it. The problem is that when I try to create a .war file with the command "jar -cvf mywebapp.war ." , I get this warning (I'm…
user3067088
  • 1,869
  • 4
  • 17
  • 19
0
votes
1 answer

Autowire fails after moving spring context to META-INF

After moving my spring context configuration into src/main/resources/META-INF/spring I am not able to wire my beans. Before my spring context was placed directly under the src folder and my tests as well as autowiring runs…
nano_nano
  • 12,351
  • 8
  • 55
  • 83
0
votes
1 answer

JPA: configure persistence provider

I got a simple java project created with maven (quickstart archetype) I am trying to configure JPA persistence for drools sessions (the code comes from drools documentation) I added drools-persistence-jpa, Bitronix Transaction Manager and…
Alex
  • 1,141
  • 1
  • 13
  • 24
0
votes
1 answer

Maven: Need to copy images into Javadoc, LICENSE/NOTICE files into META-INF

I've been trying to accomplish two things that I figured would be pretty trivial with Maven (I'm using 3.0.3 and the latest versions of all the plugins), but no matter what I do I can't seem to make it work. I need to: Copy all of the files…
Nick Williams
  • 2,864
  • 5
  • 29
  • 43
1 2 3
8
9