Author: veithen Date: Wed Feb 29 21:00:49 2012 New Revision: 1295270 URL: http://svn.apache.org/viewvc?rev=1295270&view=rev Log: Mavenized test.wsdl.header.
Added: axis/axis1/java/trunk/axis-ant/src/test/ant/header/ axis/axis1/java/trunk/axis-ant/src/test/ant/header/build.xml - copied, changed from r1293809, axis/axis1/java/trunk/test/wsdl/header/build.xml axis/axis1/java/trunk/axis-ant/src/test/java/test/wsdl/header/ axis/axis1/java/trunk/axis-ant/src/test/java/test/wsdl/header/VerifyFilesTestCase.java - copied, changed from r1293809, axis/axis1/java/trunk/test/wsdl/header/VerifyFilesTestCase.java axis/axis1/java/trunk/axis-ant/src/test/wsdl/header/ axis/axis1/java/trunk/axis-ant/src/test/wsdl/header/header.wsdl - copied unchanged from r1293809, axis/axis1/java/trunk/test/wsdl/header/header.wsdl axis/axis1/java/trunk/integration/src/test/java/test/wsdl/header/ axis/axis1/java/trunk/integration/src/test/java/test/wsdl/header/HeaderServiceTestCase.java - copied unchanged from r1293809, axis/axis1/java/trunk/test/wsdl/header/HeaderServiceTestCase.java axis/axis1/java/trunk/integration/src/test/wsdl/header/ axis/axis1/java/trunk/integration/src/test/wsdl/header/header.wsdl - copied unchanged from r1293809, axis/axis1/java/trunk/test/wsdl/header/header.wsdl Removed: axis/axis1/java/trunk/test/wsdl/header/ Modified: axis/axis1/java/trunk/axis-ant/pom.xml axis/axis1/java/trunk/integration/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=1295270&r1=1295269&r2=1295270&view=diff ============================================================================== --- axis/axis1/java/trunk/axis-ant/pom.xml (original) +++ axis/axis1/java/trunk/axis-ant/pom.xml Wed Feb 29 21:00:49 2012 @@ -68,6 +68,7 @@ <ant antfile="src/test/ant/clash/build.xml" target="test" inheritrefs="true" /> <ant antfile="src/test/ant/extra/build.xml" target="test" inheritrefs="true" /> <ant antfile="src/test/ant/filegen/build.xml" target="test" inheritrefs="true" /> + <ant antfile="src/test/ant/header/build.xml" target="test" inheritrefs="true" /> <ant antfile="src/test/ant/qname/build.xml" target="test" inheritrefs="true" /> </target> </configuration> Copied: axis/axis1/java/trunk/axis-ant/src/test/ant/header/build.xml (from r1293809, axis/axis1/java/trunk/test/wsdl/header/build.xml) URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/axis-ant/src/test/ant/header/build.xml?p2=axis/axis1/java/trunk/axis-ant/src/test/ant/header/build.xml&p1=axis/axis1/java/trunk/test/wsdl/header/build.xml&r1=1293809&r2=1295270&rev=1295270&view=diff ============================================================================== --- axis/axis1/java/trunk/test/wsdl/header/build.xml (original) +++ axis/axis1/java/trunk/axis-ant/src/test/ant/header/build.xml Wed Feb 29 21:00:49 2012 @@ -1,87 +1,13 @@ <?xml version="1.0" ?> -<!DOCTYPE project [ - <!ENTITY properties SYSTEM "../../../xmls/properties.xml"> - <!ENTITY paths SYSTEM "../../../xmls/path_refs.xml"> - <!ENTITY taskdefs SYSTEM "../../../xmls/taskdefs.xml"> - <!ENTITY taskdefs_post_compile SYSTEM "../../../xmls/taskdefs_post_compile.xml"> - <!ENTITY targets SYSTEM "../../../xmls/targets.xml"> -]> - -<!-- =================================================================== -<description> - Test/Sample Component file for Axis - -Notes: - This is a build file for use with the Jakarta Ant build tool. - -Prerequisites: - - jakarta-ant from http://jakarta.apache.org - -Build Instructions: - To compile - ant compile - To execute - ant run - -Author: - Russell Butek bu...@us.ibm.com - -Copyright: - Copyright (c) 2002-2003 Apache Software Foundation. -</description> -==================================================================== --> - -<project default="compile"> - -<property name="axis.home" location="../../.." /> -<property name="componentName" value="test/wsdl/header" /> -<property name="extraServices" value="work/test/wsdl/**" /> - - &properties; - &paths; - &taskdefs; - &taskdefs_post_compile; - &targets; - -<target name="clean"> - <echo message="Removing ${build.dir}/classes/${componentName} and ${build.dir}/work/${componentName}" /> - <delete dir="${build.dir}/classes/${componentName}"/> - <delete dir="${build.dir}/work/${componentName}"/> -</target> - -<target name="copy" depends="setenv"> - <ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/test/wsdl/filegen" antfile="build.xml" target="compile"/> -</target> - -<target name="compile" depends="copy"> - <echo message="Compiling test.wsdl.header"/> +<project> + <target name="test"> <!-- Explicit Header Test --> - <wsdl2java url="${axis.home}/test/wsdl/header/header.wsdl" - output="${axis.home}/build/work" + <wsdl2java url="src/test/wsdl/header/header.wsdl" + output="${project.build.directory}/work" deployscope="none" serverSide="yes" skeletonDeploy="yes" testcase="yes"> </wsdl2java> - - <copy todir="${build.dir}/work/test/wsdl/header" overwrite="yes"> - <fileset dir="${axis.home}/test/wsdl/header"> - <include name="*TestCase.java"/> - <include name="*Impl.java"/> - </fileset> - </copy> - - <javac srcdir="${build.dir}/work" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}" - debug="${debug}"> - <classpath refid="classpath" /> - <include name="test/wsdl/header/*.java" /> - <include name="test/wsdl/header/**/*.java" /> - </javac> -</target> - -<target name="run" > - <antcall target="execute-Component" /> -</target> - + </target> </project> Copied: axis/axis1/java/trunk/axis-ant/src/test/java/test/wsdl/header/VerifyFilesTestCase.java (from r1293809, axis/axis1/java/trunk/test/wsdl/header/VerifyFilesTestCase.java) URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/axis-ant/src/test/java/test/wsdl/header/VerifyFilesTestCase.java?p2=axis/axis1/java/trunk/axis-ant/src/test/java/test/wsdl/header/VerifyFilesTestCase.java&p1=axis/axis1/java/trunk/test/wsdl/header/VerifyFilesTestCase.java&r1=1293809&r2=1295270&rev=1295270&view=diff ============================================================================== --- axis/axis1/java/trunk/test/wsdl/header/VerifyFilesTestCase.java (original) +++ axis/axis1/java/trunk/axis-ant/src/test/java/test/wsdl/header/VerifyFilesTestCase.java Wed Feb 29 21:00:49 2012 @@ -48,7 +48,6 @@ public class VerifyFilesTestCase extends set.add("ImplicitFault.java"); set.add("Op1Fault.java"); set.add("PortType.java"); - set.add("VerifyFilesTestCase.java"); set.add("deploy.wsdd"); set.add("undeploy.wsdd"); return set; @@ -59,7 +58,8 @@ public class VerifyFilesTestCase extends * The directory containing the files that should exist. */ protected String rootDir() { - return "build" + File.separator + "work" + File.separator + + return System.getProperty("basedir", ".") + File.separator + + "target" + File.separator + "work" + File.separator + "test" + File.separator + "wsdl" + File.separator + "header"; } // rootDir Modified: axis/axis1/java/trunk/integration/pom.xml URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/integration/pom.xml?rev=1295270&r1=1295269&r2=1295270&view=diff ============================================================================== --- axis/axis1/java/trunk/integration/pom.xml (original) +++ axis/axis1/java/trunk/integration/pom.xml Wed Feb 29 21:00:49 2012 @@ -671,6 +671,19 @@ <implementation>true</implementation> </configuration> </execution> + <execution> + <id>header</id> + <goals> + <goal>wsdl2java-test</goal> + </goals> + <configuration> + <file>src/test/wsdl/header/header.wsdl</file> + <deployScope>none</deployScope> + <serverSide>true</serverSide> + <skeleton>true</skeleton> + <implementation>true</implementation> + </configuration> + </execution> <!-- Include test --> <execution> <id>include</id>