Sorry forgot to attach the patch file.
-- Ulhas
On Thu, 2007-06-21 at 18:13 +0100, Ulhas Bhole wrote:
> Hi,
>
> Here is a patch for fixing the log4j warning that appears from samples
> during code generation and client and server run.
>
> Can someone review it and apply it for me?
>
> Regards,
>
> Ulhas Bhole
>
> ----------------------------
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
Index: distribution/src/main/release/samples/common_build.xml
===================================================================
--- distribution/src/main/release/samples/common_build.xml (revision 549545)
+++ distribution/src/main/release/samples/common_build.xml (working copy)
@@ -172,6 +172,7 @@
<!--assertions>
<enable package="org.apache.cxf"/>
</assertions-->
+ <sysproperty key="org.apache.commons.logging.Log" value="org.apache.commons.logging.impl.Jdk14Logger"/>
<sysproperty key="java.util.logging.config.file" value="@{logging-properties-file}"/>
</java>
</sequential>
@@ -204,6 +205,7 @@
<classpath>
<path refid="cxf.classpath" />
</classpath>
+ <sysproperty key="org.apache.commons.logging.Log" value="org.apache.commons.logging.impl.Jdk14Logger"/>
<sysproperty key="java.util.logging.config.file" value="${cxf.etc.dir}/logging.properties"/>
<sysproperty key="exitOnFinish" value="true"/>
<arg line="@{servicename.arg}"/>