Changeset 10773
- Timestamp:
- 2005-10-26T13:40:16+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/build.xml
r10770 r10773 651 651 652 652 <target name="get-mysql-root-password" depends="init,init-mysql-vars" if="mysql.islocal.usepassword" unless="mysql.root.password"> 653 <echo>(Enter password in the Java popup)</echo> 653 654 <getuserandpassword message="Please specify a password for the root mysql user: this is to secure your database." username="root" pwordproperty="mysql.root.password"/> 654 655 </target> 655 656 657 <target name="get-mysql-root-password-windows" depends="init,init-mysql-vars" if="mysql.islocal.usepassword.windows" unless="mysql.root.password"> 658 <echo>(Enter password in the Java popup)</echo> 659 <getuserandpassword message="Please enter the mysql root password" username="root" pwordproperty="mysql.root.password"/> 660 </target> 661 656 662 <target name="get-mysql-reader-password" depends="init,init-mysql-vars" if="mysql.islocal.usepassword" unless="mysql.reader.password" > 663 <echo>(Enter password in the Java popup)</echo> 657 664 <getuserandpassword message="Please specify the password for the gsdl3reader mysql user: this is used by greenstone" username="gsdl3reader" pwordproperty="mysql.reader.password"/> 658 665 </target> 659 666 660 667 <target name="get-mysql-admin-password" depends="init,init-mysql-vars" if="mysql.islocal.usepassword" unless="mysql.admin.password" > 668 <echo>(Enter password in the Java popup)</echo> 661 669 <getuserandpassword message="Please specify the password for the gsdl3admin mysql user: this is used by greenstone" username="gsdl3admin" pwordproperty="mysql.admin.password"/> 662 670 </target> … … 836 844 </target> 837 845 838 <target name="stop-mysql-use-password-windows" depends="init" if="mysql.islocal.usepassword.windows"> 839 <!--<antcall target="get-mysql-root-password"/> 840 antcall doesn't set the property in teh callign project. if put this in the depends list, it will always be called, even if not windows. so copy it in here.--> 841 <condition property="ask.root.password"> 842 <or> 843 <not> 844 <isset property="mysql.root.password"/> 845 </not> 846 <equals arg1="" arg2="${mysql.root.password}"/> 847 </or> 848 </condition> 849 <getuserandpassword message="Please enter the mysql root password:" if="ask.root.password" username="root" pwordproperty="mysql.root.password"/> 846 <target name="stop-mysql-use-password-windows" depends="init,get-mysql-root-password-windows" if="mysql.islocal.usepassword.windows"> 850 847 <!-- on windows it doesn't work unless the password is specified here --> 851 848 <exec executable="${mysql.home}/bin/mysqladmin" dir="${mysql.home}"
Note:
See TracChangeset
for help on using the changeset viewer.