Changeset 10678
- Timestamp:
- 2005-10-03T16:45:10+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/build.xml
r10676 r10678 284 284 mysql.installed.path=${mysql.installed.path} (this is the location of mysql if it is already installed) 285 285 mysql.port=${mysql.port} 286 If these are not acceptable, please change them and rerun this target. Continue [y/n]? "/>286 If these are not acceptable, please change them and rerun this target. Continue [y/n]? /> 287 287 </input> 288 <condition property="do.abort"> 288 <condition property="do.abort"> 289 289 <equals arg1="n" arg2="${properties.ok}"/> 290 290 </condition> … … 614 614 </and> 615 615 </condition> 616 <condition property="mysql.islocal.nopassword"> 616 <condition property="mysql.islocal.usepassword.unix"> 617 <and> 618 <isset property="mysql.islocal.usepassword"/> 619 <isset property="current.os.isunix"/> 620 </and> 621 </condition> 622 <condition property="mysql.islocal.nopassword"> 617 623 <and> 618 624 <isset property="mysql.islocal"/> … … 809 815 </target> 810 816 811 <target name="stop-mysql-use-password-linux" depends="init" if="mysql.islocal.usepassword ">817 <target name="stop-mysql-use-password-linux" depends="init" if="mysql.islocal.usepassword.unix"> 812 818 <echo>At the password prompt, enter the mysql root password.</echo> 813 819 <exec executable="${mysql.home}/bin/mysqladmin" dir="${mysql.home}" … … 821 827 822 828 <target name="stop-mysql-use-password-windows" depends="init" if="mysql.islocal.usepassword.windows"> 823 <andcall target="get-mysql-root-password"/> 829 <!--<antcall target="get-mysql-root-password"/> 830 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.--> 831 <condition property="ask.root.password"> 832 <or> 833 <not> 834 <isset property="mysql.root.password"/> 835 </not> 836 <equals arg1="" arg2="${mysql.root.password}"/> 837 </or> 838 </condition> 839 <getuserandpassword message="Please specify the password for the root mysql user: this is to secure your database." if="ask.root.password" username="root" pwordproperty="mysql.root.password"/> 824 840 <!-- on windows it doesn't work unless the password is specified here --> 825 841 <exec executable="${mysql.home}/bin/mysqladmin" dir="${mysql.home}"
Note:
See TracChangeset
for help on using the changeset viewer.