Changeset 9628


Ignore:
Timestamp:
2005-04-11T17:03:47+12:00 (19 years ago)
Author:
kjdon
Message:

added some restart targets, changes to axis targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/build.xml

    r9623 r9628  
    305305    <copy file="${basedir}/web/sites/localsite/siteConfig.xml.in" tofile="${basedir}/web/sites/localsite/siteConfig.xml" filtering="true"/>
    306306    <copy file="${basedir}/web/sites/gateway/siteConfig.xml.in" tofile="${basedir}/web/sites/gateway/siteConfig.xml" filtering="true"/>
    307     <!--<copy file="${basedir}/resources/java/SOAPServer.cfg.in" tofile="${basedir}/resources/java/SOAPServer.cfg" filtering="true"/>-->
     307    <copy file="${basedir}/resources/java/SOAPServer.cfg.in" tofile="${basedir}/resources/java/SOAPServer.cfg" filtering="true"/>
    308308
    309309  </target>
     
    848848 
    849849  <target name="restart" description="Shutdown and restart the Greenstone servers" depends="init,shutdown,startup"/>
     850  <target name="restart-tomcat" description="Shutdown and restart only Tomcat" depends="init,shutdown-tomcat,startup-tomcat"/>
     851  <target name="restart-mysql" description="Shutdown and restart only mysql" depends="init,shutdown-mysql,startup-mysql"/>
    850852
    851853  <target name="test" description="Run the (incomplete) JUnit test suite "
     
    898900  </target>
    899901
     902  <target name="get-siteuri">
     903    <input addproperty="axis.siteuri" message="What name do you want the service to have? (press enter for default:localsite)" defaultvalue="localsite"/>
     904  </target>
    900905  <target name="create-deployment-files" depends="get-sitename"
    901906    if="axis.sitename" unless="deploy.exists">
    902907    <filter token="sitename" value="${axis.sitename}"/>
     908    <filter token="siteuri" value="${axis.siteuri}"/>
    903909    <copy file="${basedir}/resources/soap/site.wsdd.template"
    904910      tofile="${basedir}/resources/soap/${axis.sitename}.wsdd"
     
    932938  </target>
    933939   
    934   <target name="axis-deploy-site" depends="get-sitename,create-deployment-files,restart">
     940  <target name="soap-deploy-site" depends="get-sitename,get-siteuri,create-deployment-files,restart-tomcat"
     941    description="Deploy a SOAP web service for a local Greenstone site">
    935942    <java classname="org.apache.axis.client.AdminClient">
    936943      <classpath refid="compile.classpath"/>
     
    941948  </target>
    942949 
    943   <target name="axis-undeploy-site" depends="get-sitename">
     950  <target name="soap-undeploy-site" depends="get-sitename"
     951    description="Undeploy a SOAP web service for a local Greenstone site">
    944952    <java classname="org.apache.axis.client.AdminClient">
    945953      <classpath refid="compile.classpath"/>
Note: See TracChangeset for help on using the changeset viewer.