[Nodal-cvs] j-test build.xml,NONE,1.1 decText.txt,NONE,1.1 .project,1.1,1.2
Status: Pre-Alpha
Brought to you by:
leei
From: Lee I. <le...@us...> - 2004-10-06 22:18:30
|
Update of /cvsroot/nodal/j-test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29200 Modified Files: .project Added Files: build.xml decText.txt Log Message: Updates to enable unit tests inside/outside of Eclipse. --- NEW FILE: decText.txt --- Line 1 Line 2 Line 3 Index: .project =================================================================== RCS file: /cvsroot/nodal/j-test/.project,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .project 3 Oct 2004 19:42:25 -0000 1.1 --- .project 6 Oct 2004 22:18:20 -0000 1.2 *************** *** 4,7 **** --- 4,8 ---- <comment></comment> <projects> + <project>j-src</project> </projects> <buildSpec> --- NEW FILE: build.xml --- <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!-- - - Distributed under the Apache Software License, Version 1.1 - (see the file LICENSE for terms and conditions) - - Copyright (c) 2001 SRI International. All rights reserved. - --> <project name="nodal" default="compile" basedir="."> <!-- set global properties for this build --> <property name="src" value="src" /> <property name="testincludes" value="test/**/*.java" /> <property name="testexcludes" value="test/org/nodal/storage/**/*.java" /> <property name="build" value="build" /> <!-- property name="build.compiler" value="jikes"/ --> <!-- property name="build.compiler" value="gcj"/ --> <taskdef resource="checkstyletask.properties"/> <path id="project.compile.path"> <pathelement path="${classpath}"/> <pathelement path="../j-src/build/classes"/> <pathelement location="../j-src/lib/junit.jar"/> <pathelement location="../j-src/lib/jdbm.jar"/> <!-- pathelement location="../j-src/lib/jakarta-regexp-1.2.jar"/ --> <pathelement location="../j-src/lib/gnu-regexp-1.1.4.jar"/> <pathelement location="../j-src/lib/jdom.jar"/> <!-- pathelement location="../j-src/lib/log4j-1.2.8.jar"/ --> <!-- pathelement location="../j-src/lib/jaxp.jar"/ --> <pathelement location="../j-src/lib/xmlParserAPIs.jar"/> <pathelement location="../j-src/lib/xercesImpl.jar"/> <pathelement location="../j-src/lib/nekohtml.jar"/> <!-- pathelement location="../j-src/lib/patbinfree153.jar"/ --> </path> <path id="project.class.path"> <pathelement location="build/nodal.jar"/> <path refid="project.compile.path"/> </path> <path id="project.test.path"> <pathelement location="build/test.jar"/> <path refid="project.class.path"/> </path> <target name="prepare"> <!-- Create the time stamp --> <tstamp/> <!-- Create the build directory structure used by compile --> <mkdir dir="${build}/testclasses" /> </target> <target name="compile" depends="prepare"> <!-- Compute dependencies and remove out-of-date classes --> <depend srcdir="${src}" includes="${testincludes}" excludes="${testexcludes}" destdir="${build}/testclasses" classpathref="project.class.path" cache="${build}/depcache" closure="yes"/> <!-- Compile the java code from ${src} into ${build} --> <javac srcdir="${src}" includes="${testincludes}" excludes="${testexcludes}" destdir="${build}/testclasses" classpathref="project.class.path" debug="true" verbose="false"/> <!-- Put everything in ${build}/classes/test into the test.jar file --> <jar jarfile="${build}/test.jar" basedir="${build}/testclasses" /> </target> <target name="unit" depends="compile"> <java classname="test.Suite" classpathref="project.test.path" fork="yes" /> </target> <target name="clean"> <!-- Delete the ${build} and ${dist} directory trees --> <delete dir="${build}" /> </target> </project> |