You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by cloud jun <cl...@yahoo.com> on 2001/11/02 02:24:03 UTC
compile lucene-1.2-rc2
Hi there,
I am having trouble to get lucene-1.2-rc2 compiled. I
use windows 2000 and have installed Ant and JavaCC,
but I guess there is some thing wrong in the
configuration file for the javaCC part. My
"build.properties" file in the lucene folder looks
like this:
-------------------------------------------
# Home directory of JavaCC
javacc.home = c:/java/javacc2_1/bin/lib
javacc.zip.dir = ${javacc.home}/lib
javacc.zip = ${javacc.zip.dir}/JavaCC.zip
-------------------------------------------
"c:/java/javacc2_1" is where I installed JavaCC. I
tried every combination with or without "/bin",
"/bin/lib", but all failed. And I also tried creating
a "ant.properties" file under the lucene folder with
"javacc.home" set to "c:/java/javacc2_1/bin/lib".
Any body who can tell me how to get lucene-1.2-rc2
compiled or is there any documentations on that?
Thanks a lot.
jun
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: compile lucene-1.2-rc2
Posted by cloud jun <cl...@yahoo.com>.
Thanks, I have got it now. It's because I did not have
the optional jar for Ant.
Here is some guide on how to compile lucene-1.2-rc2 in
case someone needs it:
1) Get Ant from the jakarta website, do not forget to
download the optional jar as well.
2) Get JavaCC from
http://www.webgain.com/products/java_cc/, this is
optional because lucene-1.2-rc2 come along with
javaCC.zip in its /lib folder.
3) Run ant from the lucene folder. You don't need to
change the builde.properties file, but the
configuration is there.
jun
--- Otis Gospodnetic <ot...@yahoo.com>
wrote:
> What exactly is the error that you are getting?
> Is it an Ant error or a Lucene error?
> Does Ant know to convert forward slashes to back
> slashes on Windows?
> Have you tried using \ instead of / in those paths?
>
> Otis
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: compile lucene-1.2-rc2
Posted by Otis Gospodnetic <ot...@yahoo.com>.
What exactly is the error that you are getting?
Is it an Ant error or a Lucene error?
Does Ant know to convert forward slashes to back slashes on Windows?
Have you tried using \ instead of / in those paths?
Otis
--- cloud jun <cl...@yahoo.com> wrote:
> Hi there,
>
> I am having trouble to get lucene-1.2-rc2 compiled. I
> use windows 2000 and have installed Ant and JavaCC,
> but I guess there is some thing wrong in the
> configuration file for the javaCC part. My
> "build.properties" file in the lucene folder looks
> like this:
> -------------------------------------------
> # Home directory of JavaCC
> javacc.home = c:/java/javacc2_1/bin/lib
> javacc.zip.dir = ${javacc.home}/lib
> javacc.zip = ${javacc.zip.dir}/JavaCC.zip
> -------------------------------------------
>
> "c:/java/javacc2_1" is where I installed JavaCC. I
> tried every combination with or without "/bin",
> "/bin/lib", but all failed. And I also tried creating
> a "ant.properties" file under the lucene folder with
> "javacc.home" set to "c:/java/javacc2_1/bin/lib".
>
> Any body who can tell me how to get lucene-1.2-rc2
> compiled or is there any documentations on that?
>
> Thanks a lot.
> jun
>
>
> __________________________________________________
> Do You Yahoo!?
> Find a job, post your resume.
> http://careers.yahoo.com
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>