Your message dated Sun, 30 Aug 2015 22:16:25 +0000
with message-id <e1zwatl-0003so...@franck.debian.org>
and subject line Bug#741885: fixed in msv 2009.1+dfsg1-5
has caused the Debian Bug report #741885,
regarding libmsv-java: msv-rngconverter.jar not runnable due to missing 
'Main-Class' in MANIFEST.MF
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
741885: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741885
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libmsv-java
Version: 2009.1+dfsg1-4
Severity: normal
Tags: patch

Dear Maintainer,

The file:

    /usr/share/java/msv-rngconverter.jar

is intended to be a "runnable JAR" (it has a 'main' method), but as
distributed in the 'libmsv-java' 2009.1+dfsg1-3 and 2009.1+dfsg1-4 Debian
packages, the file cannot be run due to the 'Main-Class' attribute missing
from the MANIFEST.MF file within the JAR.

Here's the output that is produced when invoked with no additional arguments:

    $ java -jar /usr/share/java/msv-rngconverter.jar
    Failed to load Main-Class manifest attribute from
    /usr/share/java/msv-rngconverter.jar

Please consider applying the attached patch, which modifies the
'rngconverter/pom.xml' file to cause it to add the missing information.

When invoked with the patched version, the output is as follows:

    $ java -jar /usr/share/java/msv-rngconverter.jar
    Usage: RELAXNGConverter <schema filename/URL>

    converts a schema written in various schema language to
    the equivalent schema written in RELAX NG.

Thanks for considering the patch, and thanks for your work on Debian,
-Al



*** debian/patches/0003-rngconverter-pom-add-mainclass.patch
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 <salew...@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>


-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (990, 'stable'), (800, 'testing'), (500, 'stable-updates'), (500, 
'oldstable-updates'), (500, 'oldstable'), (80, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmsv-java depends on:
ii  ant                       1.8.2-4
ii  libisorelax-java          20041111-6
ii  librelaxng-datatype-java  1.0+ds1-1
ii  libxerces2-java           2.11.0-6

libmsv-java recommends no packages.

libmsv-java suggests no packages.
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 <salew...@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>

--- End Message ---
--- Begin Message ---
Source: msv
Source-Version: 2009.1+dfsg1-5

We believe that the bug you reported is fixed in the latest version of
msv, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 741...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmanc...@debian.org> (supplier of updated msv package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 30 Aug 2015 11:50:24 -0700
Source: msv
Binary: libmsv-java
Architecture: source all
Version: 2009.1+dfsg1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmanc...@debian.org>
Description:
 libmsv-java - Sun multi-schema XML validator
Closes: 741885 797298
Changes:
 msv (2009.1+dfsg1-5) unstable; urgency=medium
 .
   * Team upload.
   * Add patch to set Main-Class manifest attribute (Closes: #741885)
   * Apply patch to add junit4 to build-deps.  (Closes: #797298)
     Thank you to Hans Joachim Desserud.
   * Bump standards version to 3.9.6 (no changes).
Checksums-Sha1:
 a3c17d4ea2630d8c0622b38ac10553dda5f07aa9 2099 msv_2009.1+dfsg1-5.dsc
 68e6dd1fb8b9ad05eedffa1f4b95400ba35f9436 7856 msv_2009.1+dfsg1-5.debian.tar.xz
 8ce0235f816e174cad089a0dd075a43aa020c292 770568 
libmsv-java_2009.1+dfsg1-5_all.deb
Checksums-Sha256:
 df4d5a8b871caa7010a214896b0b6667f9a430ff0b56c46b39f04c9591d9b280 2099 
msv_2009.1+dfsg1-5.dsc
 d17065f4f2e3bb6b8a4541533182a80108ee2b4d333d53fea080cf7d73444a49 7856 
msv_2009.1+dfsg1-5.debian.tar.xz
 ca5ba85fe76b397406be22d06bb76a7343ecffe27122bd5647d30a76eaf279d9 770568 
libmsv-java_2009.1+dfsg1-5_all.deb
Files:
 9542fba23e0b93186a196565c5e4d845 2099 java extra msv_2009.1+dfsg1-5.dsc
 5805f6a2c74f5ed57d99cd6a79fd65ff 7856 java extra 
msv_2009.1+dfsg1-5.debian.tar.xz
 6d93ea8f563a73e9e59f5c467da8c3fe 770568 java extra 
libmsv-java_2009.1+dfsg1-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJV42i8AAoJECHSBYmXSz6WzhEQAMYdTVYQtBlQxQMbwxeMF0Sa
iMgUdd0xS/B4HU1xQdv8jrKTz1pTtqjh1Qrd3udL5iWb1AlRWBugxPMIFPciiquz
ZQYybYRv0oaC42s4qeE+7Sk5TAsyvofchzVpfgeKTr6xzQtxeNWgR6ZRcpwilKTb
SQuGLph9iuWqSTr6Hf/0NT9BXclYK5l9Xg8L17AXzBOIQxWsfRNPW1bi0vrAH30d
BGVnW3p863G+7ZuK/PGcyIXitbN7g7erxjTCLuM1IWVxSe7Y+5qIbxeiCexbBL00
dlSmagE6ArajUBSa1uHbQz0VNv5NZHzExZA8aAy0o0Pgp8gnESNV5WX9Z1qPyq97
dMe/Xpjof3NKwCN3C48ioISJpFYZEa+QGyfiyGK5bZYqaB9EAK8mt7sxdq07EUix
UJ/dJoKwcBqF79AobWcPDRMk1Gkw2Dm7tt8KJpflJklN2FvLkpivpEgsJbv/g6d6
CpAn6mo4+xZ8Wo4j0WY20h5bUh2kxI5t3N3MsNIDo5Il5I8dw7IRJsmTcKe/hRFL
iORyMX1jASnWheFqZjbjsaGvpnKNk2SdteneaPdYA2ptrfF7TNgQuQz75UsYDW38
MHXxNrWDC0EZjLBAOZngs/8aEoK9DhQZs56ZghuDi+38j6he1wH5IybxOrNMiYbY
O7+wA7NV3XCYte3CEJ6l
=3TOn
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to