Menu

#2 Ant task should use "File" rather than String

open
nobody
None
5
2012-09-22
2007-05-10
Tim Vernum
No

The dependency check ant task takes a "dependcyFile" attribute, which should point to a file.

However because the task treats it as a String (rather than java.io.File) the handling of relative/absolute paths is incorrect.

If you make the property a File, ant will handle all of that for you.

A patch is attached for the dependency task.
A similar change may be needed for the analyser (reportFile)

Discussion

  • Tim Vernum

    Tim Vernum - 2007-05-10

    Unified Diff against HEAD

     
  • Franz-Josef Elmer

    Logged In: YES
    user_id=245851
    Originator: NO

    Thanks for the patch. I did the same change for the report task. I have released a new version (1.3.1) of Classycle.

     

Log in to post a comment.