[email protected]
[Top] [All Lists]

Re: Contrib in oblivion

Subject: Re: Contrib in oblivion
From: Erik Hatcher
Date: Fri, 11 Nov 2005 20:12:30 -0500
On 11 Nov 2005, at 17:26, Paul Elschot wrote:
Paul - what version of Ant are you using?   I'm (always) swamped, but
I'll put this on my list of things to look at as soon as possible if
no one else beats me to it.

I'm using ant 1.6.2.

Meanwhile I had a look at the ant book and at the manual for
subant, but I'm still not sure how to pass the lucene jar,
it might be an ant poperty (value or location) or an
included xml file.
I made one failed attempt at passing a property to subant.
Would it be better to use absolute path names instead
of relative ones?
Any hints would be wellcome.
Could you try using Ant 1.6.5? I just built contrib/surround
successfully. First I went to the top-level lucene directory, and
ran "ant", then "cd contrib/surround" and "ant" again. The output is
below. If you wish to change the Lucene JAR file used (by default it
expects it in the parent of contrib under the build directory there,
you can run Ant using the "-Dlucene.jar=<path to Lucene JAR>".
Hope that helps.

    Erik


$ ant
Buildfile: build.xml
     [echo] Building surround...

javacc-uptodate-check:

javacc-notice:

common.init:

build-lucene:

init:

compile-core:
[mkdir] Created dir: /Users/erik/dev/lucene/build/contrib/ surround/classes/java [javac] Compiling 24 source files to /Users/erik/dev/lucene/ build/contrib/surround/classes/java [javac] Note: /Users/erik/dev/lucene/contrib/surround/src/java/ org/apache/lucene/queryParser/surround/parser/FastCharStream.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

jar-core:
[jar] Building jar: /Users/erik/dev/lucene/build/contrib/ surround/lucene-surround-1.9-rc1-dev.jar
default:

BUILD SUCCESSFUL
Total time: 19 seconds
d-128-167-108:~/dev/lucene/contrib/surround erik$ ant -version
Apache Ant version 1.6.5 compiled on June 2 2005


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

<Prev in Thread] Current Thread [Next in Thread>