[ 
http://jira.codehaus.org/browse/MNBMODULE-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse Glick closed MNBMODULE-108.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.4

Fixed in revision 12939.

> nbm:populate-repository incorrectly handles Class-Path extensions
> -----------------------------------------------------------------
>
>                 Key: MNBMODULE-108
>                 URL: http://jira.codehaus.org/browse/MNBMODULE-108
>             Project: Maven NetBeans Module Plugin
>          Issue Type: Bug
>    Affects Versions: 3.3
>            Reporter: Jesse Glick
>            Assignee: Jesse Glick
>            Priority: Minor
>             Fix For: 3.4
>
>
> E.g. 
> {{~/.m2/repository/org/netbeans/api/org-netbeans-modules-jemmy/nbdev/org-netbeans-modules-jemmy-nbdev.jar}}
>  contains a manifest entry {{Class-Path: ext/jemmy-2.3.0.0.jar}} which is 
> bogus. The actual JAR is in 
> {{~/.m2/repository/org/netbeans/external/jemmy-2.3.0.0/nbdev/jemmy-2.3.0.0-nbdev.jar}}.
>  Causes stack traces during functional tests such as
> {noformat}
> INFO [org.netbeans.JarClassLoader]: Cannot open 
> ~/.m2/repository/org/netbeans/api/org-netbeans-modules-jemmy/nbdev/ext/jemmy-2.3.0.0.jar
> java.util.zip.ZipException: error in opening zip file
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:114)
>         at java.util.jar.JarFile.<init>(JarFile.java:135)
>         at java.util.jar.JarFile.<init>(JarFile.java:114)
>         at 
> org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:468)
>         at 
> org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:461)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at 
> org.netbeans.JarClassLoader$JarSource.getJarFile(JarClassLoader.java:490)
> [catch] at 
> org.netbeans.JarClassLoader$JarSource.listCoveredPackages(JarClassLoader.java:559)
>         at 
> org.netbeans.JarClassLoader.getCoveredPackages(JarClassLoader.java:821)
>         at org.netbeans.JarClassLoader.<init>(JarClassLoader.java:161)
>         at 
> org.netbeans.StandardModule$OneModuleClassLoader.<init>(StandardModule.java:697)
>         at org.netbeans.StandardModule.classLoaderUp(StandardModule.java:630)
>         at org.netbeans.ModuleManager.enable(ModuleManager.java:860)
>         at 
> org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:318)
>         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:254)
>         at 
> org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:286)
>         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:172)
>         at org.netbeans.core.startup.Main.start(Main.java:308)
>         at 
> org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:114)
>         at java.lang.Thread.run(Thread.java:662)
> {noformat}

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to