Running TCK fails when installed in a path containing spaces
------------------------------------------------------------
Key: JDO-287
URL: http://issues.apache.org/jira/browse/JDO-287
Project: JDO
Type: Bug
Components: tck20
Versions: JDO 2 beta
Reporter: Michelle Caisse
Thanks to Erik Bengtson for reporting this.
[java] java.lang.NoClassDefFoundError: Files\jdotest\jdo2-tck-2/0-beta/target/database/derby
[java] Exception in thread "main"
[java] [ERROR] Java Result: 1
[echo] Finished run with database="derby" identitytype="applicationidentity" mapping="".
With maven -X output, we see:
[java] [DEBUG] Execute:Java13CommandLauncher: Executing 'C:\j2sdk1.4.2\jre\bin\java.exe'
with arguments:^M
'-Dderby.system.home=c:\Program'^M
'Files\jdotest\jdo2-tck-2.0-beta/target/database/derby'^M
'-Xmx512m'^M
'-DResultPrinterClass=org.apache.jdo.tck.util.BatchResultPrinter'^M
'-Dverbose='^M
'-DPMFProperties=c:\Program Files\jdotest\jdo2-tck-2.0-beta/target/classes/jdori-pmf.properties'^M
'-DPMF2Properties=c:\Program Files\jdotest\jdo2-tck-2.0-beta/target/classes/jdori-pmf.properties'^M
'-Djdo.tck.testdata='^M
'-Djdo.tck.standarddata='^M
'-Djdo.tck.description=All instancecallback tests with standard mapping, no testdata.'^M
'-Djdo.tck.identitytype=applicationidentity'^M
'-Djdo.tck.database=derby'^M
'-Djdo.tck.cfg=instancecallbacks.conf'^M
'-Djdo.tck.exclude=[org.apache.jdo.tck.enhancement.FieldAccessModified, org.apache.jdo.tck.enhancement.ImplementsPe
rsistenceCapable]'^M
'-Djdo.tck.log.directory=c:\Program Files\jdotest\jdo2-tck-2.0-beta/target/logs/20060202-165821'^M
'-Djdo.tck.cleanupaftertest=true'^M
'-Djdo.tck.requiredOptions='^M
'-classpath'^M
'C:\Program Files\jdotest\jdo2-tck-2.0-beta\target\enhanced\jdori\applicationidentity.jar;C:\Program
Files\jdotest\
jdo2-tck-2.0-beta\target\classes;C:\Documents and Settings\michelle\.maven\repository\javax.jdo\jars\jdo2-api-2.0-b
eta.jar;C:\Documents and Settings\michelle\.maven\repository\commons-logging\jars\commons-logging-1.0.4.jar;C:\Docu
ments and Settings\michelle\.maven\repository\geronimo-spec\jars\geronimo-spec-jta-1.0.1B-rc2.jar;C:\Documents
and
Settings\michelle\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Documents and Settings\michelle\.maven\repository
\springframework\jars\spring-core-1.2.5.jar;C:\Documents and Settings\michelle\.maven\repository\springframework\ja
rs\spring-beans-1.2.5.jar;C:\Documents and Settings\michelle\.maven\repository\c3p0\jars\c3p0-0.9.0.jar;C:\Document
s and Settings\michelle\.maven\repository\commons-dbcp\jars\commons-dbcp-1.2.1.jar;C:\Documents
and Settings\michel
le\.maven\repository\commons-pool\jars\commons-pool-1.2.jar;C:\Documents and Settings\michelle\.maven\repository\co
mmons-collections\jars\commons-collections-3.1.jar;C:\Program Files\jdotest\lib\ext\fscontext.jar;C:\Program
Files\
jdotest\lib\ext\providerutil.jar;C:\Documents and Settings\michelle\.maven\repository\org.apache.derby\jars\derby-1
0.1.1.0.jar;C:\Documents and Settings\michelle\.maven\repository\jpox\jars\jpox-1.1.0-beta-6.jar;C:\Documents
and S
ettings\michelle\.maven\repository\jpox\jars\jpox-enhancer-1.1.0-beta-6.jar;C:\Program Files\jdotest\jdo2-tck-2.0-b
eta;C:\Documents and Settings\michelle\.maven\repository\bcel\jars\bcel-5.1.jar;C:\Documents
and Settings\michelle\
.maven\repository\log4j\jars\log4j-1.2.8.jar;C:\Documents and Settings\michelle\.maven\repository\jpox\jars\jpox-db
cp-1.1.0-beta-6.jar;C:\Documents and Settings\michelle\.maven\repository\jpox\jars\jpox-c3p0-1.1.0-beta-6.jar'^M
'org.apache.jdo.tck.util.BatchTestRunner'^M
'org.apache.jdo.tck.api.instancecallbacks.AccessOtherInstancesInPrestore'^M
'org.apache.jdo.tck.api.instancecallbacks.AccessingFieldsInPredelete'^M
'org.apache.jdo.tck.api.instancecallbacks.CallingJdoPostload'^M
'org.apache.jdo.tck.api.instancecallbacks.CallingJdoPreclear'^M
'org.apache.jdo.tck.api.instancecallbacks.CallingJdoPredelete'^M
'org.apache.jdo.tck.api.instancecallbacks.CallingJdoPrestore'^M
'org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerAttach'^M
'org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerClear'^M
'org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerCreate'^M
'org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerDelete'^M
'org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerDetach'^M
'org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerDirty'^M
'org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerLoad'^M
'org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerStore'^M
'org.apache.jdo.tck.api.instancecallbacks.ModificationOfNontransactionalNonpersistentFields'^M
'org.apache.jdo.tck.api.instancecallbacks.NoAccessToFieldsAfterPredelete'^M
^M
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|