Hi!
with your help,i installed lams correctly last time. Today, For mastering the installation process, i uninstall the lams and try toreinstall it again. but when i installing ant, i encounter the problem like follows:
[root@localhost lams]# ant/bin/ant install
Buildfile: build.xml
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
install:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
check-software:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
check-jboss:
[echo] Checking for jboss-4.0.2 directory at /usr/local/java/jboss
confirm-jboss:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
check-java-dir:
[echo] Checking for java 1.5 or 1.6 jvm at /usr/local/java/jdk1.5.0_11
confirm-java-dir:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
confirm-javac:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
check-mysql:
[echo] Checking for mysql 5.0.x is installed
[echo] /usr/local/mysql/bin/mysql Ver 14.12 Distrib 5.0.37, for pc-linux-gnu (i686) using EditLine wrapper
confirm-mysql:
[echo] All required software has been installed, continuing with the install
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
configure-jboss:
[echo] Copying jboss-cache.jar and jgroups.jar from /usr/local/java/jboss/server/all/lib to /usr/local/java/jboss/server/default/lib
[copy] Copying 1 file to /usr/local/java/jboss/server/default/lib
[copy] Copying 1 file to /usr/local/java/jboss/server/default/lib
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
build-database:
[echo] Creating and configuring database
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
create-database:
[echo] NOTE: IF YOU HAVE FORGOTTEN TO PUT YOUR MYSQL ROOT PASSWORD IN lams.properties, YOU WILL BE PROMPTED TO ENTER THE ROOT PASSWORD HERE 7 TIMES
[echo] Mysql root password required to disable foreign key checks
BUILD FAILED
/var/www/lams/build.xml:34: The following error occurred while executing this line:
/var/www/lams/build.xml:140: The following error occurred while executing this line:
/var/www/lams/build.xml:151: Execute failed: java.io.IOException: java.io.IOException: mysql: not found
Total time: 0 seconds
what the problem it is? how can i solve it?
thanks again!!
Posted by ablet wayit