[jboss-jira] [JBoss JIRA] Created: (JBBUILD-472) Maven JBoss Retro-produced jar has full paths

Justin Edelson (JIRA) jira-events at lists.jboss.org
Mon May 12 14:30:22 EDT 2008


Maven JBoss Retro-produced jar has full paths
---------------------------------------------

                 Key: JBBUILD-472
                 URL: http://jira.jboss.com/jira/browse/JBBUILD-472
             Project: JBoss Build System
          Issue Type: Bug
          Components: maven-jboss-retro-plugin
    Affects Versions: jboss-retro-maven-plugin-0.5.GA
         Environment: Win XP. Fine on Linux
            Reporter: Justin Edelson
            Priority: Critical


I have a project that uses the jboss-retro-maven-plugin to produce a 1.4-compatible JAR. When I run my build on a Windows PC (XP SP2), the generated JAR has the full path in each entry:

C:\home\devel\CoreLib\target>jar -tf CoreLib-jdk14.jar
META-INF/MANIFEST.MF
C:\home\devel\CoreLib\target\classes-retro\com\mtvi\ucsa\exceptions\UCSARuntimeException.class
C:\home\devel\CoreLib\target\classes-retro\com\mtvi\ucsa\uri\mgid\Context$ScopeMap.class
C:\home\devel\CoreLib\target\classes-retro\com\mtvi\ucsa\uri\mgid\Context.class
C:\home\devel\CoreLib\target\classes-retro\com\mtvi\ucsa\uri\mgid\exception\GlobalIdException.class
C:\home\devel\CoreLib\target\classes-retro\com\mtvi\ucsa\uri\mgid\exception\InternalException.class
C:\home\devel\CoreLib\target\classes-retro\com\mtvi\ucsa\uri\mgid\exception\ParseException.class
C:\home\devel\CoreLib\target\classes-retro\com\mtvi\ucsa\uri\mgid\exception\ResolverException.class
C:\home\devel\CoreLib\target\classes-retro\com\mtvi\ucsa\uri\mgid\IdElement.class
...

I suspect there is an easy fix for this, presuambly just a hardcoded "/" instead of getting the file separator.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list