cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] [Resolved] (CXF-3557) Generated WebServiceClient code should not use System.err.println
Date Tue, 31 May 2011 18:01:49 GMT


Daniel Kulp resolved CXF-3557.

       Resolution: Fixed
    Fix Version/s: 2.4
         Assignee: Daniel Kulp

In 2.4, they now use java.util.Logging to log at INFO level.

We cannot use commons-logging or anything else as, per spec, the Services have to be completely
portable to other JAX-WS implementations and thus cannot pull in any extra deps.

> Generated WebServiceClient code should not use System.err.println
> -----------------------------------------------------------------
>                 Key: CXF-3557
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Laurent Perez
>            Assignee: Daniel Kulp
>              Labels: system.err.println
>             Fix For: 2.4
> Hello
> One of our clients PMD rules fails while validating a CXF generated class for a @WebServiceClient.
> The problem is that there is a raw System.err.println("Can not initialize the default
wsdl from file:...") generated in the static{URL url} initializer.
> Would it be possible to use a Commons Logging delegate instead of a raw print statement
> Thanks

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message