File: 0003-rngconverter-pom-add-mainclass.patch

package info (click to toggle)
msv 2009.1%2Bdfsg1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 6,064 kB
  • sloc: java: 45,272; xml: 2,480; lisp: 68; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 1,039 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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@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>