You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wayne Fay (JIRA)" <ji...@codehaus.org> on 2008/03/17 16:43:47 UTC

[jira] Created: (MNG-3469) Resource needs a toString() method to properly print in debug mode

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: 
Resource@8f4fb3 

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

        

[jira] Updated: (MNG-3469) Resource needs a toString() method to properly print in debug mode

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox updated MNG-3469:
---------------------------

    Fix Version/s:     (was: 2.0.10)
                   2.0.9

> 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
>            Assignee: Brian Fox
>             Fix For: 2.0.9
>
>         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: 
> Resource@8f4fb3 
> 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

        

[jira] Updated: (MNG-3469) Resource needs a toString() method to properly print in debug mode

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton updated MNG-3469:
---------------------------------

    Fix Version/s: 2.1-alpha-1

> 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
>            Assignee: Brian Fox
>             Fix For: 2.0.9, 2.1-alpha-1
>
>         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: 
> Resource@8f4fb3 
> 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

        

[jira] Closed: (MNG-3469) Resource needs a toString() method to properly print in debug mode

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox closed MNG-3469.
--------------------------

         Assignee: Brian Fox
       Resolution: Fixed
    Fix Version/s: 2.0.10

> 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
>            Assignee: Brian Fox
>             Fix For: 2.0.10
>
>         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: 
> Resource@8f4fb3 
> 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