lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Climan" <dcli...@keepmedia.com>
Subject build.xml requires asf.site.home
Date Tue, 05 Apr 2005 02:21:47 GMT
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"/>

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.

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.

Dan



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message