[x3d-public] Helpful tag for ant. Apply instead of foreach. Allows for batching! Yay!

John Carlson yottzumm at gmail.com
Thu Sep 14 11:17:16 PDT 2023


Apply multiple filename arguments to your Java command (or any)

<target name="batchjava" depends="default">
          <apply executable="java">
            <arg value="-cp"/>
            <arg value="${classpath}"/>
            <arg value="Validate"/>
            <srcfile/>
            <fileset dir="${examples}" casesensitive="yes">
                <include name="**/*.json"/>
            </fileset>
          </apply>
        </target>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230914/a263a61b/attachment.html>


More information about the x3d-public mailing list