...
CloudStack includes portions of Python code, which is best editted with the PyDev Eclipse plug-in
OPTIONAL: Install Python 2.7
When Eclipse is launched from the Windows shell, its PyDev plugin will not have access to the Cygwin installation of Python. If you want to give PyDev access to Python, install it.
OPTIONAL: Install PyDev using Eclipse
PyDev enhances the Eclipse environment Python specific features.
- Open Eclipse, if it is not already open.
- Navigate to tool bar menu Help --> Installing New Software...
- Using the Add... button, add the site http://pydev.org/updates
Image Removed to the Work with dropdown list - 'PyDev' should appear in the window below, select and proceed through the Wizard.
- Keep an eye on the install, you may be prompted to confirm that you trust the PyDev plug-in
...
- Open Eclipse, if it is not already open.
- Navigate to tool bar menu Help --> Installing New Software...
- Select --All Available Sites- - from the dropdown list.
- Wait for 'Pending...' to disappear from the box with the Name and Version colums
- Filter the results with the text 'm2e'
Add M2Eclipse
Step 3) OPTIONAL: Install Apache Tomcat 6.0.33
For development purposes, you do not need Apache Tomcat. There are Maven scripts available to launch the management server in Jetty, which provides Tomcat functionality.
Apache Tomcat is the open source web server and servlet container that hosts CloudStack's management server.
...
- Unlike Eclipse, the downloaded Tomcat is a self-installing executable.
- Leave the port at 8080 and the username/password empty
- Your JRE may be auto detected. If not, it will probably be a JDK or JRE under C:\Program Files\Java\
- Do not use default install folder. Folders under c:\Program Files are subject to special access control that creates problems later.
Use C:\cstoosls\Tomcat6.0
instead
To inform the Cygwin environment of where Tomcat is, update your Windows environment variables.
- Define CATALINA_HOME as a Windows System environment variable, and give it the value of the install folder for Tomcat. E.g.
C:\cstoosls\Tomcat6.0
- Unlike JAVA, which an environment variable named after the product to locate its install directory (JAVA_HOME), Tomcat uses an environment variable named after the servlet container component (CATALINA_HOME)
- Add '%CATALINA_HOME%\bin' to the Windows System environment variable PATH
...
Download the self-installing exe for Python 2.7 from http://dev.mysql.com/downloads/connector/python/
Step 6) DEPRECATED: Install Apache Ant
A manual installation of Ant is only required for building CloudStack 4.0.
Ant is available from http://ant.apache.org/bindownload.cgi
...
NB: Test your environment variables by opening a Cygwin shell and typing 'which ant'. This should return the path to the ant executable.
Step 7) Install Apache Maven 3.0
Maven is available from http://maven.apache.org/download.html
- Version 3.x is preferred required for CloudStack
- Maven does not have an O/S-specific installer. Thus, the .zip you download does not include an .MSI file
- Place the unzipped download in the folder you want to run Maven from.
- Choose folder such that there are no spaces in the path! E.g.
C:\cstools\maven
To inform the Cygwin environment of where Maven is, update your Windows environment variables.
- Define MAVEN_HOME M2_HOME as a Windows System environment variable, and give it the value of the install folder for Tomcat. POSIX path compatible with Cygwin E.g.
C:\Program Files\Apache Software Foundation\apache-maven-3.0.4
/cygdrive/c/cstools/maven
- Add '%MAVEN%M2_HOME%\bin' to the Windows System environment variable PATH
...
Step 9) Install "mkisofs"
...