You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by wi...@apache.org on 2005/10/06 21:35:07 UTC
svn commit: r306869 - /webservices/muse/trunk/client/src/resource/build.xml
Author: wire
Date: Thu Oct 6 12:35:05 2005
New Revision: 306869
URL: http://svn.apache.org/viewcvs?rev=306869&view=rev
Log:
Added a depends chain and code up update the test source copy of the resource code.
Modified:
webservices/muse/trunk/client/src/resource/build.xml
Modified: webservices/muse/trunk/client/src/resource/build.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/client/src/resource/build.xml?rev=306869&r1=306868&r2=306869&view=diff
==============================================================================
--- webservices/muse/trunk/client/src/resource/build.xml (original)
+++ webservices/muse/trunk/client/src/resource/build.xml Thu Oct 6 12:35:05 2005
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<project name="client_resource_buildfile" default="usage" basedir=".">
+<project name="client_resource_buildfile" default="deploy" basedir=".">
<property environment="env" />
<property file="build.properties" />
@@ -26,7 +26,6 @@
<pathelement location="${wsdm.webapp.dir}/WEB-INF/classes" />
<fileset dir="${wsdm.webapp.dir}/WEB-INF/lib" includes="*.jar" />
<fileset dir="${jar.dir}" />
- <pathelement location="${activation.jar}" />
<pathelement location="${mail.jar}" />
</path>
<property name="muse.classpath" refid="muse.classpath.id" />
@@ -64,7 +63,7 @@
</target>
<target name="compile"
- depends="init"
+ depends="generate"
description="compile all classes below classes directory">
<mkdir dir="${classes.dir}" />
<javac srcdir="${src.dir}"
@@ -78,7 +77,7 @@
</target>
<target name="deploy"
- depends="init"
+ depends="compile"
description="deploys the services to the muse webapp">
<!--
<mkdir dir="${wsdm.webapp.dir}/epr"/>
@@ -93,6 +92,11 @@
<copy todir="${wsdm.webapp.dir}/wsdl" overwrite="true" verbose="true">
<fileset dir="${wsdl.dir}" includes="**/*.xsd"/>
</copy>
+ <echo>Updating Resource code in the Unit Test Directory...</echo>
+ <copy todir="../test/org/apache/ws/service/testresource" overwrite="true" verbose="true">
+ <fileset dir="target/TestResource/src/java/org/apache/ws/service/testresource" includes="*.java"/>
+ </copy>
+
<echo>Deploying classes to ${wsdm.webapp.dir}/WEB-INF/classes/...</echo>
<copy todir="${wsdm.webapp.dir}/WEB-INF/classes" overwrite="true" verbose="true" >
<fileset dir="${classes.dir}" />