DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40916>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40916

           Summary: dependset fails if target directory does not exists
           Product: Ant
           Version: 1.7.0Beta3
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


Here is a regression I've found in Ant
If the dir specified in the targetfileset of a dependset does not exists, the
dependset task will fail in 1.7.0-beta3. In Ant 1.6.5, it just continues.

Here is the script that works with 1.6.5 and fails with 1.7.0-beta3
<?xml version="1.0" encoding="ISO-8859-1" ?>
<project name="dependsetbug" default="testbug" basedir=".">
        <target name="testbug">
                <mkdir dir="src" />
                <touch file="src/Bla.java" />
                <dependset>
                        <srcfilelist files="Bla.java" dir="src"/>
                        <targetfileset includes="*" dir="dest"/>
                </dependset>
        </target>
</project>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to