Changeset 10235 for trunk/gsdl3


Ignore:
Timestamp:
2005-07-08T16:09:48+12:00 (19 years ago)
Author:
kjdon
Message:

a few changes to make nocvs.mode work better, also a couple of changes for Java 1.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/build.xml

    r10197 r10235  
    8989    <os family="unix"/>
    9090  </condition>
    91 
     91 
    9292  <condition property="current.os.isunixnotmac">
    9393    <and>
    9494      <os family="unix"/>
    9595      <not>
    96       <os family="mac"/>
     96    <os family="mac"/>
    9797      </not>
    9898    </and>
     
    101101    <os family="mac"/>
    102102  </condition>
    103 
     103 
    104104  <condition property="current.os.iswindows">
    105105    <os family="windows"/>
     
    396396      dest="${collect.dir}/gberg/index"/>
    397397    <mkdir dir="${web.home}/applet"/>
    398   </target>
    399 
     398
     399    <condition property="need.xml.jars">
     400      <equals arg1="1.5" arg2="${ant.java.version}"/>
     401    </condition>
     402    <antcall target="rename-xml-jars"/>
     403  </target>
     404 
     405  <target name="rename-xml-jars" if="need.xml.jars">
     406    <copy file="${web.lib}/xalan.jar.tmp" tofile="${web.lib}/xalan.jar"/>
     407    <copy file="${web.lib}/xercesImpl.jar.tmp" tofile="${web.lib}/xercesImpl.jar"/>
     408  </target>
    400409  <target name="configure-web" depends="configure-web-gsdl3,configure-web-server"
    401410    description="Configure only the web app config files"/>
     
    923932  </target>
    924933
    925   <target name="prepare-mgpp" depends="check-cvsroot,init" unless="mgpp.present">
     934  <target name="checkout-mgpp" depends="check-cvsroot,init" unless="nocvs.mode">
    926935    <cvs command="checkout -P" package="mgpp" dest="${basedir}/packages/"/>
     936  </target>
     937 
     938  <target name="prepare-mgpp" depends="init" unless="mgpp.present">
     939    <antcall target="checkout-mgpp"/>
    927940  </target>
    928941
     
    11311144   
    11321145  </target>
    1133   <target name="prepare-gli" depends="check-cvsroot,init" if="gsdl2.islocal" unless="gli.present">
     1146  <target name="prepare-gli" depends="init" if="gsdl2.islocal" unless="gli.present">
     1147    <antcall target="checkout-gli"/>
     1148  </target>
     1149 
     1150  <target name="checkout-gli" depends="check-cvsroot,init" if="gsdl2.islocal" unless="nocvs.mode">
    11341151    <echo>checking out gli</echo>
    11351152    <cvs command="checkout -P" package="gli"/>
Note: See TracChangeset for help on using the changeset viewer.