Versions Compared

Key

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

...

Warning
titleUnder development

This feature is still being developed and tested, might not work as expected

Temporary Build Process on ASF

...

4.0

Warning
titletemporary

The project is migrating from ant/waf to maven next to some changes on how to do distributions and binary releases. Below are the instructions used until the 4.1.0 version was set on master. Most of these instructions are still valid for 4.1.0, but check back regularly as maven might introduce some changes to the build process

...

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 /depstwo patches(0001-fix-nonoss-build.patch and 0002-BUILD-nonoss-libs-for-CloudStack.patch):

Code Block
$ wget http://bhaisaab.org/patches/cloudstack/0001-BUILD-Make-CloudStack-buildable-withgit checkout 4.0
$ git am 0001-fix-nonoss-build.patch
$ git am 0002-BUILD-nonoss-libs-for-CloudStack.patch
$ mvn install -P kvm -Dnonoss
$ mvn install -P netapp -Dnonoss
$ mvn gitinstall pull-P <branch;f5 master>-Dnonoss
$ git am <patch> mvn install -P netscaler -Dnonoss
$ mvn install -P srx deps-Dnonoss
$ mvn ./waf rpm # or, do ant build-all etc.

...

install -P vmware -Dnonoss
$ mvn install -P deps
$ ./waf rpm

Building RPM packages

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

...