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=43272>. 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=43272 Summary: Support Copy task extends Product: Ant Version: 1.7.0RC1 Platform: PC OS/Version: Windows XP Status: NEW Severity: enhancement Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] 1. Now I could NOT customize destination of Copy task using extends. Enhancement: create in Copy task method for overriting Resource getDestResource(File file, String toFile){ return new FileResource(destDir, toFile); } Copy.doResourceOperations(){ ... ResourceUtils.copyResource(fromResource,getDestResource(destDir, toFile),... ... 2. It is impossible to extends most of Ant classes (exapmle LineTokenizer): all class members are PRIVATE. Very bad solution. 3. Most of task have very similar behaviour but every of them written almost by the scratch. Example Copy and Move task. As result I have an Exception in Move also the Copy with the same parameters work OK. -- 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]