Versions Compared

Key

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

...

Temporary Build Process on ASF Master

This build process is based on ant, waf and maven. In future, we'll try to have maven do everything for us.

Code Block
$ rm -fr ~/.m2 #optional
$ cd incubator-cloudstack
$ mvn -P deps # gets
$ ant clean-all build-all
$ ant deploy-server # ant deploy-server before you deploydb
$ ant deploydb # usual ant stuff :)

To buid with nonoss plugins we need to apply a patch and copy nonoss libs (cloud-iControl.jar, cloud-netscaler.jar, cloud-netscaler-sdx.jar, cloud-manageontap.jar, vmware-vim.jar,vmware-vim25.jar, vmware-apputils.jar) to /deps:

Code Block

$ wget http://bhaisaab.org/patches/cloudstack/0001-BUILD-Make-CloudStack-buildable-with-nonoss-libs.patch
$ git pull <branch; master>
$ git am <patch>
$ mvn -P deps
$ ./waf rpm # or, do ant build-all etc.

Building RPM packages

Use waf to build packages for linux systems that use rpms, like RedHat, CentOS and fedora.

...