ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40916] New: - dependset fails if target directory does not exists
Date Tue, 07 Nov 2006 14:38:06 GMT
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: anthony.goubard@orange.nl


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message