jvanzyl 01/09/18 10:04:21 Modified: . build.properties build.xml Log: - getting the "demo" target to work. the build.properties is a bit of a mess. i'll get the test target(s) working than i'll clean it up. Revision Changes Path 1.2 +5 -0 jakarta-lucene/build.properties Index: build.properties =================================================================== RCS file: /home/cvs/jakarta-lucene/build.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.properties 2001/09/18 16:30:35 1.1 +++ build.properties 2001/09/18 17:04:21 1.2 @@ -1,3 +1,6 @@ +# --------------------------------------------------------- +# L U C E N E B U I L D P R O P E R T I E S +# --------------------------------------------------------- name=lucene Name=Lucene version=1.0.1-dev @@ -11,6 +14,7 @@ src.dir = ./src/java demo.dir = ./src/demo +demo.src = ./src/demo docs.dir = ./doc lib.dir = ./lib test.dir = ./src/test @@ -25,6 +29,7 @@ build.javadocs = ${build.dir}/docs/api build.src = ${build.dir}/src build.demo = ${build.dir}/demo +build.src.demo = ${build.dir}/demo/src build.test = ${build.dir}/test junit.src = ${basedir}/test/unit 1.3 +7 -6 jakarta-lucene/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-lucene/build.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build.xml 2001/09/18 16:31:24 1.2 +++ build.xml 2001/09/18 17:04:21 1.3 @@ -120,17 +120,18 @@ <!-- ================================================================== --> <target name="demo" depends="compile" if="javacc.present"> <mkdir dir="${build.demo}"/> - <copy todir="${build.demo}"> - <fileset dir="${src.dir}"> - <include name="demo/**/*.java"/> - <include name="demo/**/*.jj"/> + + <copy todir="${build.demo}/src"> + <fileset dir="${demo.src}"> + <include name="**/*.java"/> + <include name="**/*.jj"/> </fileset> </copy> <javacc - target="${demo.dir}/HTMLParser/HTMLParser.jj" + target="${build.src.demo}/org/apache/lucene/HTMLParser/HTMLParser.jj" javacchome="${javacc.zip.dir}" - outputdirectory="${build.demo}/demo/HTMLParser" + outputdirectory="${build.src.demo}/org/apache/lucene/HTMLParser" /> <javac