axis-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1573325 - in /axis/axis1/java/trunk/axis-ant: pom.xml src/test/resources/ src/test/resources/log4j.properties
Date Sun, 02 Mar 2014 16:09:17 GMT
Author: veithen
Date: Sun Mar  2 16:09:17 2014
New Revision: 1573325

URL: http://svn.apache.org/r1573325
Log:
Added the necessary infrastructure to get debug logging in Ant task tests.

Added:
    axis/axis1/java/trunk/axis-ant/src/test/resources/
    axis/axis1/java/trunk/axis-ant/src/test/resources/log4j.properties
Modified:
    axis/axis1/java/trunk/axis-ant/pom.xml

Modified: axis/axis1/java/trunk/axis-ant/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/axis-ant/pom.xml?rev=1573325&r1=1573324&r2=1573325&view=diff
==============================================================================
--- axis/axis1/java/trunk/axis-ant/pom.xml (original)
+++ axis/axis1/java/trunk/axis-ant/pom.xml Sun Mar  2 16:09:17 2014
@@ -61,6 +61,11 @@
             <artifactId>commons-io</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
     <build>
         <plugins>
@@ -76,8 +81,9 @@
                         </goals>
                         <configuration>
                             <target>
-                                <taskdef name="java2wsdl" classname="org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask"
classpathref="maven.compile.classpath" />
-                                <taskdef name="wsdl2java" classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
classpathref="maven.compile.classpath" />
+                                <!-- TODO: be a bit more selective here: add maven.compile.classpath
+ log4j.jar + log4j.properties -->
+                                <taskdef name="java2wsdl" classname="org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask"
classpathref="maven.test.classpath" />
+                                <taskdef name="wsdl2java" classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
classpathref="maven.test.classpath" />
                                 <!-- ant antfile="src/test/ant/axis2378/build.xml" target="test"
inheritrefs="true" /-->
                                 <ant antfile="src/test/ant/axis2900/build.xml" target="test"
inheritrefs="true" />
                                 <!-- ant antfile="src/test/ant/axis2901/build.xml" target="test"
inheritrefs="true" /-->

Added: axis/axis1/java/trunk/axis-ant/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/axis-ant/src/test/resources/log4j.properties?rev=1573325&view=auto
==============================================================================
--- axis/axis1/java/trunk/axis-ant/src/test/resources/log4j.properties (added)
+++ axis/axis1/java/trunk/axis-ant/src/test/resources/log4j.properties Sun Mar  2 16:09:17
2014
@@ -0,0 +1,26 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+log4j.rootLogger=INFO, CONSOLE
+
+#log4j.logger.org.apache.axis=DEBUG
+
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %-5p %c - %m%n



Mime
View raw message