db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Bengtson" <e...@jpox.org>
Subject RE: Enhancer error with spaces in path names
Date Sun, 30 Sep 2007 10:27:27 GMT
Should be fixed in CVS

-----Message d'origine-----
De : Michelle.Caisse@Sun.COM [mailto:Michelle.Caisse@Sun.COM] 
Envoyé : vendredi 28 septembre 2007 19:21
À : jdo-dev@db.apache.org
Objet : Enhancer error with spaces in path names

Hi Andy,

After downloading new jpox jars, I started getting the following error, 
which I successfully worked around by moving my maven repository to a 
location without spaces in the pathname:

enhance.prepare:

    [echo]  jpox.enhancer.jarfile is C:\Documents and 
Settings\michelle/.maven/repository\jpox\jars\jpox-enhancer-1.2-SNAPSHOT.jar
    [echo]  jpox.javafive.jarfile is C:\Documents and 
Settings\michelle/.maven/repository\jpox\jars\jpox-java5-1.2-SNAPSHOT.jar
    [echo] jdori.enhancer.classpath is
    [echo] enhance.classpath is
    [java] Exception in thread "main" Error reading manifest file
    [java] org.jpox.exceptions.JPOXException: Error reading manifest file
    [java]      at 
org.jpox.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginRegistry.java:327)
    [java]      at 
org.jpox.plugin.NonManagedPluginRegistry.registerExtensions(NonManagedPluginRegistry.java:212)
    [java]      at 
org.jpox.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManagedPluginRegistry.java:145)
    [java]      at 
org.jpox.plugin.PluginManager.registerExtensionPoints(PluginManager.java:83)
    [java]      at org.jpox.OMFContext.<init>(OMFContext.java:134)
    [java]      at 
org.jpox.enhancer.JPOXEnhancer.<init>(JPOXEnhancer.java:124)
    [java]      at 
org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:456)
    [java] Caused by: java.io.FileNotFoundException: 
C:\Documents%20and%20Settings\michelle\.maven\repository\jpox\jars\jpox-java5-1.2-SNAPSHOT.jar

(The system
cannot find the path specified)
    [java]      at java.util.zip.ZipFile.open(Native Method)
    [java]      at java.util.zip.ZipFile.<init>(ZipFile.java:114)
    [java]      at java.util.jar.JarFile.<init>(JarFile.java:133)
    [java]      at java.util.jar.JarFile.<init>(JarFile.java:97)
    [java]      at 
org.jpox.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginRegistry.java:299)
    [java]      ... 6 more
    [java] Nested Throwables StackTrace:
    [java] java.io.FileNotFoundException: 
C:\Documents%20and%20Settings\michelle\.maven\repository\jpox\jars\jpox-java5-1.2-SNAPSHOT.jar

(The system cannot find
 the path specified)
    [java]      at java.util.zip.ZipFile.open(Native Method)
    [java]      at java.util.zip.ZipFile.<init>(ZipFile.java:114)
    [java]      at java.util.jar.JarFile.<init>(JarFile.java:133)
    [java]      at java.util.jar.JarFile.<init>(JarFile.java:97)
    [java]      at 
org.jpox.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginRegistry.java:299)
    [java]      at 
org.jpox.plugin.NonManagedPluginRegistry.registerExtensions(NonManagedPluginRegistry.java:212)
    [java]      at 
org.jpox.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManagedPluginRegistry.java:145)
    [java]      at 
org.jpox.plugin.PluginManager.registerExtensionPoints(PluginManager.java:83)
    [java]      at org.jpox.OMFContext.<init>(OMFContext.java:134)
    [java]      at 
org.jpox.enhancer.JPOXEnhancer.<init>(JPOXEnhancer.java:124)
    [java]      at 
org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:456)

-- Michelle




Mime
View raw message