You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Darin Van Ryswyk <dv...@iastate.edu> on 2003/06/09 20:57:04 UTC

trouble building Lucene with Ant

Hello All-

I'm trying to build Lucene with Ant.  The following shows up when I try to run 
Ant:

C:\Lucene\lucene-1.2>ant
Buildfile: build.xml

BUILD FAILED
file:C:/Lucene/lucene-1.2/build.xml:1: The markup in the document preceding the 
root element must be well-formed.

Total time: 6 seconds



What would cause this?

Thanks.
Darin




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


Re: trouble building Lucene with Ant

Posted by Sebastien Blanc <Se...@alcatel.com>.
Hi Darin !
I would say you have a syntax error in the mentioned build.xml.
make sure you have the XML header '<?xml version="1.0"?>' at the beginning of you
XML doc (no space or so) and nothing else.
one way to make sure is to open your build.xml in a XML-editor (MSIE would be
usefull here for one time).
seb.

Darin Van Ryswyk wrote:

> Hello All-
>
> I'm trying to build Lucene with Ant.  The following shows up when I try to run
> Ant:
>
> C:\Lucene\lucene-1.2>ant
> Buildfile: build.xml
>
> BUILD FAILED
> file:C:/Lucene/lucene-1.2/build.xml:1: The markup in the document preceding the
> root element must be well-formed.
>
> Total time: 6 seconds
>
> What would cause this?
>
> Thanks.
> Darin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


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