Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Compiling analyzers from the Sandbox - where is comon-build.xml?

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


dorthe at luebbert

Nov 21, 2009, 3:06 AM

Post #1 of 3 (526 views)
Permalink
Compiling analyzers from the Sandbox - where is comon-build.xml?

Hi,

probably a newbie question (both newbie with Lucene and I don't do
something with Java very often):

I want to use org.apache.lucene.analysis.de.GermanAnalyzer.

I checked out the Lucene Sandbox from SVN and wanted to create a build
now using

cd sandbox/contrib
ant -f contrib-build.xml

All build-files refer to common-build.xml, but his file seems to be gone
since Lucene 2.3.

How can I compile the class mentioned above?

Thanks for any hint
Dorthe




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


simon.willnauer at googlemail

Nov 21, 2009, 3:13 AM

Post #2 of 3 (494 views)
Permalink
Re: Compiling analyzers from the Sandbox - where is comon-build.xml? [In reply to]

You might want to check out lucene/java/trunk/. then go to contrib or
contrib/analyzers and simply run "ant". This will build your analyzer.
Another way would be simply download the binary dist and use the
analyzer from there.

simon

On Sat, Nov 21, 2009 at 12:06 PM, Dorthe Luebbert <dorthe [at] luebbert> wrote:
> Hi,
>
> probably a newbie question (both newbie with Lucene and I don't do something
> with Java very often):
>
> I want to use org.apache.lucene.analysis.de.GermanAnalyzer.
>
> I checked out the Lucene Sandbox from SVN and wanted to create a build now
> using
>
> cd sandbox/contrib
> ant -f contrib-build.xml
>
> All build-files refer to common-build.xml, but his file seems to be gone
> since Lucene 2.3.
>
> How can I compile the class mentioned above?
>
> Thanks for any hint
> Dorthe
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


dorthe at luebbert

Nov 21, 2009, 3:55 AM

Post #3 of 3 (500 views)
Permalink
Re: Compiling analyzers from the Sandbox - where is comon-build.xml? [In reply to]

Simon,

thanks a lot for the quick response.

I did not realize that I was using outdated documentation (looking for
"Lucene Sandbox" using Google lead me to the documentation for lucene
2.3.2 and my second source "Lucene in action" has outdated information
on this topic as well). Using the binary version located in "contrib" is
indeed pretty simple and compiling works now as well :-)

Dorthe


> You might want to check out lucene/java/trunk/. then go to contrib or
> contrib/analyzers and simply run "ant". This will build your analyzer.
> Another way would be simply download the binary dist and use the
> analyzer from there.
>
> simon
>
> On Sat, Nov 21, 2009 at 12:06 PM, Dorthe Luebbert <dorthe [at] luebbert> wrote:
>
>> Hi,
>>
>> probably a newbie question (both newbie with Lucene and I don't do something
>> with Java very often):
>>
>> I want to use org.apache.lucene.analysis.de.GermanAnalyzer.
>>
>> I checked out the Lucene Sandbox from SVN and wanted to create a build now
>> using
>>
>> cd sandbox/contrib
>> ant -f contrib-build.xml
>>
>> All build-files refer to common-build.xml, but his file seems to be gone
>> since Lucene 2.3.
>>
>> How can I compile the class mentioned above?
>>
>> Thanks for any hint
>> Dorthe
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
>> For additional commands, e-mail: java-user-help [at] lucene
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.