Hi, I tried to read the following document and setup development environment. http://incubator.apache.org/cloudstack/develop/environment.html
I am using CentOS6.3. And I think that some required processes are missing in document. 1. Need to install Maven It is not installed although maven is executed in section of "Compile and Deploy". $ mvn -P deps (install example) $ wget http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.4-bin.tar.gz $ tar xvf apache-maven-3.0.4-bin.tar.gz # mv apache-maven-3.0.4 /usr/share/ $ cat << EOF >> ~/.bashrc > export M2_HOME=/usr/share/apache-maven-3.0.4 > export PATH=\$M2_HOME/bin:\$PATH > EOF 2. Need to install "ant-nodeps" package When I executed Ant task, I looked at the following error. ----------8<----------8<---------- $ ant clean-all build-all …(snip)… BUILD FAILED /home/satoshi/Repos/incubator-cloudstack/build/build-cloud.xml:180: The following error occurred while executing this line: /home/satoshi/Repos/incubator-cloudstack/build/build-common.xml:62: Problem: failed to create task or type depend Cause: the class org.apache.tools.ant.taskdefs.optional.depend.Depend was not found. This looks like one of Ant's optional components. Action: Check that the appropriate optional JAR exists in -/usr/share/ant/lib -/home/satoshi/.ant/lib -a directory added on the command line with the -lib argument Do not panic, this is a common problem. The commonest cause is a missing JAR. This is not a bug; it is a configuration problem ----------8<----------8<---------- "org.apache.tools.ant.taskdefs.optional.depend.Depend" is not in "ant" package. It is contained in "ant-nodeps". ----------8<----------8<---------- # yum -y install ant-nodeps $ ant clean-all build-all …(snip)… BUILD SUCCESSFUL Total time: 1 minute 11 seconds ----------8<----------8<---------- Regards, Satoshi