- 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.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149578 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2001-09-18 17:04:21 +00:00
parent 1a3dd53ada
commit 4e68f4be90
2 changed files with 12 additions and 6 deletions

View File

@ -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 @@ docs.dest = ./docs
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.lib = ${build.dir}/lib
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

View File

@ -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