You might look at using ant-contrib's <for> task with
<java>.
-Matt
--- Jeff Holt <[EMAIL PROTECTED]> wrote:
> To make my build script a bit less susceptible to
> environmental errors,
> I'd like to rewrite the following task:
>
>
>
> <apply executable="${env.JAVA_HOME}/bin/java">
>
> <arg value="-classpath"/>
>
> <arg value="saxon8.jar"/>
>
> <arg value="net.sf.saxon.Compile"/>
>
> <srcfile/>
>
> <targetfile/>
>
> <fileset refid="xsl.compilable.files"/>
>
> <globmapper from="*.xsl" to="*.sxx"/>
>
> </apply>
>
>
>
> Here is something that probably conveys what I want:
>
>
>
> <java classpath=" saxon8.jar" classname="
> net.sf.saxon.Compile">
>
> <srcfile/>
>
> <targetfile/>
>
> <fileset refid="xsl.compilable.files"/>
>
> <globmapper from="*.xsl" to="*.sxx"/>
>
> </java>
>
>
>
> The problem is that ant 1.6.5 doesn't accept
> <srcfile> as a child of
> <java>. Does anyone know if I'm wasting my time or
> is what I want to do
> easy?
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]