We're updating the issue view to help you get more done. 

Create a FileHandler interface for all file operations in Cargo

Description

Right now file operations are performed either by calling the Cargo util.FileUtils class or by using the Ant's FileUtils class. It can be improved by creating a single FileHandler interface (with a DefaultFileHandler implementation). The advantages are:

  • single location for all file operations

  • ability to create mock implementations of the FileHandler class which allows writing more easily unit tests for cargo classes

Status

Assignee

Vincent Massol

Reporter

Vincent Massol

Components

Fix versions

Affects versions

0.8

Priority

Major