Changeset 13842


Ignore:
Timestamp:
2007-02-01T11:39:27+13:00 (17 years ago)
Author:
kjdon
Message:

deploy-localsite not run as part of standard install. Also, now it doesn't need to create the deployment files, so the source code is not needed for deploying localsite. However, it would be needed for deploying other SOAP servers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/build.xml

    r13841 r13842  
    260260      includes="*.sh,*.pl"/>
    261261  </target>
    262   <target name="install" depends="init,configure,configure-c++,compile,deploy-localsite"
     262  <target name="install" depends="init,configure,configure-c++,compile"
    263263    description="Install Greenstone 3. Use this when you first checkout the code: 'ant prepare install'."/>
    264264 
     
    691691  </target>
    692692
    693   <target name="soap-deploy-site" depends="get-sitename,get-siteuri,create-deployment-files"
    694     description="Deploy a SOAP web service for a local Greenstone site">
     693  <target name="soap-deploy-site" depends="init,get-sitename,get-siteuri,create-deployment-files,deploy-site"
     694    description="Deploy a SOAP web service for a local Greenstone site. Tomcat must be running for this to work."/>
     695 
     696  <target name="deploy-site">
    695697    <java classname="org.apache.axis.client.AdminClient">
    696698      <classpath refid="compile.classpath"/>
     
    702704 
    703705  <target name="soap-undeploy-site" depends="get-sitename"
    704     description="Undeploy a SOAP web service for a local Greenstone site">
     706    description="Undeploy a SOAP web service for a local Greenstone site. Tomcat must be running for this to work.">
    705707    <java classname="org.apache.axis.client.AdminClient">
    706708      <classpath refid="compile.classpath"/>
     
    711713  </target>
    712714
    713   <!-- this target used to deploy the localsite server for the default installation -->
    714   <target name="deploy-localsite" depends="init">
     715  <!-- this target used to deploy the preprepared localsite server  -->
     716  <target name="deploy-localsite" depends="init"
     717    description="Deploy the SOAP server for localsite. Will start and stop Tomcat.">
    715718    <antcall target="start-tomcat"/>
    716     <antcall target="soap-deploy-site">
     719    <antcall target="deploy-site">
    717720      <param name="axis.sitename" value="localsite"/>
    718       <param name="axis.siteuri" value="localsite"/>
    719721    </antcall>
    720722    <antcall target="stop-tomcat"/>
     
    729731    <echo>${axis.sitename}, ${axis.siteuri}</echo>
    730732  </target>
     733
    731734  <target name="check-deployment-files" depends="get-sitename">
    732735    <condition property="deploy.exists">
     
    812815    </jar>
    813816    <copy file="${build.home}/gsdl3.jar" todir="${web.lib}"/>
     817    <!-- copy the localsite server in case we need it -->
     818    <copy file="${build.home}/org/greenstone/gsdl3/SOAPServerlocalsite.class" tofile="${web.classes}/org/greenstone/gsdl3/SOAPServerlocalsite.class" />
     819
    814820    <jar destfile="${build.home}/GAI.jar">
    815821      <fileset dir="${build.home}">
Note: See TracChangeset for help on using the changeset viewer.