|
From: Michael R. <mr...@us...> - 2002-01-10 20:43:40
|
Update of /cvsroot/openorb/EvaluatorUtility/src
In directory usw-pr-cvs1:/tmp/cvs-serv11661
Modified Files:
build.xml
Log Message:
Fixed a problem with the test target, the classpath was missing.
Index: build.xml
===================================================================
RCS file: /cvsroot/openorb/EvaluatorUtility/src/build.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- build.xml 2002/01/10 20:32:34 1.3
+++ build.xml 2002/01/10 20:43:37 1.4
@@ -49,8 +49,8 @@
<property name="src" value="src/main"/>
<property name="build" value="build"/>
<property name="dist" value="dist" />
- <property name="test" value="src/main/org/openorb/constraint/test/" />
- <property name="idl" value="src/main/org/openorb/constraint/test/idl" />
+ <property name="test" value="src/test/org/openorb/constraint/test/" />
+ <property name="idl" value="src/test/org/openorb/constraint/test/idl" />
<property name="lib" value="lib" />
<property name="etc" value="src/etc" />
<property name="conf" value="src/config" />
@@ -65,6 +65,11 @@
<property name="classpath" value=""${java.class.path};${build}\main;${build}\test"" />
</target>
+ <path id="project.class.path">
+ <pathelement path="${java.class.path}" />
+ <pathelement path="${build}/main" />
+ </path>
+
<!-- =============================== -->
<!-- OpenORB EU compilation -->
<!-- =============================== -->
@@ -99,7 +104,8 @@
<java classname="org.openorb.compiler.IdlCompiler"
fork="yes">
- <arg line="-silence ${idl}/evaluator.idl -d ${build}/gensrc"/>
+ <arg line="-silence ${idl}/evaluator.idl -d ${build}/gensrc"/>
+ <classpath refid="project.class.path" />
</java>
<javac srcdir="${test};${build}/gensrc"
|