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=4273>.
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=4273

Copy needs property or attribute to restore old behavior

           Summary: Copy needs property or attribute to restore old behavior
           Product: Ant
           Version: 1.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I work on the ANT-based build system for Forte for Java at Sun.  Some
people are trying to use ANT 1.4 (currently ANT 1.3 is the version
our official builds use).  Unfortunately some of our ANT scripts don't
work with ANT 1.4 because the behavior of Copy has changed: in ANT 1.3
it won't stop the build if you try to copy 1 file but the file doesn't
exist, but in ANT 1.4 it throws a BuildException.

I think that functionality changes like this should never be made
unless either the old behavior remains the default, or at least a
property or attribute can be used to restore the old behavior.  So
please make Copy look for a property that will stop it from throwing a
BuildException in this case, and/or (less preferable solution) add an
attribute to Copy to stop it from throwing the BuildException.

Reply via email to