I have updated the copy branch. Completed: * Unit tests for BreadthFirstDirectoryWalker and CopyVisitor * Fixed error path for CopyVisitor and CopySpecImpl.filter() * You can use single files (not just directories) as sources. I did not make a special attribute for a single target with a rename. * Changed the signature of the CopySpec.from methods to work like (and delegate to) Project.file * Removed CopySpecImpl's use of Ant * Changed PatternMatcher to Spec<RelativePath>
I did not do the following: * Reuse or move walker/pattern classes. While I fully intended these to be re-usable, I think it might be best to only use them for the Copy task in 0.7. I would prefer to use any remaining time before 0.7 to look into making use of Copy.didWork to set the appropriate onlyIf for the JavaPlugin tasks. We can make better use of these classes in 0.8. * Make any changes to the file renaming/remapping methods. I want to think this through a little more. I think the current implementation may work fine for this release. If there is a need to use in a later release where a File won't work we can make changes then. * I did not make any change to the rename code pertaining to the combination of filtering and renaming, but I think this should be done before 0.7. The current behavior is probably not what someone would expect. I can look into this soon, but this probably shouldn't hold up adding it to the main trunk. If there are other issues that I have overlooked, please let me know. -- Steve Appling Automated Logic Research Team --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
