DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23791>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23791
warn if Fileset exclude patterns contain absolute paths in delete task
Summary: warn if Fileset exclude patterns contain absolute paths
in delete task
Product: Ant
Version: 1.6Beta
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Core
AssignedTo: dev@ant.apache.org
ReportedBy: hauser@acm.org
<property name="dumpFieldRealDir" location="${dumpFields_dir}/" />
<target name="clean" description="clean">
<delete includeEmptyDirs="true">
<fileset dir="${build.dir}">
<exclude name="${dumpFieldRealDir}" />
<include name="**/*.*" />
</fileset>
</delete>
</target>
The contents of the dumpFieldRealDir were also deleted - this is not fail-safe!
see also: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23790
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|