[cvs] expresso commit by lhamel: add new test-src for compilation
JCorporate Ltd
jcorp at jcorp2.servlets.net
Sun Oct 17 01:10:46 PDT 2004
Log Message:
-----------
add new test-src for compilation
Modified Files:
--------------
expresso:
build.xml
Revision Data
-------------
Index: build.xml
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/build.xml,v
retrieving revision 1.83
retrieving revision 1.84
diff -Lbuild.xml -Lbuild.xml -u -r1.83 -r1.84
--- build.xml
+++ build.xml
@@ -66,6 +66,7 @@
<property name="expresso.src-war" value="${expresso.build.dist}/${expresso.name}-src.zip"/>
<property name="expresso.bin-war" value="${expresso.build.dist}/${expresso.name}-bin.war"/>
<property name="expresso.bin-le" value="${expresso.build.dist}/${expresso.name}-le.war"/>
+ <property name="testsrcdir" value="${expresso.build.webinf}/test-src"/>
<!-- Set path to web application container
Ant will use this property to locate the servlet.jar file as well as other
@@ -280,8 +281,16 @@
to perform the actual work.
============================================================================-->
<target name="compile" depends="init, buildDirs, copyResources, checklibs" description="Compile Expresso source">
- <javac srcdir="${expresso.src}" destdir="${expresso.build.classes}"
- classpath="${buildclasspath}" debug="true" deprecation="false" optimize="true"/>
+ <javac
+ destdir="${expresso.build.classes}"
+ classpath="${buildclasspath}"
+ debug="true"
+ deprecation="false"
+ optimize="true">
+
+ <src path="${expresso.src}"/>
+ <src path="${testsrcdir}" />
+ </javac>
</target>
<!-- ================================================================================
Copies all the resource files to their target locations
More information about the cvs
mailing list