meta-inf Questions

5

I'm using Maven to build a Java project, and I've got a couple files, CHANGELOG and LICENSE, that I'd like to copy to the META-INF directory inside the JAR file. So far what I've got working is th...
Nitrous asked 8/8, 2016 at 15:39

4

Gradle : 4.10.1 Gradle Android Plugin version : 3.3.2 Proguard : 6.0.3 JDK - 1.9 Android Studio 3.3.2 When I try to build apk release version along with Proguard. I get the following error - Cau...
Gainsay asked 10/4, 2019 at 9:20

10

I have added some things to my mobile application, such as adds or animation-lists. The thing is that I could generate APKs perfectly some days ago and, since the moment y added those things, Andro...
Conjunction asked 9/6, 2020 at 10:48

4

I have extracted a jar file and made some change on it. Now, how can i compress again it as an executable jar file? Thanks.(Sorry for my bad english.)
Sidedress asked 18/6, 2014 at 7:22

13

Solved

In Java, you often see a META-INF folder containing some meta files. What is the purpose of this folder and what can I put there?
Multiplicate asked 16/9, 2008 at 7:55

3

What is the purpose of META-INF/services in Java ?
Provincial asked 28/12, 2010 at 9:9

2

I am working on a batch aplication implemented using Spring. In this application I found the following structure: BATCH PROJECT | | |------> src/main/java (containing the packages) | |---...
Arcane asked 5/7, 2016 at 10:0

6

Solved

I exported my project from Eclipse and imported to Android Studio using the instructions in this link: http://developer.android.com/sdk/installing/migrate.html When I build, I have an error: Dupl...
Trantham asked 16/1, 2015 at 4:39

2

Solved

I know there's many questions regarding this exception, however, I believe I've tried everything for many days, without any luck yet. As this is a production server, I can only work on this after m...
Drifter asked 23/5, 2018 at 7:52

0

I want to check the certificate used in the android APK file,so I used the follow command to print the info of certificate: unzip -p name-app.apk META-INF/CERT.RSA | keytool -printcert But,it s...
Chalcopyrite asked 26/4, 2018 at 8:19

1

I've custom annotation processor generating factory classes and META-INF/services/factory.interface.class resource. Annotation processor is used in library project and all generated files are pack...
Iolaiolande asked 16/12, 2015 at 7:28

3

Solved

I'm using SBT (within IntelliJ IDEA) to build a simple Scala project. I would like to know what is the simplest way to build an Uber JAR file (aka Fat JAR, Super JAR). I'm currently using SBT but...
Athanor asked 11/2, 2015 at 16:25

2

Solved

I'm following the Appsrox tutorial on how to Create an Instant Messaging app using Google Cloud Messaging (GCM). The differences are that I use Android Studio instead of Eclipse, and Gradle for bui...
Clarey asked 3/4, 2015 at 12:13

1

Solved

Should a "context.xml" file for deploying application-specific configuration to Tomcat be placed in: src/main/resources/META-INF/context.xml ...or... src/main/webapp/META-INF/context.xml ? Ju...
Acme asked 27/10, 2014 at 10:27

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

2

Solved

I got the error Unable to locate NamespaceHandler when using context:annotation-config running (java -jar) a jar assembled by the maven-assembly-plugin and containing my project and all its depende...
Imprecation asked 7/4, 2011 at 19:30

1

Solved

I develop the Jaybird JDBC driver, and today I came across an issue (JDBC-325, How to configure Jaybird with hibernate) that is related to how Jaybird loads some of its components and how - in this...
Undergo asked 20/9, 2013 at 16:17

5

I am very new to java and android development and to learn I am trying to start with an application to gather statistics and information like munin does. I am trying to be able to load "plugins" in...
Lightness asked 22/4, 2011 at 22:17

1

I'm working on a project which uses JAAS and unfortunately for me Tomcat requires a file to be put in a META-INF folder in the root of the war app.war |__META-INF | |___context.xml ... I thin...
Tenpin asked 1/8, 2013 at 15:5

1

Solved

current spring-mvc webapp (also saw it in another primefaces webapp) webapplication directory structure: webapp | |_src | |_WebContent | |__WEB-INF | |__META-INF | |__MANIFEST.MF Always sa...
Parlour asked 24/6, 2013 at 9:3

1

Solved

I have a custom charset which is already working on JavaSE. The class of my CharsetProvider is specified in a file java.nio.charset.spi.CharsetProvider which is located in META-INF/services and ev...
Darksome asked 3/6, 2013 at 13:52

1

Solved

I just "discovered" that we have two Meta-Inf folders ... In eclipse and also in the War file. The First one is (in the war): /META-INF/ The Second, and weird one ist: /WEB-INF/classes/META-INF...
Tay asked 5/11, 2012 at 19:4

1

Solved

G'day! I have two dependencies in my project that are overwriting each others config-files within META-INF/services/xxx. Is there some procedure to merge/concat these two configs files instead of...
Giselegisella asked 28/9, 2012 at 9:47

2

Solved

I am trying to create an extensible app in Java and chose to use SPI. According to this tutorial I am following, I am supposed to create a specific file in META-INF/services in my jar, but don't kn...
Gauffer asked 16/6, 2011 at 18:25
1

© 2022 - 2024 — McMap. All rights reserved.