Changeset 10685


Ignore:
Timestamp:
2005-10-04T17:12:09+13:00 (19 years ago)
Author:
kjdon
Message:

moved the mysql set password bit into the install target (instead of prepare target, so only get prompted for password once. prepare-for-dist and install-for-dist can now use the modified prepare-mysql and configure-mysql

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/build.xml

    r10680 r10685  
    217217    description="Use this when you first checkout the code: 'ant prepare install'. This will do some additional cvs checkouts and downloads, so you need to be online to run this."/>
    218218
    219   <target name="install" depends="init,configure,configure-c++,compile,deploy-localsite"
     219  <target name="install" depends="init,configure-mysql,configure,configure-c++,compile,deploy-localsite"
    220220    description="Install Greenstone 3. Use this when you first checkout the code: 'ant prepare install'."/>
    221221 
     
    580580
    581581  <!-- this is one target that we only want to run once. -->
    582   <target name="prepare-mysql" depends="init,init-mysql-vars,install-mysql,start-mysql,setup-mysql,set-mysql-account-passwords,stop-mysql"/>
     582  <target name="prepare-mysql" depends="init,init-mysql-vars,install-mysql,start-mysql,setup-mysql,stop-mysql-no-password"/>
    583583
    584584  <target name="init-mysql-vars">
     
    633633   </target>
    634634 
     635  <target name="configure-mysql" depends="init,init-mysql-vars,start-mysql,set-mysql-account-passwords,stop-mysql" description="sets up the mysql account passwords"/>
     636 
    635637  <target name="get-mysql-root-password" depends="init,init-mysql-vars" if="mysql.islocal.usepassword">
    636638     <condition property="ask.root.password">
     
    14111413    <antcall target="unzip-windows-packages"/>
    14121414    <antcall target="get-windows-binaries"/>
    1413     <antcall target="install-mysql"/>
    1414     <antcall target="start-mysql"/>
    1415     <antcall target="setup-mysql"/>
    1416     <antcall target="stop-mysql-no-password"/>
     1415    <antcall target="prepare-mysql"/>
    14171416    <antcall target="prepare-tomcat"/>
    14181417    <antcall target="configure-tomcat"/>
     
    14361435  </target>
    14371436
    1438   <target name="install-for-dist" depends="accept-properties,init,start-mysql,set-mysql-account-passwords,stop-mysql,configure,configure-tomcat">
     1437  <target name="install-for-dist" depends="accept-properties,init,configure-mysql,configure,configure-tomcat">
    14391438   
    14401439  </target>
Note: See TracChangeset for help on using the changeset viewer.