Hi, This issue has been discussed some time ago and Erik Hatcher sent a patch proposing the definition of all properties in build.xml and letting users customize their environment (javacc.home, etc.) in build.properties. IMO, this is the best solution to address this issue but I haven't seen any comments on that since Erik's last posting.
Regards, --Daniel > -----Original Message----- > From: acoliver [mailto:[EMAIL PROTECTED]] > Sent: terca-feira, 26 de fevereiro de 2002 12:36 > To: [EMAIL PROTECTED] > Subject: Re: building lucene > > > can you supply a patch instead? > (see cvs diff -u -r lastversion filename) > > -Andy > > >On Mon, 25 Feb 2002 18:47:36 -0500 (EST) John David Garza > <[EMAIL PROTECTED]> wrote. > >Hello, > > > >I remember discussing on this list about people having problems building > >lucene with a fresh source d/l. A couple of people addressed the problem > >by changing the javacc_check task in the build.xml, and that was greatly > >appreciated. > > > >However I noticed that some minor issues still exist. > >1. When javacc_check fails, a message is given which tells users to supply > >their own javacc.home property in a .ant.properties file in their home > >directory or in the lucene directory. However, in the build.xml, the only > >property files that get included are "build.properties" > > > >2. The javacc_check echo tells users to set their javacc.home to the > >javacc location plus /bin/lib, but then, in the build.properties file the > >javacc.zip.dir is made by appending a /lib to the given javacc.home. > > > >I went ahead and made a couple of changes to build.xml to remedy these two > >problems and would like to submit my changes: > > > >1. Changed the include lines to include the file ".ant.properties" in the > >lucene directory. Removed the include for ${user.home}/build.properties. > >I'm not sure if this is the best solution, are people using ant with their > >..ant.properties file in their home directory? Or are people just editing > >the build.properties already located in the lucene directory? > > > >2. Changed the wording for the javacc_check to let users know they only > >need to supply the javacc_home location plus /bin , not /bin/lib, and to > >do it in the lucene directory. > > > >Are these changes worthy? Attached is the build.xml file with my small > >changes. > > > >Thanks > >John David Garza > >[EMAIL PROTECTED] > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
