There is a bug in the 4.0.x Debian/rules file that excludes the optional -Dnonoss flag. Look at the 4.1 branch copy and note the env variable I added to support optional mvn flags during the packaging's build step.
On Apr 27, 2013, at 1:22 PM, "Jim L." <j...@pobox.com> wrote: > Hi David, > > I know Wido's DEBs do not have VMWare support (at least, the last time I > tried to used them). I'll give the RPM's a try, however. > > In the meantime: is there additional documentation/wiki/back of a napkin > that explains how to build DEB or RPM packages with VMWare support? I > would like to have that ability if I decide to write additional plugins for > some projects I'm working on. I did try to "hand-roll" an installation on > Ubuntu by taking the 3.0.2 version I have now and using that as a template > to modify the 4.0.2 /etc/cloud/management/components.xml file, adding the > adapters VMWare Discoverer and VMWare HypervisorGuru to the config. I also > added the /usr/share/java/cloud-plugins directory with the VMWare base and > hypervisor jars ( in addition to the vmware-vim25.jar, vmware-apputils,jar, > etc., files), but I encountered numerous classpath/missing jar issues. I > (think I) finally resolved those, but the VMwareGuru component will not > instantiate/initialize, so I put all of that on hold until I could get some > help. > > So, I'll give Wido's repo a try on CentOS but it would be great to know > how to do this on my own as well and would prefer Ubuntu if possible. > Thanks for responding. > > > Regards, > > --Jim L. > > > > On Sat, Apr 27, 2013 at 11:12 AM, David Nalley <da...@gnsa.us> wrote: > >> On Sat, Apr 27, 2013 at 9:07 AM, Jim L. <j...@pobox.com> wrote: >>> Hi, >>> >>> I have been trying to build either RPMs or DEB packages for Cloudstack >>> 4.0.2 with VMWare enabled, but have been unsuccessful. I can build >>> successfully using Maven (mvn -P deps -D nonoss) but the DEB/RPM build >>> processes apparently rebuild on their own without using the artifacts >>> created by the Maven build. >>> >>> We are currently using the Cloudstack 3.0.2 version, but want to take >>> advantage of the latest features available with 4.0.2. >>> >>> Can anyone please help? Is there a way to install what is being built >> for >>> DEB/RPMs and then manually modify that installed Cloudstack 4.0.2 >>> environment to support VMWare? >>> >>> >>> Regards, >>> >>> --Jim L. >> >> Hi Jim, >> >> So while I am happy to help you build those packages, do you really >> need to build them yourself? >> Wido's yum repo has packages with VMware support (I can't speak for >> the debs, I don't think 4.0.2 is there yet) >> http://cloudstack.apt-get.eu/rhel/4.0/ >> >> --David >>