ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Allen" <>
Subject Passing files to a java target
Date Thu, 06 May 2004 22:58:08 GMT
I would like to send a list of filenames to a java target. i.e.

java myProgram c:\root c:\root\test\
c:\root\test\ c:\root\boat\try2\

Below is as close as I cen get. The problem is that it won't recognize

C:\ksa_dev\build.xml:435: Reference ${codeGen.path} not found.

Jonathan Allen

<path id="codeGen.path">
    <fileset dir="${src.dir}" casesensitive="yes">
        <include name="**/"/>

<target name="codeGen"
            description="Regenerate code">
        <java classname="myProgram">
            <classpath refid="classpath" />
            <arg path="${src.dir}"/>
            <arg pathref="${codeGen.path}"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message