You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by ip...@apache.org on 2004/11/23 22:51:59 UTC
svn commit: r106354 - /incubator/muse/trunk/examples/disk/client/build.xml
Author: ips
Date: Tue Nov 23 13:51:58 2004
New Revision: 106354
Modified:
incubator/muse/trunk/examples/disk/client/build.xml
Log:
updated to reflect new webapp name
Modified: incubator/muse/trunk/examples/disk/client/build.xml
Url: http://svn.apache.org/viewcvs/incubator/muse/trunk/examples/disk/client/build.xml?view=diff&rev=106354&p1=incubator/muse/trunk/examples/disk/client/build.xml&r1=106353&p2=incubator/muse/trunk/examples/disk/client/build.xml&r2=106354
==============================================================================
--- incubator/muse/trunk/examples/disk/client/build.xml (original)
+++ incubator/muse/trunk/examples/disk/client/build.xml Tue Nov 23 13:51:58 2004
@@ -2,33 +2,34 @@
<project name="client" default="sendRequest" basedir=".">
- <property file="${basedir}/build.properties"/>
- <property name="jmuws.home" location="../../.." />
+ <property file="build.properties"/>
+ <property file="../build.properties"/>
+ <property file="../../build.properties"/>
+ <property name="muse.home" location="../../.." />
<target name="init">
- <available file="${jmuws.home}/webapps/wsdm" type="dir" property="wsdm.webapp.dir" value="${jmuws.home}/webapps/wsdm" />
- <available file="${jmuws.home}/target/wsdm" type="dir" property="wsdm.webapp.dir" value="${jmuws.home}/target/wsdm" />
- <fail unless="wsdm.webapp.dir" message="webapp dir ${jmuws.home}/webapps/wsdm does not exist." />
- <echo>Using webapp dir: ${wsdm.webapp.dir}</echo>
-
- <path id="jmuws.classpath.id">
- <pathelement location="${wsdm.webapp.dir}/WEB-INF/classes" />
- <fileset dir="${wsdm.webapp.dir}/WEB-INF/lib" includes="*.jar" />
+
+ <available file="${muse.home}/webapps/muse" type="dir" property="muse.webapp.dir" value="${muse.home}/webapps/muse" />
+ <available file="${muse.home}/target/muse" type="dir" property="muse.webapp.dir" value="${muse.home}/target/muse" />
+ <fail unless="muse.webapp.dir" message="webapp dir ${muse.home}/webapps/muse does not exist." />
+ <echo>Using webapp dir: ${muse.webapp.dir}</echo>
+ <path id="muse.classpath.id">
+ <pathelement location="${muse.webapp.dir}/WEB-INF/classes" />
+ <fileset dir="${muse.webapp.dir}/WEB-INF/lib" includes="*.jar" />
<pathelement location="${activation.jar}" />
<pathelement location="${mail.jar}" />
</path>
- <property name="jmuws.classpath" refid="jmuws.classpath.id" />
+ <property name="muse.classpath" refid="muse.classpath.id" />
</target>
<target name="sendRequest" depends="init"
- description="Sends a SOAP Request given a XML request file. Please use ant -Dxml=<request file> for invocation.">
+ description="Sends a SOAP Request given a XML request file. Please use ant -Dxml=<request file> for invocation.">
<fail unless="xml" message="Please use -Dxml=<request file> for invocation."/>
<echo>Endpoint URL: ${endpoint.url}</echo>
<echo>Request File: ${xml}</echo>
- <java classname="org.apache.ws.soap.SOAPClient"
- classpathref="jmuws.classpath.id">
+ <java classname="org.apache.ws.soap.SOAPClient" classpathref="muse.classpath.id">
<arg value="${endpoint.url}"/>
<arg value="${xml}"/>
</java>
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org