I get the following error by the automatic enhancer. Clearly it does not get passed my
classes (my project classes are not in the sourcepath) but I cannot figure why. Anybody
can help me?
Debugging Options:
--properties <file> use property file for meta data
--dumpclass print out disassembled code of classes
--noaugment do not enhance for persistence-capability
--noannotate do not enhance for persistence-awareness
Arguments:
<jdofile> the name of a .jdo file
<classfile> the name of a .class file
Returns a non-zero value in case of errors.
aborted with errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
actually my situation is that I'm using several 'source folder's, one of them containing
classes to be enhanced. *.java, *.class, *.jdo are
all in the same folders.
So, I have
[eclipse project]
|
|___ src (source folder, classes to be enhanced)
|
|___ Abbonamento.java
|___ Abbonamento.class
|___ Abbonamento.jdo
I generate *.jdo with xdoclet. I'm using jpox. Metadata file are anyway correctly opened and close by the metadata editor.
Maybe I'm missing a package.jdo or model.jdo?
Thanks for any help in advance,
Carlo.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I simply set the project default build output folder to be the one where I have the classes to be enhanced. It seems that the plugin does not support having multiple source folders each having its specific build output folder.
Thank yves, again.
Carlo.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm using
com.versant.eclipse.jdo_0.9.9_e3 on
eclipse3.0.0.
I get the following error by the automatic enhancer. Clearly it does not get passed my
classes (my project classes are not in the sourcepath) but I cannot figure why. Anybody
can help me?
Thank you in advance,
Carlo.
------------------------------------------------
Enhancer: options:
verbose = true
quiet = false
forceWrite = false
noWrite = false
sourcePath = .;D:\Program Files\Sun\j2sdk\1.4.2\jre\lib\rt.jar;D:\Program Files\Sun\j2sdk\1.4.2\jre\lib\sunrsasign.jar;D:\Program Files\Sun\j2sdk\1.4.2\jre\lib\jsse.jar;D:\Program Files\Sun\j2sdk\1.4.2\jre\lib\jce.jar;D:\Program Files\Sun\j2sdk\1.4.2\jre\lib\charsets.jar;D:\Program Files\Sun\j2sdk\1.4.2\jre\lib\ext\dnsns.jar;D:\Program Files\Sun\j2sdk\1.4.2\jre\lib\ext\ldapsec.jar;D:\Program Files\Sun\j2sdk\1.4.2\jre\lib\ext\localedata.jar;D:\Program Files\Sun\j2sdk\1.4.2\jre\lib\ext\sunjce_provider.jar;D:\Program Files\SourceForge\jpox\jpox-1.0.0-beta-4\lib\jpox-1.0.0-beta-4.jar;D:\Program Files\apache\jakarta-ant\1.5.1\lib\ant.jar;C:\Documents and Settings\marchiori\My Documents\My Projects\Java\spring\rel\_\nt\1.0\lib\spring.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-attributes-api-SNAPSHOT.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-attributes-compiler-SNAPSHOT.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-beanutils.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-collections.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-dbcp.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-digester.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-discovery.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-fileupload.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-lang.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-logging.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-pool.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\jakarta-commons\commons-validator.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\aopalliance\aopalliance.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\log4j\log4j-1.2.8.jar;D:\Program Files\mysql\mysql-connector-java\mysql-connector-java-3.0.12-production\mysql-connector-java-3.0.12-production-bin.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\cglib\cglib-2.0.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\cglib\asm.jar;D:\Program Files\SourceForge\spring-framework\spring-framework-1.0\lib\junit\junit.jar;D:\Program Files\JCP\jsr 012 - jdo 1.0\1.0.1\lib\jdori-enhancer.jar;D:\Program Files\JCP\jsr 012 - jdo 1.0\1.0.1\lib\jdori.jar;D:\Program Files\JCP\jsr 012 - jdo 1.0\1.0.1\lib\jdo.jar;D:\Program Files\eclipse\eclipse\3.0.0\plugins\com.versant.eclipse.jdo_0.9.9\xercesImpl.jar;D:\Program Files\eclipse\eclipse\3.0.0\plugins\com.versant.eclipse.jdo_0.9.9\jdori.jar;D:\Program Files\eclipse\eclipse\3.0.0\plugins\com.versant.eclipse.jdo_0.9.9\jdo.jar
destinationDirectory = null
propertiesFileName = null
doTiming = false
classNames = {
}
jdoFileNames = {
}
classFileNames = {
}
zipFileNames = {
}
dumpClass = false
noAugment = false
noAnnotate = false
No classes specified
Usage: main <options> <arguments>...
Options:
-h, --help print usage message and exit gently
-v, --verbose print verbose messages
-q, --quiet supress warnings
-s, --sourcepath <path> source path for jdo and classfiles
-d, --destdir <dir> destination directory for output files
-f, --force overwrite output files
-n, --nowrite never write output files
-t, --timing do timing messures
Debugging Options:
--properties <file> use property file for meta data
--dumpclass print out disassembled code of classes
--noaugment do not enhance for persistence-capability
--noannotate do not enhance for persistence-awareness
Arguments:
<jdofile> the name of a .jdo file
<classfile> the name of a .class file
Returns a non-zero value in case of errors.
aborted with errors.
That means you have a metadata file location problem. check out if it is on the correct location.
yves yang
Thank yves,
actually my situation is that I'm using several 'source folder's, one of them containing
classes to be enhanced. *.java, *.class, *.jdo are
all in the same folders.
So, I have
[eclipse project]
|
|___ src (source folder, classes to be enhanced)
|
|___ Abbonamento.java
|___ Abbonamento.class
|___ Abbonamento.jdo
I generate *.jdo with xdoclet. I'm using jpox. Metadata file are anyway correctly opened and close by the metadata editor.
Maybe I'm missing a package.jdo or model.jdo?
Thanks for any help in advance,
Carlo.
I think I have solved the problem.
I simply set the project default build output folder to be the one where I have the classes to be enhanced. It seems that the plugin does not support having multiple source folders each having its specific build output folder.
Thank yves, again.
Carlo.
yes, it is possible. The bug ID is 987425
yves