You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/03/14 07:39:48 UTC

cvs commit: ws-axis/c/build serviceInitialize.xml

sanjaya     2005/03/13 22:39:48

  Added:       c/build  serviceInitialize.xml
  Log:
  ant build file for Initialization of service deployment ant framework
  
  Revision  Changes    Path
  1.1                  ws-axis/c/build/serviceInitialize.xml
  
  Index: serviceInitialize.xml
  ===================================================================
  <project>
  	<target name="decideserverproperties">
  	<if>
  		<isset property="windows"/>
  		<then>
  			<echo message="we are in windows"/>
  			<property name="ps" value="\"/>
  			<!-- environment variables start from here in pairs -->
  			<property name="serverenv.env1" value="AXISCPP_DEPLOY" />
  			<property name="serverenv.env1.value" value="${basedir}\..\..\..\Axis"/>
  			<property name="serverenv.env2" value="PATH"/>
  			<property name="serverenv.env2.value" 
  				value="${java.library.path};${basedir}\..\..\..\Axis\lib"/>
  
  			<!-- The path to axiscpp.conf -->
  			<property name="axiscppconffile" value="${basedir}\..\..\..\Axis\axiscpp.conf" />
  
  			<if>
  			<istrue value="${server.apache1}"/>
  				<then>
  					<property name="serverexecutable" value="${env.APACHE_HOME}\apache"/>
  					<property name="startargs" value="-k start"/>
  					<property name="stopargs" value=" -k stop"/>
  
  				</then>
  				<else>
  					<if>
  					<istrue value="${server.apache2}"/>
  					<then>
  						<property name="serverexecutable" value="${env.APACHE2_HOME}\bin\apache"/>
  						<property name="startargs" value=" "/>
  					</then>
  					<elseif>
  						<istrue value="${server.simpleaxisserver}"/>
  						<then>
  						<property name="serverexecutable" 
  							value="${basedir}/../../../obj/bin/${simpleAxisServerExecutableName}${executableSuffix}"/>
  						<property name="startargs" value=" ${testPort}"/>
  						</then>
  					</elseif>
  					</if>
  				</else>
  			</if>
  
  
  		</then>
  		<elseif>
  		<isset property="linux"/>
  		<then>
  			<echo message="we are in linux" />
  			<property name="ps" value="/"/>
  
  			<!-- The path to axiscpp.conf -->
  			<property name="axiscppconffile" value="${basedir}\..\..\..\Axis\axiscpp.conf" />
  		</then>
  		</elseif>
  	</if>
  
  	</target>
  </project>