build.xml errors

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

build.xml errors

viorelhojda
Hello. I've downloaded SOLR using the SVN and Eclipse IDE. After setting up the classpath and everything i've managed to have no errrors in the code files. The problem is that the BUILD XML files (build.xml, common-build.xml etc) are full of errros (couple of hundreds), such as:

  Attribute "default" must be declared for element type "attribute"
  Element type "attach" must be declared.
  Element type "batchtest" must be declared.
  Attribute "unless" must be declared for element type "fail".

.....

  There are lots of errors, I'm not writing them all. I supose it's an ANT thing problem, but I'm new in ANT so for that I'm sorry . I'm using ANT 6.5, like the JAR from the SOLR SVN.

  If anyone can help, thank you very much in advance.

  All the best !
Reply | Threaded
Open this post in threaded view
|

Re: build.xml errors

Shalin Shekhar Mangar
On Tue, Aug 11, 2009 at 1:31 PM, viorelhojda <[hidden email]> wrote:

>
> Hello. I've downloaded SOLR using the SVN and Eclipse IDE. After setting up
> the classpath and everything i've managed to have no errrors in the code
> files. The problem is that the BUILD XML files (build.xml, common-build.xml
> etc) are full of errros (couple of hundreds), such as:
>

The IDEs complain because of the many ant macros used by Solr. Don't worry
about it. You should be able to execute any target from build.xml without
any errors.

--
Regards,
Shalin Shekhar Mangar.
Reply | Threaded
Open this post in threaded view
|

Re: build.xml errors

viorelhojda
Thank you for your reply. You were right, I could run the targets from build.xml .
All the best,
Viorel

Shalin Shekhar Mangar wrote
On Tue, Aug 11, 2009 at 1:31 PM, viorelhojda <viorelhojda@yahoo.com> wrote:

>
> Hello. I've downloaded SOLR using the SVN and Eclipse IDE. After setting up
> the classpath and everything i've managed to have no errrors in the code
> files. The problem is that the BUILD XML files (build.xml, common-build.xml
> etc) are full of errros (couple of hundreds), such as:
>

The IDEs complain because of the many ant macros used by Solr. Don't worry
about it. You should be able to execute any target from build.xml without
any errors.

--
Regards,
Shalin Shekhar Mangar.