Hello,
I would like to execute a Java class with the <java> task but with
several times passing different arguments to it. The arguments are
constructed using the members of a fileset.
<target name="castor" depends="init"
description="generate the source code from the XML schemas">
<fileset dir="${schema}" includes="*.xsd"/>
<!-- This task should be executed on the elements of the fileset:
each time ${schema}/schema.xsd below should be replaced
with the corresponding filename.
-->
<java classname="org.exolab.castor.builder.SourceGenerator">
<arg line="-i ${schema}/schema.xsd -dest ${build} -package test"/>
</java>
</target>
Any idea how to do it?
Thanks in advance.
Peter
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>