https://bz.apache.org/bugzilla/show_bug.cgi?id=58496

            Bug ID: 58496
           Summary: fileset as javac src element
           Product: Ant
           Version: 1.9.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: [email protected]
          Reporter: [email protected]

I have ant (1.9.4) macros which accept path-like structure as src param and
when i try run it I get 'FILE_NAME.java is not a directory'.

Build file text:
<project name="test" default="main">
    <macrodef name="testm">
        <element name="srcdir"/>
        <sequential>
            <javac destdir="target">
                <src>
                    <srcdir/>
                </src>
            </javac>
        </sequential>
    </macrodef>

    <target name="build-project">
        <testm>
            <srcdir>
                <fileset dir="src">
                    <include name="**/*.java"/>
                </fileset>
            </srcdir>
        </testm>
    </target>

    <target name="main" depends="build-project"/>
</project>

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to