Resource needs a toString() method to properly print in debug mode
------------------------------------------------------------------

                 Key: MNG-3469
                 URL: http://jira.codehaus.org/browse/MNG-3469
             Project: Maven 2
          Issue Type: Improvement
    Affects Versions: 2.0.8
            Reporter: Wayne Fay
         Attachments: resource.patch

It would be nice if Resouce had a toString() method so it would print something 
intelligent rather than simply a memory location in debug mode. (People have 
complained about this on the Users list, and I've noticed it myself -- its 
annoying.)

Before this change, it prints like: 
[EMAIL PROTECTED] 

With this patch, it prints like (assuming you accept my FileSet and PatternSet 
patches):
Resource {targetPath: /target/resource-test, filtering: true, FileSet 
{directory: null, PatternSet [includes: {}, excludes: {}]}}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to