You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org> on 2008/04/03 00:42:58 UTC

[jira] Created: (WAGON-107) Debug message to stdout

Debug message to stdout
-----------------------

                 Key: WAGON-107
                 URL: http://jira.codehaus.org/browse/WAGON-107
             Project: wagon
          Issue Type: Bug
          Components: wagon-webdav
    Affects Versions: 1.0-beta-2
            Reporter: Kohsuke Kawaguchi


The WebDavWagon class prints out a debug message to stdout, but the proper place to send a message like that is to the logger.

The following is the offending line, in the constructor:

{noformat}
                try
                {
                    props.load( pomUrl.openStream() );
                    wagonVersion = props.getProperty( "version" );
                    System.out.println( "WAGON_VERSION: " + wagonVersion );
                }
                catch ( IOException e )
                {
                    wagonVersion = "";
                }
{noformat}

-- 
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: (WAGON-107) Debug message to stdout

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed WAGON-107.
------------------------------

         Assignee: Brett Porter
       Resolution: Duplicate
    Fix Version/s:     (was: 1.0-beta-3)

> Debug message to stdout
> -----------------------
>
>                 Key: WAGON-107
>                 URL: http://jira.codehaus.org/browse/WAGON-107
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-webdav
>    Affects Versions: 1.0-beta-2
>            Reporter: Kohsuke Kawaguchi
>            Assignee: Brett Porter
>
> The WebDavWagon class prints out a debug message to stdout, but the proper place to send a message like that is to the logger.
> The following is the offending line, in the constructor:
> {noformat}
>                 try
>                 {
>                     props.load( pomUrl.openStream() );
>                     wagonVersion = props.getProperty( "version" );
>                     System.out.println( "WAGON_VERSION: " + wagonVersion );
>                 }
>                 catch ( IOException e )
>                 {
>                     wagonVersion = "";
>                 }
> {noformat}

-- 
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: (WAGON-107) Debug message to stdout

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated WAGON-107:
-------------------------------

    Fix Version/s: 1.0-beta-3

> Debug message to stdout
> -----------------------
>
>                 Key: WAGON-107
>                 URL: http://jira.codehaus.org/browse/WAGON-107
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-webdav
>    Affects Versions: 1.0-beta-2
>            Reporter: Kohsuke Kawaguchi
>             Fix For: 1.0-beta-3
>
>
> The WebDavWagon class prints out a debug message to stdout, but the proper place to send a message like that is to the logger.
> The following is the offending line, in the constructor:
> {noformat}
>                 try
>                 {
>                     props.load( pomUrl.openStream() );
>                     wagonVersion = props.getProperty( "version" );
>                     System.out.println( "WAGON_VERSION: " + wagonVersion );
>                 }
>                 catch ( IOException e )
>                 {
>                     wagonVersion = "";
>                 }
> {noformat}

-- 
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