b***@apache.org
2014-11-21 11:17:43 UTC
https://issues.apache.org/bugzilla/show_bug.cgi?id=57244
Bug ID: 57244
Summary: copy task does not fail if the file is missing and
specified as a fileset
Product: Ant
Version: 1.9.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
Assignee: ***@ant.apache.org
Reporter: ***@gmx.net
For the project below (with failonerror defaulting to true):
<project name="test-copy">
<target name="init">
<mkdir dir="destination"/>
</target>
<target name="copy-file-attr" depends="init">
<copy todir="destination" file="non-existing.txt"/>
</target>
<target name="copy-file-fileset" depends="init">
<copy todir="destination">
<fileset file="non-existing.txt"/>
</copy>
</target>
</project>
I'm expecting both:
$ ant copy-file-attr
$ ant copy-file-fileset
to fail because the file to copy is missing but only the first invocation
fails.
Bug ID: 57244
Summary: copy task does not fail if the file is missing and
specified as a fileset
Product: Ant
Version: 1.9.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
Assignee: ***@ant.apache.org
Reporter: ***@gmx.net
For the project below (with failonerror defaulting to true):
<project name="test-copy">
<target name="init">
<mkdir dir="destination"/>
</target>
<target name="copy-file-attr" depends="init">
<copy todir="destination" file="non-existing.txt"/>
</target>
<target name="copy-file-fileset" depends="init">
<copy todir="destination">
<fileset file="non-existing.txt"/>
</copy>
</target>
</project>
I'm expecting both:
$ ant copy-file-attr
$ ant copy-file-fileset
to fail because the file to copy is missing but only the first invocation
fails.
--
You are receiving this mail because:
You are the assignee for the bug.
You are receiving this mail because:
You are the assignee for the bug.