Index: trunk/phpwiki/testsuite/compile |
— | — | @@ -1,8 +0,0 @@ |
2 | | -#!/bin/sh |
3 | | -# |
4 | | -# Doesn't seem worth the bother of make or ant yet-- |
5 | | -# just compile everything. |
6 | | -# |
7 | | - |
8 | | -javac -classpath .:jars/httpunit.jar:jars/nekohtml.jar:jars/xercesImpl.jar:jars/xml-apis.jar com/piclab/wikitest/*.java |
9 | | - |
Index: trunk/phpwiki/testsuite/run |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | #!/bin/sh |
3 | 3 | # |
4 | 4 | |
5 | | -java -classpath .:jars/httpunit.jar:jars/nekohtml.jar:jars/xercesImpl.jar:jars/xml-apis.jar com.piclab.wikitest.WikiSuite |
| 5 | +java -classpath ./build:jars/httpunit.jar:jars/nekohtml.jar:jars/xercesImpl.jar:jars/xml-apis.jar com.piclab.wikitest.WikiSuite |
6 | 6 | |
Index: trunk/phpwiki/testsuite/build.xml |
— | — | @@ -0,0 +1,27 @@ |
| 2 | +<project name="TestSuite" default="compile" basedir="."> |
| 3 | + <description>Test suite for Wikipedia phase III software</description> |
| 4 | + |
| 5 | + <property name="src" location="src"/> |
| 6 | + <property name="build" location="build"/> |
| 7 | + <property name="dist" location="dist"/> |
| 8 | + |
| 9 | + <target name="init"> |
| 10 | + <tstamp/> |
| 11 | + <mkdir dir="${build}"/> |
| 12 | + </target> |
| 13 | + |
| 14 | + <target name="compile" depends="init" description="compile the source"> |
| 15 | + <javac srcdir="${src}" destdir="${build}"/> |
| 16 | + </target> |
| 17 | + |
| 18 | + <target name="dist" depends="compile" description="generate the jar file" > |
| 19 | + <mkdir dir="${dist}/lib"/> |
| 20 | + <jar jarfile="${dist}/lib/TestSuite-${DSTAMP}.jar" basedir="${build}"/> |
| 21 | + </target> |
| 22 | + |
| 23 | + <target name="clean" description="clean up"> |
| 24 | + <delete dir="${build}"/> |
| 25 | + <delete dir="${dist}"/> |
| 26 | + </target> |
| 27 | + |
| 28 | +</project> |
Property changes on: trunk/phpwiki/testsuite/build.xml |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 29 | + native |
Added: svn:keywords |
2 | 30 | + Author Date Id Revision |