Hi,
Since javacc is not part of the distribution anymore, I'd like to suggest some changes in the configuration files, in order to have
things working with no need to copy JavaCC.zip to the lib dir.
I'm not familiar with Ant (just started using it) so I don't know if any previous version looked automatically for .ant.properties
files. The one I'm running (1.4.1 on Win2K) don't, so I had to change build.xml. With the change, everything works now as described
in the error message displayed when no JavaCC.zip is found.
Here are the patches:
Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-lucene/build.xml,v
retrieving revision 1.19
diff -u -r1.19 build.xml
--- build.xml 27 Jan 2002 23:20:04 -0000 1.19
+++ build.xml 11 Feb 2002 00:33:23 -0000
@@ -2,6 +2,8 @@
<project name="Lucene" default="jar" basedir=".">
+ <property file="${user.home}/.ant.properties"/>
+ <property file=".ant.properties"/>
<property file="${user.home}/build.properties"/>
<property file="build.properties"/>
Index: .cvsignore
===================================================================
RCS file: /home/cvspublic/jakarta-lucene/.cvsignore,v
retrieving revision 1.1
diff -u -r1.1 .cvsignore
--- .cvsignore 18 Sep 2001 16:31:51 -0000 1.1
+++ .cvsignore 11 Feb 2002 00:32:10 -0000
@@ -1,3 +1,4 @@
bin
*~
velocity.log
+.ant.properties
--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>
Since javacc is not part of the distribution anymore, I'd like to suggest some changes in the configuration files, in order to have
things working with no need to copy JavaCC.zip to the lib dir.
I'm not familiar with Ant (just started using it) so I don't know if any previous version looked automatically for .ant.properties
files. The one I'm running (1.4.1 on Win2K) don't, so I had to change build.xml. With the change, everything works now as described
in the error message displayed when no JavaCC.zip is found.
Here are the patches:
Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-lucene/build.xml,v
retrieving revision 1.19
diff -u -r1.19 build.xml
--- build.xml 27 Jan 2002 23:20:04 -0000 1.19
+++ build.xml 11 Feb 2002 00:33:23 -0000
@@ -2,6 +2,8 @@
<project name="Lucene" default="jar" basedir=".">
+ <property file="${user.home}/.ant.properties"/>
+ <property file=".ant.properties"/>
<property file="${user.home}/build.properties"/>
<property file="build.properties"/>
Index: .cvsignore
===================================================================
RCS file: /home/cvspublic/jakarta-lucene/.cvsignore,v
retrieving revision 1.1
diff -u -r1.1 .cvsignore
--- .cvsignore 18 Sep 2001 16:31:51 -0000 1.1
+++ .cvsignore 11 Feb 2002 00:32:10 -0000
@@ -1,3 +1,4 @@
bin
*~
velocity.log
+.ant.properties
--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>