Changeset 9513


Ignore:
Timestamp:
2005-03-30T15:03:22+12:00 (19 years ago)
Author:
kjdon
Message:

small changes

File:
1 edited

Legend:

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

    r9499 r9513  
    106106
    107107  <property name="compile.debug"       value="true"/>
    108   <property name="compile.deprecation" value="false"/>
     108  <property name="compile.deprecation" value="true"/>
    109109  <property name="compile.optimize"    value="true"/>
    110110
     
    140140
    141141    <!-- Include the axis jar files -->
    142     <fileset dir="${basedir}/comms/axis/lib">
     142    <fileset dir="${basedir}/comms/soap/axis/lib">
    143143      <include name="*.jar"/>
    144144    </fileset>
     
    422422    <fail if="java.too.old" message="You need Java 1.4 or greater to run Greenstone 3"/>
    423423   
    424     <available file="${basedir}/packages/mgpp" property="mgpp.present"/>
     424    <available file="${basedir}/packages/mgpp/text" property="mgpp.present"/>
    425425    <available file="${basedir}/comms/jakarta/tomcat" property="tomcat.present"/>
    426426    <available file="${basedir}/gli" property="gli.present"/>
    427427    <available file="${basedir}/gs2build" property="gs2build.present"/>
    428     <available file="${basedir}/comms/axis" property="axis.present"/>
     428    <available file="${basedir}/comms/soap/axis" property="axis.present"/>
     429    <available file="${basedir}/comms/jakarta/tomcat/webapps/axis" property="axis.installed"/>
    429430    <condition property="gsdl2.islocal">
    430431      <or>
     
    454455    <mysetproxy proxyhost="${proxy.host}" proxyport="${proxy.port}" proxyuser="${proxy.user}" proxypassword="${proxy.password}"/>
    455456  </target>
    456 
    457   <target name="test-classpath">
    458     <echo>${java.class.path}</echo>
    459   </target>
    460457 
    461458  <!-- this is all the do-once things -->
    462   <target name="preparation" depends="init,prepare-mgpp,prepare-gs2building,prepare-tomcat,prepare-axis,unpack-collections">
    463   </target>
    464  
     459  <target name="preparation" depends="init,update-gsdl3,prepare-mgpp,prepare-gs2building,prepare-tomcat,prepare-axis,unpack-collections">
     460  </target>
     461 
     462  <target name="update-gsdl3">
     463    <cvs command="update -dP"/>
     464  </target>
     465
    465466  <!-- this is config stuff, that can be done more than once - should be rerun is the build.properties file changes -->
    466467  <target name="configuration" depends="init,configure-tomcat,configure-files"/>
     
    569570      <equals arg1="1.4" arg2="${ant.java.version}"/>
    570571    </condition>
    571     <antcall target="install-tomcat-compat"/>
     572    <antcall target="prepare-tomcat-compat"/>
    572573    <move todir="${basedir}/comms/jakarta/tomcat">
    573574      <fileset dir="${basedir}/comms/jakarta/jakarta-tomcat-5.5.7"/>
     
    598599  <target name="prepare-axis" depends="init" unless="axis.present">
    599600    <get src="http://www.greenstone.org/gs3files/axis-1_1.zip"
    600       dest="${basedir}/comms/axis-1_1.zip"/>
    601     <unzip src="${basedir}/comms/axis-1_1.zip"
    602       dest="${basedir}/comms/"/>
    603     <move todir="${basedir}/comms/axis">
    604       <fileset dir="${basedir}/comms/axis-1_1"/>
     601      dest="${basedir}/comms/soap/axis-1_1.zip"/>
     602    <unzip src="${basedir}/comms/soap/axis-1_1.zip"
     603      dest="${basedir}/comms/soap/"/>
     604    <move todir="${basedir}/comms/soap/axis">
     605      <fileset dir="${basedir}/comms/soap/axis-1_1"/>
    605606    </move>
    606 
    607   </target>
    608  
    609   <target name="prepare-gs2building" depends="init, prepare-gs2build,prepare-gli" if="gsdl2.islocal">
     607    <!-- install the webapp into tomcat -->
     608    <copy todir="${tomcat.home}/webapps/axis">
     609      <fileset dir="${basedir}/comms/soap/axis/webapps/axis"/>
     610    </copy>
     611  </target>
     612
     613
     614  <target name="prepare-gs2building" depends="init,prepare-gs2build,prepare-gli" if="gsdl2.islocal">
    610615    <echo>checking out gs2 building stuff</echo>
    611616  </target>
Note: See TracChangeset for help on using the changeset viewer.