GitHub user rsafonseca opened a pull request: https://github.com/apache/cloudstack/pull/372
Embedded Tomcat & Jetty Well, this spruces things up a bit :) Some of the features/fixes (i may have forgotten a couple as this involved a lot of changes ;) ) - Embedded Tomcat support - Embedded Jetty support - Reduce management .deb package to roughly half the size - Reduce common .rpm package to roughly half the size - Transparent support for more distros like Fedora 21 - Reduced dependencies on the packages, such as mysql-connector-java which are now bundled - Upgraded Jetty version used by Travis from oldie and discontinued morbay 6.x version to current eclipse 9.x version - Tidy up debian packaging under /packaging and include support on package.sh - Cleanup of a lot of duplicate files which made it harder to maintain and caused some fixes to be implemented only for some distros - Consolidates a few configs that were different across distros and shouldn't be - Enables running with any version of openjdk runtime and compiling with any version of openjdk devel as long as they meet the minimum requirements (Java 7+) without conflicting with other packages. The package.sh script packages ASF Tomcat by default, you can package it with Jetty instead by passing -j or --jetty :) There's still a couple more things to consolidate and a couple more places to remove hardcoding of configs like the cloud user, but i'll take care of that on a later PR :) You can merge this pull request into a Git repository by running: $ git pull https://github.com/rsafonseca/cloudstack fixpackaging2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/372.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #372 ---- commit decde6d129ce8c87a82d8aa00a6723b91c322e02 Author: Rafael da Fonseca <rsafons...@gmail.com> Date: 2015-05-03T18:59:53Z Tomcat packaging Reduced cloudstack-management_4.6.0-snapshot_all.deb size from 211Mb to 94Mb (CentOS is 92Mb) This deb file was packing two copies of the systemvm (which is alread packed in cloudstack-common), so removed like in CentOS RPM specs Fedora 21 support for management :) Removed Fedora specific branches (symlink fedora2x points to centos7 so, using same installer :) Small cleanup of duplicate files Added embedded jetty Support for choosing tomcat or jetty on package.sh Removed mysql driver distro dependency Replaced old mortbay jetty 6 with eclipse jetty 9 Removed duplicate files Tidy up debian packaging Make things work on debian Cleanup, fixes, distro abstraction, etc Fix simulator for new jetty plugin Fix servlet engines on older mvn version Config jetty version Fix juli logging manager error on tomcat Fix dep problem with mysqlha plugin ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---