Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 2a) Add Plugins to Eclipse

...

CloudStack includes portions of Python code, which is best editted with the PyDev Eclipse plug-in

Install Python 2.7

Install PyDev using Eclipse

  • 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/updatesImage Added 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

The M2E plug-in allows Eclipse to import CloudStack's pom.xml Thus, pom.xml files become a substitute for the .project files that Eclipse normally uses.

Install M2E using Eclipse

  • 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) Install Apache Tomcat 6.0.33

...

vijayendra1@sjcwvijayendra1

Step 12) Build

Move To pull in dependencies, go to the base folder for the CloudStack source, and use the following commandscloudstack source folder and run:

mvn -P deps

To compile Apache CloudStack, go to the cloudstack source folder and run:

ant clean-all build-all

To deploy Apache CloudStack, run:

ant deploy-server deploydb

Deploy the database next:

ant debugdeploydb

Step 13) Verify

Open the mgmt server console using http://localhost:8080 and configure it as required.

...