lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: build.xml requires
Date Tue, 05 Apr 2005 13:02:10 GMT

I have corrected the issue you discovered with the 
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
> 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="" 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:


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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message