C'est bon je suis arrivé à le mettre dans le classpath mais j'obient une erreur lorsque je lance cette commande pour faire "l'enhancement" (j'ai pas encore iintégré le second .jdo):
java -cp build;lib\jpox-enhancer-1.1.0-beta-3.jar;lib\jdo.jar;lib\jpox.jar;lib\log4j.jar;lib\bcel-5.1.jar; -Dlog4j.configuration=file:log4j.properties org.jpox.enhancer.JPOXEnhancer build\Capitalisation\dossier\jpox\package.jdo
Mon classpath (chui pas un expert):
1 2
|
set CLASSPATH=%CLASSPATH%;build;lib\jpox-enhancer-1.1.0-beta-3.jar;lib\jdo.jar;lib\jpox.jar;lib\log4j.jar;lib\bcel-5.1.jar;config\log4j.properties;build\Capitalisation\dossier\jpox\package.jdo |
L'erreur:
1 2 3 4 5 6 7 8 9 10 11
| >java -cp build;lib\jpox-enhancer-1.1.0-beta-3.jar;l
ib\jdo.jar;lib\jpox.jar;lib\log4j.jar;lib\bcel-5.1.jar; -Dlog4j.configuration=fi
le:log4j.properties org.jpox.enhancer.JPOXEnhancer build\Capitalisation\dossier\
jpox\package.jdo
JPOX Enhancer (version 1.1.0-beta-3) : Enhancement of classes
Error reading the JDO Meta-Data file "build\Capitalisation\dossier\jpox\package.
jdo". Cause : org.jpox.metadata.FileMetaData
java.lang.ClassCastException: org.jpox.metadata.FileMetaData
at org.jpox.metadata.MetaDataParser.startElement(MetaDataParser.java:358
) |
Partager