ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: <echoxml>
Date Tue, 24 May 2005 05:50:56 GMT
http://www.oopsconsultancy.com/software/xmltask/index.html :-)

Ok, you mean a core task. I dont think that we have something else.
<property> <echoproperties>
<xmlproperty> <???>

ATM that´s only a kind of templating the output. Works - but hasnt much
to do with xml. Some ideas ... (but from this early morning, so excuse me)
- using an xml object model
- <typedef> that
- "instantiate" an object
- write that out via jaxb

Jan

> -----Ursprüngliche Nachricht-----
> Von: Steve Loughran [mailto:stevel@apache.org]
> Gesendet am: Montag, 23. Mai 2005 18:15
> An: Ant Developers List
> Betreff: <echoxml>
> 
> We need an echo task that takes well formed XML and spits it out. Is 
> this really the best we have? escaped cdata in an echo task?
> 
>   <echo file="${target.pom}"><![CDATA[<project>
>    <modelVersion>4.0.0</modelVersion>
>    <groupId>${m2.groupID}</groupId>
>    <artifactId>${artifact.name}</artifactId>
>    <packaging>jar</packaging>
>    <version>${Version}</version>
> </project>
> ]]></echo>
> 
> -steve
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message