...
NB: Test your environment variables by opening a Cygwin shell and typing 'which mvn'. This should return the path to the ant executable.
...
From a Cygwin window:
git clone https://github.com/apache/incubator-cloudstack![](/confluence/images/icons/linkext7.gif)
...
-> tomcat_home=C:\Tomcat 6.0
...
-> http://svnpenn.blogspot.com/2011/06/mkisofs-for-windows_24.html
Copy over the above exe some place in C:\, and set the PATH env variable for Windows 7 to point to this directory.
vijayendra1@sjcwvijayendra1 /cygdrive/c/Users/vijayendra1.CITRITE/My Documents/cloudstack/cloudstack-oss
$ cat build/override/replace.properties
DBUSER=cloud
DBPW=cloud
DBROOTPW=
MSLOG=vmops.log
APISERVERLOG=api.log
DBHOST=localhost
AGENTLOGDIR=logs
AGENTLOG=logs/agent.log
MSMNTDIR=/mnt
COMPONENTS-SPEC=components-premium.xml
vijayendra1@sjcwvijayendra1
Move to the base folder for the CloudStack source, and use the following commands:
mvn -deps
ant
Issue the following command to build the mgmt server and start it up: ant clean-all build-all deploy-server deploydb
ant
ant debug
Open the mgmt server console using http://localhost:8080 and configure it as required.
h3 Step 14) Parting words
When you make changes to the code, and want to restart the mgmt. server, you should not recreate the mysql database, because that would wipe out the setup. So you make your code changes, and then do –
ant ant clean-all build-all deploy-server
and
and debug
ant debug