axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject cvs commit: ws-axis/contrib/j2me/rpc build.xml
Date Thu, 19 Aug 2004 01:07:49 GMT
ias         2004/08/18 18:07:49

  Modified:    contrib/j2me/rpc build.xml
  Log:
  Add targets for tests.
  
  Revision  Changes    Path
  1.2       +28 -0     ws-axis/contrib/j2me/rpc/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/j2me/rpc/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	13 Feb 2004 15:22:47 -0000	1.1
  +++ build.xml	19 Aug 2004 01:07:48 -0000	1.2
  @@ -41,4 +41,32 @@
           </javac>
       </target>
   
  +    <target name="generate-test-client" depends="compile">
  +        <mkdir dir="${basedir}/test/employee-db/client/src/generated"/>
  +        <java fork="true" classname="org.apache.axis.j2me.rpc.wsdl.tojava.WsdlToJ2me">
  +            <arg value="${basedir}/test/employee-db/service/src/wsdl/EmployeeDatabase.wsdl"/>
  +            <arg value="-o"/>
  +	    	<arg value="${basedir}/test/employee-db/client/src/generated"/>
  +            <classpath refid="classpath"/>
  +        </java>
  +    </target>
  +
  +    <target name="generate-test-service" depends="init">
  +        <mkdir dir="${basedir}/test/employee-db/service/src/java/generated"/>
  +        <java fork="true" classname="org.apache.axis.wsdl.WSDL2Java">
  +            <arg value="${basedir}/test/employee-db/service/src/wsdl/EmployeeDatabase.wsdl"/>
  +            <arg value="-s"/>
  +            <arg value="-o"/>
  +	    	<arg value="${basedir}/test/employee-db/service/src/java/generated"/>
  +            <classpath refid="classpath"/>
  +        </java>
  +    </target>
  +
  +    <target name="compile-test-service" depends="init">
  +        <mkdir dir="${basedir}/test/employee-db/service/classes"/>
  +        <javac srcdir="${basedir}/test/employee-db/service/src/java/generated" destdir="${basedir}/test/employee-db/service/classes"
debug="on">
  +            <classpath refid="classpath"/>
  +        </javac>
  +    </target>
  +
   </project>
  
  
  

Mime
View raw message