You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ja...@apache.org on 2005/07/12 14:23:23 UTC
cvs commit: ws-sandesha/samples DeployClient.sh DeployService.sh RunSimpleAxisServer.sh RunTCPMon.sh client-config.wsdd
jaliya 2005/07/12 05:23:23
Modified: samples DeployClient.sh DeployService.sh
RunSimpleAxisServer.sh RunTCPMon.sh
client-config.wsdd
Log:
Simple corrections to the shell scripts for the samples
Revision Changes Path
1.3 +7 -7 ws-sandesha/samples/DeployClient.sh
Index: DeployClient.sh
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/DeployClient.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DeployClient.sh 8 Jul 2005 08:45:27 -0000 1.2
+++ DeployClient.sh 12 Jul 2005 12:23:22 -0000 1.3
@@ -12,21 +12,21 @@
CLASSPATH=$CLASSPATH:../lib/log4j-1.2.8.jar
CLASSPATH=$CLASSPATH:../lib/xerces.jar
-if [ -e "Sandesha-samples.jar" ]; then
+if [ -e Sandesha-samples.jar ]; then
CLASSPATH=$CLASSPATH:Sandesha-samples.jar
-if [ -e "../Sandesha-1.0-RC1.jar" ]; then
+if [ -e ../Sandesha-1.0-RC1.jar ]; then
CLASSPATH=$CLASSPATH:../Sandesha-1.0-RC1.jar
export CLASSPATH
java org.apache.axis.utils.Admin client ClientDeploy.wsdd
-elif [ -e "../target/Sandesha-1.0-RC1.jar" ]; then
+elif [ -e ../target/Sandesha-1.0-RC1.jar ]; then
CLASSPATH=$CLASSPATH:../target/Sandesha-1.0-RC1.jar;
export CLASSPATH
java org.apache.axis.utils.Admin client ClientDeploy.wsdd
else
-echo Cannot find the Sandesha-1.0-RC1.jar.
-echo If you are using the source distribution, please build the source using maven before running the samples
+echo "Cannot find the Sandesha-1.0-RC1.jar."
+echo "If you are using the source distribution, please build the source using maven before running the samples"
fi
else
-echo Could not find Sandesha-samples.jar if you are using the source distribution, please
-echo run the maven command "maven samples.jar".
+echo "Could not find Sandesha-samples.jar if you are using the source distribution, please"
+echo "run the maven command maven samples.jar."
fi
1.3 +10 -10 ws-sandesha/samples/DeployService.sh
Index: DeployService.sh
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/DeployService.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DeployService.sh 8 Jul 2005 08:45:27 -0000 1.2
+++ DeployService.sh 12 Jul 2005 12:23:23 -0000 1.3
@@ -1,5 +1,5 @@
#!/bin/sh
-CLASSPATH='.'
+CLASSPATH=.
CLASSPATH=$CLASSPATH:../lib/addressing-SNAPSHOT.jar
CLASSPATH=$CLASSPATH:../lib/axis-1.2.jar
CLASSPATH=$CLASSPATH:../lib/axis-ant-1.2.jar
@@ -12,23 +12,23 @@
CLASSPATH=$CLASSPATH:../lib/log4j-1.2.8.jar
CLASSPATH=$CLASSPATH:../lib/xerces.jar
-if [ -e "Sandesha-samples.jar" ]; then
+if [ -e Sandesha-samples.jar ]; then
CLASSPATH=$CLASSPATH:Sandesha-samples.jar
-if [ -e "../Sandesha-1.0-RC1.jar" ]; then
+if [ -e ../Sandesha-1.0-RC1.jar ]; then
CLASSPATH=$CLASSPATH:../Sandesha-1.0-RC1.jar
export CLASSPATH
- java org.apache.axis.client.AdminClient RMSampleServiceDeploy.wsdd
-elif [ -e "../target/Sandesha-1.0-RC1.jar" ]; then
+ java -classpath $CLASSPATH org.apache.axis.client.AdminClient RMSampleServiceDeploy.wsdd
+elif [ -e ../target/Sandesha-1.0-RC1.jar ]; then
CLASSPATH=$CLASSPATH:../target/Sandesha-1.0-RC1.jar;
export CLASSPATH
- java org.apache.axis.client.AdminClient RMSampleServiceDeploy.wsdd
+ java -classpath $CLASSPATH org.apache.axis.client.AdminClient RMSampleServiceDeploy.wsdd
else
-echo Cannot find the Sandesha-1.0-RC1.jar.
-echo If you are using the source distribution, please build the source using maven before running the samples
+echo "Cannot find the Sandesha-1.0-RC1.jar."
+echo "If you are using the source distribution, please build the source using maven before running the samples"
fi
else
-echo Could not find Sandesha-samples.jar if you are using the source distribution, please
-echo run the maven command "maven samples.jar".
+echo "Could not find Sandesha-samples.jar if you are using the source distribution, please"
+echo "run the maven command maven samples.jar"
fi
java org.apache.axis.client.AdminClient RMSampleServiceDeploy.wsdd
1.3 +11 -11 ws-sandesha/samples/RunSimpleAxisServer.sh
Index: RunSimpleAxisServer.sh
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/RunSimpleAxisServer.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RunSimpleAxisServer.sh 8 Jul 2005 08:45:27 -0000 1.2
+++ RunSimpleAxisServer.sh 12 Jul 2005 12:23:23 -0000 1.3
@@ -1,5 +1,5 @@
#!/bin/sh
-CLASSPATH='.'
+CLASSPATH=.
CLASSPATH=$CLASSPATH:../lib/addressing-SNAPSHOT.jar
CLASSPATH=$CLASSPATH:../lib/axis-1.2.jar
CLASSPATH=$CLASSPATH:../lib/axis-ant-1.2.jar
@@ -12,21 +12,21 @@
CLASSPATH=$CLASSPATH:../lib/log4j-1.2.8.jar
CLASSPATH=$CLASSPATH:../lib/xerces.jar
-if [ -e "Sandesha-samples.jar" ]; then
+if [ -e Sandesha-samples.jar ]; then
CLASSPATH=$CLASSPATH:Sandesha-samples.jar
-if [ -e "../Sandesha-1.0-RC1.jar" ]; then
+if [ -e ../Sandesha-1.0-RC1.jar ]; then
CLASSPATH=$CLASSPATH:../Sandesha-1.0-RC1.jar
export CLASSPATH
- java org.apache.axis.transport.http.SimpleAxisServer
-elif [ -e "../target/Sandesha-1.0-RC1.jar" ]; then
+ java -classpath $CLASSPATH org.apache.axis.transport.http.SimpleAxisServer
+elif [ -e ../target/Sandesha-1.0-RC1.jar ]; then
CLASSPATH=$CLASSPATH:../target/Sandesha-1.0-RC1.jar;
export CLASSPATH
- java org.apache.axis.transport.http.SimpleAxisServer
+ java -classpath $CLASSPATH org.apache.axis.transport.http.SimpleAxisServer
else
-echo Cannot find the Sandesha-1.0-RC1.jar.
-echo If you are using the source distribution, please build the source using maven before running the samples
+echo "Cannot find the Sandesha-1.0-RC1.jar."
+echo "If you are using the source distribution, please build the source using maven before running the samples"
fi
else
-echo Could not find Sandesha-samples.jar if you are using the source distribution, please
-echo run the maven command "maven samples.jar".
-fi
\ No newline at end of file
+echo "Could not find Sandesha-samples.jar if you are using the source distribution, please"
+echo "run the maven goal maven samples.jar."
+fi
1.2 +2 -2 ws-sandesha/samples/RunTCPMon.sh
Index: RunTCPMon.sh
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/RunTCPMon.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- RunTCPMon.sh 8 Jul 2005 04:58:23 -0000 1.1
+++ RunTCPMon.sh 12 Jul 2005 12:23:23 -0000 1.2
@@ -1,5 +1,5 @@
#!/bin/sh
-CLASSPATH='.'
+CLASSPATH=.
CLASSPATH=$CLASSPATH:../lib/addressing-SNAPSHOT.jar
CLASSPATH=$CLASSPATH:../lib/axis-1.2.jar
CLASSPATH=$CLASSPATH:../lib/axis-ant-1.2.jar
@@ -12,4 +12,4 @@
CLASSPATH=$CLASSPATH:../lib/log4j-1.2.8.jar
CLASSPATH=$CLASSPATH:../lib/xerces.jar
export CLASSPATH
-java org.apache.axis.utils.tcpmon
+java -classpath $CLASSPATH org.apache.axis.utils.tcpmon
1.2 +3 -21 ws-sandesha/samples/client-config.wsdd
Index: client-config.wsdd
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/client-config.wsdd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- client-config.wsdd 10 Jun 2005 11:38:08 -0000 1.1
+++ client-config.wsdd 12 Jul 2005 12:23:23 -0000 1.2
@@ -1,30 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- ======================================================================================
-/*
-* Copyright 1999-2004 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License"); you may not
-* use this file except in compliance with the License. You may obtain a copy of
-* the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-* License for the specific language governing permissions and limitations under
-* the License.
-*
-*/
-====================================================================================== -->
-
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<globalConfiguration>
<parameter name="adminPassword" value="admin"/>
+ <parameter name="enableNamespacePrefixOptimization" value="true"/>
<parameter name="disablePrettyXML" value="true"/>
- <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
- <parameter name="sendXsiTypes" value="true"/>
<parameter name="sendMultiRefs" value="true"/>
+ <parameter name="sendXsiTypes" value="true"/>
+ <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
<parameter name="sendXMLDeclaration" value="true"/>
</globalConfiguration>
<handler name="RMSender" type="java:org.apache.sandesha.client.RMSender"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org