ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Azariah Jeyakumar" <azariah.jeyaku...@tumbleweed.com>
Subject FileSet as a command line argument
Date Mon, 17 Sep 2001 23:55:56 GMT
Hi,

How do I pass a set of file names as a command line argument in tasks such
as "java" or "exec"?

This is what I would like to be able to do:

<java classname="org.jacorb.idl.parser" classpath="$orb.class.path}"
fork="yes">
    <arg>
        <fileset dir="${idl.dir}">
            <include name="**/*.idl"/>
        </fileset>
    </arg>
</java>

Is there any other way to achieve this in ant 1.4?

If writing a custom task is the only way to go, can someone point me to an
example?

Thanks
Azariah



Mime
View raw message