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 sc...@apache.org on 2005/02/09 23:02:17 UTC
svn commit: r153123 - in incubator/muse/site/tutorial: disk/build.xml
probe/probeclient probe/probeclient.bat
Author: scamp
Date: Wed Feb 9 14:02:13 2005
New Revision: 153123
URL: http://svn.apache.org/viewcvs?view=rev&rev=153123
Log: (empty)
Modified:
incubator/muse/site/tutorial/disk/build.xml
incubator/muse/site/tutorial/probe/probeclient
incubator/muse/site/tutorial/probe/probeclient.bat
Modified: incubator/muse/site/tutorial/disk/build.xml
URL: http://svn.apache.org/viewcvs/incubator/muse/site/tutorial/disk/build.xml?view=diff&r1=153122&r2=153123
==============================================================================
--- incubator/muse/site/tutorial/disk/build.xml (original)
+++ incubator/muse/site/tutorial/disk/build.xml Wed Feb 9 14:02:13 2005
@@ -9,40 +9,30 @@
<!-- workaround for those IDEs that don't set ant.home as they should -->
<property name="ant.home" value="${env.ANT_HOME}"/>
- <property name="muse.home" location="../../.." />
+ <property name="dist.home" location="../../.." />
+ <property name="dev.home" location="../../../../.." />
+
<property name="generated.src.dir" location="generated/src"/>
<property name="generated.classes.dir" location="generated/classes"/>
<property name="src.dir" location="src" />
<property name="disk.wsdl" location="${src.dir}/wsdl/disk.wsdl" />
-
-
- <target name="sendRequest" depends="init"
- 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="muse.classpath.id">
- <arg value="${endpoint.url}"/>
- <arg value="${xml}"/>
- </java>
-
- </target>
-
-
+
<target name="init">
- <available file="${muse.home}/webapps/muse" type="dir" property="internal.muse.webapp.dir" value="${muse.home}/webapps/muse" />
- <available file="${muse.home}/target/muse" type="dir" property="dist.muse.webapp.dir" value="${muse.home}/target/muse" />
- <condition property="muse.webapp.dir" value="${internal.muse.webapp.dir}">
- <isset property="internal.muse.webapp.dir"/>
- </condition>
+ <available file="${dist.home}/webapps/muse" type="dir" property="dist.muse.webapp.dir" value="${dist.home}/webapps/muse" />
<condition property="muse.webapp.dir" value="${dist.muse.webapp.dir}">
<isset property="dist.muse.webapp.dir"/>
</condition>
+ <available file="${dev.home}/target/muse" type="dir" property="dev.muse.webapp.dir" value="${dev.home}/target/muse" />
+ <condition property="muse.webapp.dir" value="${dev.muse.webapp.dir}">
+ <isset property="dev.muse.webapp.dir"/>
+ </condition>
- <fail unless="muse.webapp.dir" message="webapp dir ${muse.home}/webapps/muse does not exist." />
+ <fail unless="muse.webapp.dir" message="webapp dir ${dist.home}/webapps/muse does not exist." />
<echo>Using webapp dir: ${muse.webapp.dir}</echo>
+
+ <property name="junit.jar" location="${muse.webapp.dir}/WEB-INF/lib/junit-3.8.1.jar" />
+ <copy file="${junit.jar}" todir="${ant.home}/lib" verbose="true" />
<path id="muse.classpath.id">
<pathelement location="${generated.classes.dir}" />
@@ -150,6 +140,19 @@
<target name="clean" description="delete the generated source and class files">
<delete dir="generated" />
+ </target>
+
+ <target name="sendRequest" depends="init"
+ 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="muse.classpath.id">
+ <arg value="${endpoint.url}"/>
+ <arg value="${xml}"/>
+ </java>
+
</target>
<target name="usage">
Modified: incubator/muse/site/tutorial/probe/probeclient
URL: http://svn.apache.org/viewcvs/incubator/muse/site/tutorial/probe/probeclient?view=diff&r1=153122&r2=153123
==============================================================================
--- incubator/muse/site/tutorial/probe/probeclient (original)
+++ incubator/muse/site/tutorial/probe/probeclient Wed Feb 9 14:02:13 2005
@@ -6,9 +6,9 @@
fi
MUSE_HOME=../../..
-if [ -f "$MUSE_HOME/target/muse/WEB-INF/lib/wsdm-xmlbeans-SNAPSHOT.jar" ]; then
+if [ -f "$MUSE_HOME/target/muse/WEB-INF/lib/wsfx-xmlbeans-SNAPSHOT.jar" ]; then
WEBAPP_DIR="$MUSE_HOME/target/muse"
-elif [ -f "$MUSE_HOME/webapps/muse/WEB-INF/lib/wsdm-xmlbeans-SNAPSHOT.jar" ]; then
+elif [ -f "$MUSE_HOME/webapps/muse/WEB-INF/lib/wsfx-xmlbeans-SNAPSHOT.jar" ]; then
WEBAPP_DIR="$MUSE_HOME/webapps/muse"
else
echo "muse webapp dir not found at $MUSE_HOME/webapps/muse or $MUSE_HOME/target/muse. Aborting..." >&2
Modified: incubator/muse/site/tutorial/probe/probeclient.bat
URL: http://svn.apache.org/viewcvs/incubator/muse/site/tutorial/probe/probeclient.bat?view=diff&r1=153122&r2=153123
==============================================================================
--- incubator/muse/site/tutorial/probe/probeclient.bat (original)
+++ incubator/muse/site/tutorial/probe/probeclient.bat Wed Feb 9 14:02:13 2005
@@ -1,7 +1,7 @@
@echo off
-if exist ..\..\..\webapps\muse\WEB-INF\lib\wsdm-xmlbeans-SNAPSHOT.jar set WEBAPP_HOME="..\..\..\webapps\muse\"
-if exist ..\..\..\target\muse\WEB-INF\lib\wsdm-xmlbeans-SNAPSHOT.jar set WEBAPP_HOME="..\..\..\target\muse\"
+if exist ..\..\..\webapps\muse\WEB-INF\lib\wsfx-xmlbeans-SNAPSHOT.jar set WEBAPP_HOME="..\..\..\webapps\muse\"
+if exist ..\..\..\target\muse\WEB-INF\lib\wsfx-xmlbeans-SNAPSHOT.jar set WEBAPP_HOME="..\..\..\target\muse\"
if exist generated\classes\com\probe\nul goto noerror
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org