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/08 10:45:27 UTC
cvs commit: ws-sandesha/samples DeployClient.bat DeployClient.sh DeployService.bat DeployService.sh RunSimpleAxisServer.bat RunSimpleAxisServer.sh build.xml
jaliya 2005/07/08 01:45:27
Modified: . maven.xml
samples DeployClient.bat DeployClient.sh DeployService.bat
DeployService.sh RunSimpleAxisServer.bat
RunSimpleAxisServer.sh build.xml
Log:
Change the build and the scripts
Revision Changes Path
1.12 +4 -0 ws-sandesha/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/ws-sandesha/maven.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- maven.xml 7 Jul 2005 13:09:24 -0000 1.11
+++ maven.xml 8 Jul 2005 08:45:27 -0000 1.12
@@ -137,6 +137,10 @@
<ant:fileset dir="samples"/>
</ant:copy>
+
+ <attainGoal name="samples.jar"/>
+ <copy file="${maven.build.dir}/Sandesha-samples.jar" todir="${bin.dist.dir}/samples"/>
+
<ant:copy todir="${bin.dist.dir}/">
<ant:fileset dir=".">
<ant:include name="*.html"/>
1.3 +16 -5 ws-sandesha/samples/DeployClient.bat
Index: DeployClient.bat
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/DeployClient.bat,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DeployClient.bat 7 Jul 2005 13:09:25 -0000 1.2
+++ DeployClient.bat 8 Jul 2005 08:45:27 -0000 1.3
@@ -10,18 +10,29 @@
set CLASSPATH=%CLASSPATH%;..\lib\axis-wsdl4j-1.2.jar
set CLASSPATH=%CLASSPATH%;..\lib\log4j-1.2.8.jar
set CLASSPATH=%CLASSPATH%;..\lib\xerces.jar
-if exist ..\Sandesha-beta.jar goto jarfoundinroot
-if exist ..\target\Sandesha-beta.jar goto jarfoundintarget
-echo Cannot find the Sandesha-beta.jar.
+
+if exist Sandesha-samples.jar goto samplesjarfound
+echo Could not find Sandesha-samples.jar if you are using the source distribution, please
+echo run the maven command "maven samples.jar".
+pause
+goto end
+
+:samplesjarfound
+set CLASSPATH=%CLASSPATH%;Sandesha-samples.jar;
+
+
+if exist ..\Sandesha-1.0-RC1.jar goto jarfoundinroot
+if exist ..\target\Sandesha-1.0-RC1.jar goto jarfoundintarget
+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
pause
goto end
:jarfoundinroot
-set CLASSPATH=%CLASSPATH%;..\Sandesha-beta.jar;
+set CLASSPATH=%CLASSPATH%;..\Sandesha-1.0-RC1.jar;
:jarfoundintarget
-set CLASSPATH=%CLASSPATH%;..\target\Sandesha-beta.jar;
+set CLASSPATH=%CLASSPATH%;..\target\Sandesha-1.0-RC1.jar;
java org.apache.axis.utils.Admin client ClientDeploy.wsdd
:end
\ No newline at end of file
1.2 +6 -0 ws-sandesha/samples/DeployClient.sh
Index: DeployClient.sh
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/DeployClient.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DeployClient.sh 8 Jul 2005 04:58:23 -0000 1.1
+++ DeployClient.sh 8 Jul 2005 08:45:27 -0000 1.2
@@ -12,6 +12,8 @@
CLASSPATH=$CLASSPATH:../lib/log4j-1.2.8.jar
CLASSPATH=$CLASSPATH:../lib/xerces.jar
+if [ -e "Sandesha-samples.jar" ]; then
+ CLASSPATH=$CLASSPATH:Sandesha-samples.jar
if [ -e "../Sandesha-1.0-RC1.jar" ]; then
CLASSPATH=$CLASSPATH:../Sandesha-1.0-RC1.jar
export CLASSPATH
@@ -24,3 +26,7 @@
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
1.4 +23 -10 ws-sandesha/samples/DeployService.bat
Index: DeployService.bat
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/DeployService.bat,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DeployService.bat 8 Jul 2005 04:58:23 -0000 1.3
+++ DeployService.bat 8 Jul 2005 08:45:27 -0000 1.4
@@ -11,15 +11,28 @@
set CLASSPATH=%CLASSPATH%;..\lib\log4j-1.2.8.jar
set CLASSPATH=%CLASSPATH%;..\lib\xerces.jar
-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
- CLASSPATH=$CLASSPATH:../target/Sandesha-1.0-RC1.jar;
- export CLASSPATH
- java org.apache.axis.client.AdminClient RMSampleServiceDeploy.wsdd
-else
+if exist Sandesha-samples.jar goto samplesjarfound
+echo Could not find Sandesha-samples.jar if you are using the source distribution, please
+echo run the maven command "maven samples.jar".
+pause
+goto end
+
+:samplesjarfound
+set CLASSPATH=%CLASSPATH%;Sandesha-samples.jar;
+
+
+if exist ..\Sandesha-1.0-RC1.jar goto jarfoundinroot
+if exist ..\target\Sandesha-1.0-RC1.jar goto jarfoundintarget
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
+pause
+goto end
+
+:jarfoundinroot
+set CLASSPATH=%CLASSPATH%;..\Sandesha-1.0-RC1.jar;
+
+:jarfoundintarget
+set CLASSPATH=%CLASSPATH%;..\target\Sandesha-1.0-RC1.jar;
+
+java org.apache.axis.client.AdminClient RMSampleServiceDeploy.wsdd
+:end
\ No newline at end of file
1.2 +8 -0 ws-sandesha/samples/DeployService.sh
Index: DeployService.sh
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/DeployService.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DeployService.sh 8 Jul 2005 04:58:23 -0000 1.1
+++ DeployService.sh 8 Jul 2005 08:45:27 -0000 1.2
@@ -12,6 +12,8 @@
CLASSPATH=$CLASSPATH:../lib/log4j-1.2.8.jar
CLASSPATH=$CLASSPATH:../lib/xerces.jar
+if [ -e "Sandesha-samples.jar" ]; then
+ CLASSPATH=$CLASSPATH:Sandesha-samples.jar
if [ -e "../Sandesha-1.0-RC1.jar" ]; then
CLASSPATH=$CLASSPATH:../Sandesha-1.0-RC1.jar
export CLASSPATH
@@ -24,3 +26,9 @@
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
+
+java org.apache.axis.client.AdminClient RMSampleServiceDeploy.wsdd
1.3 +15 -5 ws-sandesha/samples/RunSimpleAxisServer.bat
Index: RunSimpleAxisServer.bat
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/RunSimpleAxisServer.bat,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RunSimpleAxisServer.bat 7 Jul 2005 13:09:25 -0000 1.2
+++ RunSimpleAxisServer.bat 8 Jul 2005 08:45:27 -0000 1.3
@@ -10,18 +10,28 @@
set CLASSPATH=%CLASSPATH%;..\lib\axis-wsdl4j-1.2.jar
set CLASSPATH=%CLASSPATH%;..\lib\log4j-1.2.8.jar
set CLASSPATH=%CLASSPATH%;..\lib\xerces.jar
-if exist ..\Sandesha-beta.jar goto jarfoundinroot
-if exist ..\target\Sandesha-beta.jar goto jarfoundintarget
-echo Cannot find the Sandesha-beta.jar.
+
+if exist Sandesha-samples.jar goto samplesjarfound
+echo Could not find Sandesha-samples.jar if you are using the source distribution, please
+echo run the maven command "maven samples.jar".
+pause
+goto end
+
+:samplesjarfound
+set CLASSPATH=%CLASSPATH%;Sandesha-samples.jar;
+
+if exist ..\Sandesha-1.0-RC1.jar goto jarfoundinroot
+if exist ..\target\Sandesha-1.0-RC1.jar goto jarfoundintarget
+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
pause
goto end
:jarfoundinroot
-set CLASSPATH=%CLASSPATH%;..\Sandesha-beta.jar;
+set CLASSPATH=%CLASSPATH%;..\Sandesha-1.0-RC1.jar;
:jarfoundintarget
-set CLASSPATH=%CLASSPATH%;..\target\Sandesha-beta.jar;
+set CLASSPATH=%CLASSPATH%;..\target\Sandesha-1.0-RC1.jar;
java org.apache.axis.transport.http.SimpleAxisServer
:end
\ No newline at end of file
1.2 +6 -0 ws-sandesha/samples/RunSimpleAxisServer.sh
Index: RunSimpleAxisServer.sh
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/RunSimpleAxisServer.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- RunSimpleAxisServer.sh 8 Jul 2005 04:58:23 -0000 1.1
+++ RunSimpleAxisServer.sh 8 Jul 2005 08:45:27 -0000 1.2
@@ -12,6 +12,8 @@
CLASSPATH=$CLASSPATH:../lib/log4j-1.2.8.jar
CLASSPATH=$CLASSPATH:../lib/xerces.jar
+if [ -e "Sandesha-samples.jar" ]; then
+ CLASSPATH=$CLASSPATH:Sandesha-samples.jar
if [ -e "../Sandesha-1.0-RC1.jar" ]; then
CLASSPATH=$CLASSPATH:../Sandesha-1.0-RC1.jar
export CLASSPATH
@@ -23,4 +25,8 @@
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
+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
1.5 +4 -4 ws-sandesha/samples/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/ws-sandesha/samples/build.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- build.xml 2 Jul 2005 11:17:35 -0000 1.4
+++ build.xml 8 Jul 2005 08:45:27 -0000 1.5
@@ -40,12 +40,12 @@
</target>
<target name="check.jar">
- <available property="sandesha.jar.found1" file="../Sandesha-beta.jar"/>
- <available property="target.directory.found" file="../target/Sandesha-beta.jar"/>
+ <available property="sandesha.jar.found1" file="../Sandesha-1.0-RC1.jar"/>
+ <available property="target.directory.found" file="../target/Sandesha-1.0-RC1.jar"/>
</target>
<target name="set.jar.at.root" depends="check.jar" unless="sandesha.jar.found1">
- <echo message="Cannot find the Sandesha-beta.jar."/>
+ <echo message="Cannot find the Sandesha-1.0-RC1.jar."/>
<fail message="If you are using the source distribution, please build the source using maven before running the samples."/>
</target>
@@ -59,7 +59,7 @@
<property name="dir.libs" value="../lib"/>
<property name="dir.root" value="../"/>
<property name="dir.target" value="../target"/>
- <property name="jar.name" value="Sandesha-beta.jar"/>
+ <property name="jar.name" value="Sandesha-1.0-RC1.jar"/>
<path id="classpath.libraries" description="3rd party libs">
<fileset dir="${dir.libs}">
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org