ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: How to access a XML element from a given file ?
Date Tue, 29 Apr 2003 10:42:35 GMT
Maybe you are not really using ant 1.5.3 but another version. To see what
your ant has in the guts, you can try the <antstructure/> task which
generated a DTD with all the tasks that are present in your current version
of ant.
Could you also show how your build file looks like ? is your <xmlproperty/>
in a <project/> element or in a <target/> element ?

Antoine
----- Original Message -----
From: "Christophe Franco" <christophe.franco@oxand.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Tuesday, April 29, 2003 12:27 PM
Subject: Re: How to access a XML element from a given file ?


> Pellier Marc wrote:
> > See task XmlProperty in the core task
>
> Thank you for your answer, but it seems this doesn't work... I wrote this
:
> <xmlproperty  file="definition.xml"/>
>
> Then, when using it :
>
> $ ant
> Buildfile: build.xml
>
> BUILD FAILED
> file:D:/cygwin/home/cfranco/w/src/build.xml:23: Unexpected element
> "xmlproperty"
>
> Total time: 0 seconds
>
>
> Which seems also weird to me, is that gvim does not recognize the
> "xmlproperty" task either, in mode "Ant build file" it does not colorize
it.
>
> (I precise I use ANT 1.5.3)
>
> --
> Christophe Franco                       Oxand S.A.
> Ingénieur                               tel : 01 60 39 52 51
> DĂ©veloppement logiciel                  fax : 01 60 72 54 17
> christophe.franco@oxand.com             http://www.oxand.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


Mime
View raw message