Update of /cvsroot/metamorphosis/krysalis-sandbox/workflow
In directory sc8-pr-cvs1:/tmp/cvs-serv11380
Modified Files:
build.xml
Log Message:
Managed the first running test case.
Add all avalon libs, which will be needed(incredible many!).
Index: build.xml
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-sandbox/workflow/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** build.xml 14 Mar 2003 09:17:25 -0000 1.2
--- build.xml 14 Mar 2003 15:05:49 -0000 1.3
***************
*** 2,12 ****
<!-- set global properties for this build -->
! <property name="source.java" value="src/java"/>
<property name="source.libaries" value="lib"/>
! <property name="source.docs" value="docs"/>
<property name="build" value="build"/>
<property name="build.java" value="${build}/classes"/>
! <property name="build.jar" value="${build}/jar"/>
! <property name="build.javadoc" value="${build}/javadoc"/>
<path id="class.path">
--- 2,15 ----
<!-- set global properties for this build -->
! <property name="source" value="src"/>
! <property name="source.java" value="${source}/java"/>
<property name="source.libaries" value="lib"/>
! <property name="source.docs" value="${source}/documentation"/>
! <property name="source.test" value="${source}/test"/>
<property name="build" value="build"/>
<property name="build.java" value="${build}/classes"/>
! <property name="build.jar" value="${build}/jar"/>
! <property name="build.javadoc" value="${build}/javadoc"/>
! <property name="build.test" value="${build}/test"/>
<path id="class.path">
***************
*** 37,40 ****
--- 40,50 ----
<classpath refid="class.path"/>
</javac>
+
+ <!-- Copy extra files to build dir -->
+ <copy todir="${build.java}">
+ <fileset dir="${source.java}">
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
</target>
***************
*** 59,62 ****
--- 69,115 ----
<target name="all" depends="compile, package, javadoc" >
+ </target>
+
+ <target name="test" depends="compile">
+ <mkdir dir="${build.test}"/>
+
+ <!-- Copy test files to build test dir -->
+ <copy todir="${build.test}">
+ <fileset dir="${source.test}">
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
+
+ <!-- Compile tests -->
+ <javac srcdir="${source.test}"
+ destdir="${build.test}"
+ debug="false"
+ optimize="false"
+ deprecation="false">
+ <classpath refid="class.path"/>
+ <classpath>
+ <pathelement path="${build.java}"/>
+ </classpath>
+ </javac>
+
+ <junit printsummary="yes" haltonerror="yes" haltonfailure="yes" fork="yes">
+ <jvmarg value="-Djava.compiler=NONE"/>
+ <classpath>
+ <pathelement location="${build.test}" />
+ <pathelement location="${build.java}" />
+ </classpath>
+ <classpath refid="class.path"/>
+
+ <formatter type="plain" usefile="no" />
+ <batchtest>
+ <fileset dir="${build.test}">
+ <include name="**/test/*TestCase.class"/>
+ <include name="**/*Test.class" />
+ <include name="**/Test*.class" />
+ <exclude name="**/AllTest.class" />
+ <exclude name="**/*$$*Test.class" />
+ </fileset>
+ </batchtest>
+ </junit>
</target>
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.