OK. I give up. how do you pass down a fileset by ref as the souce dir to javac? src is a path ,and there is no srcref ID in the matching task.

I tried to use the fileset inside the src dir, but got told off for not setting a srcdir attribute:

  <target name="javac-refid">
    <fileset id="source.files" dir="src">
      <include name="org/antbook/**.java"/>
      <exclude name="org/antbook/broken/*.java"/>
    </fileset>
    <javac>
      <src >
        <fileset refid="source.files" />
      </src>
    </javac>
  </target>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to