axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: r154671 - in webservices/axis/trunk/java/modules/tool: maven.xml src/script/jar-tool-UI.bat src/script/server.bat src/script/start.bat
Date Mon, 21 Feb 2005 13:34:07 GMT
Author: ajith
Date: Mon Feb 21 05:34:03 2005
New Revision: 154671

URL: http://svn.apache.org/viewcvs?view=rev&rev=154671
Log:
Added the necessary scripts to run a simple axis server and the jar building tool

Added:
    webservices/axis/trunk/java/modules/tool/maven.xml
    webservices/axis/trunk/java/modules/tool/src/script/jar-tool-UI.bat
    webservices/axis/trunk/java/modules/tool/src/script/server.bat
    webservices/axis/trunk/java/modules/tool/src/script/start.bat

Added: webservices/axis/trunk/java/modules/tool/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/maven.xml?view=auto&rev=154671
==============================================================================
--- webservices/axis/trunk/java/modules/tool/maven.xml (added)
+++ webservices/axis/trunk/java/modules/tool/maven.xml Mon Feb 21 05:34:03 2005
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $ -->
+
+<project default="jar"
+    xmlns:j="jelly:core"
+    xmlns:maven="jelly:maven"
+    xmlns:deploy="deploy"
+    xmlns:ant="jelly:ant">
+    <postGoal name="jar">
+        <!--<attainGoal name="jar-tool"/>-->
+    </postGoal> 
+    <goal name="jar-tool">
+    	<!-- make the jar tool-->
+		<mkdir  dir="target/jar-tool"/>
+		<mkdir  dir="target/jar-tool"/>
+		<copy todir="target/jar-tool">
+			<fileset dir="target">
+				<include name="axis2*.jar"/>
+			</fileset>
+		</copy>
+		<copy file="${maven.repo.local}/ant/jars/ant-1.6.2.jar" todir="target/jar-tool"/>
+        <copy file="src/script/jar-tool-UI.bat" todir="target/jar-tool"></copy>
+	    </goal>
+ </project>

Added: webservices/axis/trunk/java/modules/tool/src/script/jar-tool-UI.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/src/script/jar-tool-UI.bat?view=auto&rev=154671
==============================================================================
--- webservices/axis/trunk/java/modules/tool/src/script/jar-tool-UI.bat (added)
+++ webservices/axis/trunk/java/modules/tool/src/script/jar-tool-UI.bat Mon Feb 21 05:34:03
2005
@@ -0,0 +1,10 @@
+@echo off
+rem ---------------------------------------------------------------------------
+rem Start script for running the jar generator tool
+rem
+rem ---------------------------------------------------------------------------
+
+rem set the class path for the tool
+set TOOL_CLASS_PATH=".\axis2-tools-M1.jar;.\ant-1.6.2.jar"
+
+java -cp %TOOL_CLASS_PATH% org.apache.axis.tool.ui.MainWindow

Added: webservices/axis/trunk/java/modules/tool/src/script/server.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/src/script/server.bat?view=auto&rev=154671
==============================================================================
--- webservices/axis/trunk/java/modules/tool/src/script/server.bat (added)
+++ webservices/axis/trunk/java/modules/tool/src/script/server.bat Mon Feb 21 05:34:03 2005
@@ -0,0 +1,10 @@
+@echo off
+rem ---------------------------------------------------------------------------
+rem Start script for running the Simple Axis Server
+rem
+rem ---------------------------------------------------------------------------
+
+rem get the classes for the simple axis server
+set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M1.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2-RC1.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+
+java -cp %AXIS2_CLASS_PATH% org.apache.axis.transport.http.SimpleHTTPServer %1 %2

Added: webservices/axis/trunk/java/modules/tool/src/script/start.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/src/script/start.bat?view=auto&rev=154671
==============================================================================
--- webservices/axis/trunk/java/modules/tool/src/script/start.bat (added)
+++ webservices/axis/trunk/java/modules/tool/src/script/start.bat Mon Feb 21 05:34:03 2005
@@ -0,0 +1,35 @@
+@echo off
+rem ---------------------------------------------------------------------------
+rem Start script for the Simple Axis Server
+rem
+rem This starts the server with default parameters
+rem ---------------------------------------------------------------------------
+
+rem Guess AXIS_HOME if not defined
+if not "%AXIS_HOME%" == "" goto gotHome
+cd ..
+set AXIS_HOME=%cd%
+
+:gotHome
+
+if exist "%AXIS_HOME%\bin\server.bat" goto okHome
+echo The AXIS_HOME environment variable is not defined correctly
+echo This environment variable is needed to run this program
+goto end
+
+:okHome
+rem check for the default service repository
+if exist "%AXIS_HOME%\repository" goto okRepo
+mkdir "%AXIS_HOME%\repository"
+
+:okRepo
+set REPO_FOLDER=%AXIS_HOME%\repository
+if exist "%REPO_FOLDER%\services" goto okService
+mkdir "%REPO_FOLDER%\services"
+
+:okService
+set EXECUTABLE="%AXIS_HOME%\bin\server.bat"
+
+call %EXECUTABLE% %REPO_FOLDER% 8080   
+
+:end



Mime
View raw message