Dan,
I have corrected the issue you discovered with the asf.site.home property and committed the change.
On Apr 4, 2005, at 10:21 PM, Dan Climan wrote:
I was trying to compile the head version of lucene that I checked out of
SVN. When I run an ant command to build it, I get the following error:
C:\mysvn\lucene>ant Buildfile: build.xml
BUILD FAILED
C:\mysvn\lucene\build.xml:36: The file or path you specified (..\..\..\site)
is invalid relative to C:\mysvn\lucene
Total time: 0 seconds C:\mysvn\lucene>
The cause is <property name="asf.site.home" location="../../../site"/>
Yeah, that was a bad default value. I removed the default value altogether and added a check and error message if this value is not set. The check only occurs when you run the docs target, which most will not need to run.
I can work around this for now by doing one of the following:
a) remove the property and the edit the tasks that use it
b) Edit the build file every time there's an update and have the property
point to a directory that exists. (e.g. "." instead of "../../../site")
c) Move my entire svn copy down a level and create a "site" directory so
that ../../../site becomes a valid path.
Another way to have worked around it is to do:
ant -Dasf.site.home=blah
It seems like either the BUILD.txt file should mention this or, preferably,
build.xml should be rewritten to eliminate this dependency perhaps in the
same way javacc.home is optional.
Let me know if there are any additional issues with the build.
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
