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 Raymond Balmès <ra...@gmail.com> on 2009/03/08 16:06:27 UTC

Problem building Lucene 2_4 with Ant/Eclipse

I get the problem below in trying to build Lucene 2_4.
I'm using Eclipse and just run Ant on the top build.xml.

It is pretty weird because the core is indeed build, but for some reason the
build stops there and I don't get any of the demos build etc...

Any idea what this "svnversion" program is ?
*

compile-core*:
*

jar-core*:

[*exec*] Execute failed: *java.io.IOException*: Cannot run program
"svnversion": CreateProcess error=2, can not find file

[*jar*] Building jar: D:\Bii\Workbench\lucene_2_4\build\lucene-core-2.4.jar
*

default*:

BUILD SUCCESSFUL

Re: Problem building Lucene 2_4 with Ant/Eclipse

Posted by Chris Hostetter <ho...@fucit.org>.
: ok, thanks. Thought the top build.xml was going to build everything
: underneath.

it can, but the default target only builds the core.

try "ant package" or "ant dist"


-Hoss


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


Re: Problem building Lucene 2_4 with Ant/Eclipse

Posted by Raymond Balmès <ra...@gmail.com>.
ok, thanks. Thought the top build.xml was going to build everything
underneath.

On Sun, Mar 8, 2009 at 4:09 PM, Uwe Schindler <uw...@thetaphi.de> wrote:

> That's normal. To build contrib or demos, you have to execute ant with the
> corresponding targets. The error message about SVN can be ignored.
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
> > -----Original Message-----
> > From: Raymond Balmès [mailto:raymond.balmes@gmail.com]
> > Sent: Sunday, March 08, 2009 4:06 PM
> > To: java-user@lucene.apache.org
> > Subject: Problem building Lucene 2_4 with Ant/Eclipse
> >
> > I get the problem below in trying to build Lucene 2_4.
> > I'm using Eclipse and just run Ant on the top build.xml.
> >
> > It is pretty weird because the core is indeed build, but for some reason
> > the
> > build stops there and I don't get any of the demos build etc...
> >
> > Any idea what this "svnversion" program is ?
> > *
> >
> > compile-core*:
> > *
> >
> > jar-core*:
> >
> > [*exec*] Execute failed: *java.io.IOException*: Cannot run program
> > "svnversion": CreateProcess error=2, can not find file
> >
> > [*jar*] Building jar: D:\Bii\Workbench\lucene_2_4\build\lucene-core-
> > 2.4.jar
> > *
> >
> > default*:
> >
> > BUILD SUCCESSFUL
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

RE: Problem building Lucene 2_4 with Ant/Eclipse

Posted by Uwe Schindler <uw...@thetaphi.de>.
That's normal. To build contrib or demos, you have to execute ant with the
corresponding targets. The error message about SVN can be ignored.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Raymond Balmès [mailto:raymond.balmes@gmail.com]
> Sent: Sunday, March 08, 2009 4:06 PM
> To: java-user@lucene.apache.org
> Subject: Problem building Lucene 2_4 with Ant/Eclipse
> 
> I get the problem below in trying to build Lucene 2_4.
> I'm using Eclipse and just run Ant on the top build.xml.
> 
> It is pretty weird because the core is indeed build, but for some reason
> the
> build stops there and I don't get any of the demos build etc...
> 
> Any idea what this "svnversion" program is ?
> *
> 
> compile-core*:
> *
> 
> jar-core*:
> 
> [*exec*] Execute failed: *java.io.IOException*: Cannot run program
> "svnversion": CreateProcess error=2, can not find file
> 
> [*jar*] Building jar: D:\Bii\Workbench\lucene_2_4\build\lucene-core-
> 2.4.jar
> *
> 
> default*:
> 
> BUILD SUCCESSFUL


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