Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320308

Summary: [Regression] DBWS util tests for Oracle database failed to run
Product: z_Archived Reporter: Edwin Tang <edwin.tang>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: michael.norman, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Edwin Tang CLA 2010-07-19 14:20:20 EDT
This is a regression.

With EclipseLink 2.2.0.v20100717-r7856, DBWS util tests for Oracle database failed to run, because trunk/utils/buildsystem/ant_customizations.jar was missing. Below is the Ant log when executing "ant -v run-tests" from directory trunk/utils/eclipselink.utils.dbws.test.oracle.

Error Message:
==============
Apache Ant version 1.7.1 compiled on June 27 2008
Buildfile: build.xml
Detected Java version: 1.6 in: /net/stame10.us.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/jdk1.6.0_20/jre
Detected OS: Linux
parsing buildfile /net/stame10.us.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/trunk/utils/eclipselink.utils.dbws.test.oracle/build.xml with URI = file:/net/stame10.us.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/trunk/utils/eclipselink.utils.dbws.test.oracle/build.xml
Project base dir set to: /net/stame10.us.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/trunk/utils/eclipselink.utils.dbws.test.oracle
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
[available] Found directory: 
[pathconvert] Set property dbws_util_test_oracle.build.location = /net/stame10.us.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/trunk/utils/eclipselink.utils.dbws.test.oracle
     [echo] dbws_util_test_oracle.build.location = '/net/stame10.us.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/trunk/utils/eclipselink.utils.dbws.test.oracle'
     [echo] dbws_util_test_oracle.2.base.dir = '..'
[available] Unable to find /net/stame10.us.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/trunk/utils/buildsystem/ant_customizations.jar to set property ant_customizations.exist
Comment 1 Eric Gwin CLA 2010-07-20 09:47:02 EDT
This issue should be resolved. the path to 2.base.dir should be ../.., and the problem was the result of a typo. it was testing against 
dbws/${ant.project.name} and should have been testing against
utils/${ant.project.name}

merged in 7875
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:22:08 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink