ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: "Expanding" XML attributes with ant 1.6.5
Date Tue, 17 Mar 2009 16:37:05 GMT

Sorry, I am a little confused...  If I understand you, you define the 
includes as attributes and use XSLT to generate what type of Ant file?

On Tue, 17 Mar 2009, Francis Galiegue wrote:

> Hello,
>
> I have a file named dist.xml which looks like:
>
> <dist>
> 	<include name="mod1"/>
> 	<include name="mod2"/>
> 	<!-- and so on -->
> </dist>
>
> What I need to do is call an ant file (well, several, but once I know for one,
> I can expand for all) with each name attributes of the include tags as a
> property. What's more, I need to call them in order (mod1 before mod2
> before...)
>
> Right now, I use the xslt task and a stylesheet to build another ant file that
> I call. It works, but I think this is overkill (and I hate XSL - meh).
>
> I couldn't get the <xmlproperty> task to do what I want and, AFAICS, it just
> cannot do that. I use ant 1.6.5 and cannot just yet use ant 1.7+. Do you know
> of another way of doing what I want _without_ using an XSL stylesheet?
>
> Have fun,
> -- 
> Francis Galiegue
> ONE2TEAM
> Ingénieur système
> Mob : +33 (0) 6 83 87 78 75
> Tel : +33 (0) 1 78 94 55 52
> fge@one2team.com
> 40 avenue Raymond Poincaré
> 75116 Paris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

Mime
View raw message