Apache JDO Project - Enhancer error with spaces in path names

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > September 2007 > Enhancer error with spaces in path names





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Enhancer error with spaces in path names
Michelle Caisse

2007-09-28, 1:11 pm

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(NonManagedPluginRegis
try.java:212)
[java] at
org.jpox.plugin.NonManagedPluginRegistry. registerExtensionPoints(NonManagedPlugin
Registry.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(NonManagedPluginRegis
try.java:212)
[java] at
org.jpox.plugin.NonManagedPluginRegistry. registerExtensionPoints(NonManagedPlugin
Registry.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


Andy Jefferson

2007-09-28, 1:11 pm

Hi Michelle,

> After downloading new jpox jars, I started getting the following error,


See
http://www.jpox.org/servlet/jira/browse/CORE-3392


=2D-=20
Andy =C2=A0(Java Persistent Objects - http://www.jpox.org)

Erik Bengtson

2007-09-30, 7:11 am

Should be fixed in CVS

-----Message d'origine-----
De : Michelle.Caisse@Sun.COM [mailto:Michelle.Caisse@Sun.COM]=20
Envoy=C3=A9 : vendredi 28 septembre 2007 19:21
=C3=80 : 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,=20
which I successfully worked around by moving my maven repository to a=20
location without spaces in the pathname:

enhance.prepare:

[echo] jpox.enhancer.jarfile is C:\Documents and=20
Settings\michelle/.maven/repository\jpox\jars\jpox-enhancer-1.2-SNAPSHOT.=
jar
[echo] jpox.javafive.jarfile is C:\Documents and=20
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=20
org.jpox.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginR=
egistry.java:327)
[java] at=20
org.jpox.plugin.NonManagedPluginRegistry.registerExtensions(NonManagedPlu=
ginRegistry.java:212)
[java] at=20
org.jpox.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManag=
edPluginRegistry.java:145)
[java] at=20
org.jpox.plugin.PluginManager.registerExtensionPoints(PluginManager.java:=
83)
[java] at org.jpox.OMFContext.<init>(OMFContext.java:134)
[java] at=20
org.jpox.enhancer.JPOXEnhancer.<init>(JPOXEnhancer.java:124)
[java] at=20
org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:456)
[java] Caused by: java.io.FileNotFoundException:=20
C:\Documents%20and%20Settings\michelle\.maven\repository\jpox\jars\jpox-j=
ava5-1.2-SNAPSHOT.jar=20
(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=20
org.jpox.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginR=
egistry.java:299)
[java] ... 6 more
[java] Nested Throwables StackTrace:
[java] java.io.FileNotFoundException:=20
C:\Documents%20and%20Settings\michelle\.maven\repository\jpox\jars\jpox-j=
ava5-1.2-SNAPSHOT.jar=20
(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=20
org.jpox.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginR=
egistry.java:299)
[java] at=20
org.jpox.plugin.NonManagedPluginRegistry.registerExtensions(NonManagedPlu=
ginRegistry.java:212)
[java] at=20
org.jpox.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManag=
edPluginRegistry.java:145)
[java] at=20
org.jpox.plugin.PluginManager.registerExtensionPoints(PluginManager.java:=
83)
[java] at org.jpox.OMFContext.<init>(OMFContext.java:134)
[java] at=20
org.jpox.enhancer.JPOXEnhancer.<init>(JPOXEnhancer.java:124)
[java] at=20
org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:456)

-- Michelle




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com