ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Constructing a file with a repeating group
Date Thu, 18 Mar 2004 14:50:13 GMT
> From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> 
> Using AntContrib and XMLTask (see external task page).
> - ac:for for iterating over the list
> - xmltask:insert for inserting the <jar>-part

I'd personally use <ac:for> to tokenize the property into
a small XML file, and then pure XSL+<style> to generate the JNL descriptor.

--DD

> > -----Original Message-----
> > From: Tim Gordon [mailto:tim.gordon@allustra.com]
> >
> > I'm trying to construct a jnlp file where the list of jars in the
> > resources section is partially driven from a property, such as
> >
> > <property name="module.jars" value="app1.jar,app2.jar"/>
> >   ...
> >   <resources>
> >     <j2se version="1.4" max-heap-size="192m"/>
> >     <jar href="core.jar" download="eager"/>
> >     <jar href="app1.jar" download="eager"/>
> >     <jar href="app2.jar" download="eager"/>
> >   </resources>
> >   ...

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


Mime
View raw message