[msv] 01/01: apply patch for #741885 - main class manifest attribute
Tony Mancill
tmancill at moszumanska.debian.org
Tue Mar 18 04:28:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository msv.
commit 8bb0e6abb1baba1a8e932f41d010f4dd4b668b0d
Author: tony mancill <tmancill at debian.org>
Date: Mon Mar 17 21:26:44 2014 -0700
apply patch for #741885 - main class manifest attribute
---
debian/changelog | 7 ++++++
.../0003-rngconverter-pom-add-mainclass.patch | 28 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 36 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 646ef47..0b797ac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+msv (2009.1+dfsg1-5) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Add patch to set Main-Class manifest attribute (Closes: #741885)
+
+ -- tony mancill <tmancill at debian.org> Mon, 17 Mar 2014 21:23:50 -0700
+
msv (2009.1+dfsg1-4) unstable; urgency=low
[Tony Mancill]
diff --git a/debian/patches/0003-rngconverter-pom-add-mainclass.patch b/debian/patches/0003-rngconverter-pom-add-mainclass.patch
new file mode 100644
index 0000000..162c6ae
--- /dev/null
+++ b/debian/patches/0003-rngconverter-pom-add-mainclass.patch
@@ -0,0 +1,28 @@
+Description: Add 'Main-Class' to rngconverter JAR file manifest
+ The maven-jar-plugin configuration in rngconverter/pom.xml had the intention
+ of creating a runnable JAR file, but was not working due to an incorrect
+ organization of the XML elements. In particular:
+ + the '<manifest>' elt needed to be within the '<archive>' elt
+ + the '<addClasspath>' elt needed to be within the '<manifest>' elt.
+Author: Alan D. Salewski <salewski at att.net>
+Forwarded: no
+Last-Update: 2014-03-16
+---
+--- msv-2009.1+dfsg1.orig/rngconverter/pom.xml
++++ msv-2009.1+dfsg1/rngconverter/pom.xml
+@@ -56,11 +56,11 @@ EVEN IF SUN HAS BEEN ADVISED OF THE POSS
+ <configuration>
+ <archive>
+ <index>true</index>
++ <manifest>
++ <addClasspath>true</addClasspath>
++ <mainClass>com.sun.msv.writer.relaxng.Driver</mainClass>
++ </manifest>
+ </archive>
+- <manifest>
+- <mainClass>com.sun.msv.writer.relaxng.Driver</mainClass>
+- </manifest>
+- <addClasspath>true</addClasspath>
+ </configuration>
+ </plugin>
+ </plugins>
diff --git a/debian/patches/series b/debian/patches/series
index 772fc7c..54e7292 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Add-classpath-to-JAR.patch
0002-Do-not-compile-module-generator.patch
+0003-rngconverter-pom-add-mainclass.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/msv.git
More information about the pkg-java-commits
mailing list