view distribution/config/commands/gui.properties @ 1007:53ce942c35c1

Convert plugins to use plugin installation mechanism This commit converts the existing Thermostat plugins (Host CPU, Thread, NUMA, etc.) to be installed using the plugin installation mechanism. Each plugin now has a distribution module that creates a zip artifact with the necessary jars and plugin.xml using maven-assembly-plugin. The assembly descriptor is put in a shared place for all plugins under a new top-level assembly module. The main distribution module now has a dependency on each plugin's zip artifact. At build time, the distribution module invokes maven-assembly-plugin again to unpack all plugins' distribution zips under target/plugins. The reason for using zips is that it seemed to be the only way for maven-assembly-plugin to create the desired layout under target/plugins, although other archive formats should work just as well. I have similarly changed distribution to use maven-assembly-plugin to place core jars under target/libs. The one difference here is that expectj.jar and tools.jar are no longer included. This seems to be since expectj is only used for testing and tools.jar is always provided by the system. So this change should be beneficial in that regard, along with reducing the amount of plugins we use and thus simplifying our build. I have also modified the plugin.xml parser to ignore comments, as the copyright headers were breaking it. As far as building goes, mvn clean package still builds the core and all plugins. Reviewed-by: jerboaa, omajid, vanaltj Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-February/005580.html
author Elliott Baron <ebaron@redhat.com>
date Tue, 26 Feb 2013 15:31:32 -0500
parents 186115da601f
children
line wrap: on
line source

bundles = thermostat-storage-mongodb-${project.version}.jar, \
          mongo.jar, \
          commons-beanutils.jar, \
          commons-collections.jar, \
          commons-codec.jar, \
          commons-logging.jar, \
          gson.jar, \
          thermostat-web-common-@project.version@.jar, \
          thermostat-web-client-@project.version@.jar, \
          thermostat-common-command-@project.version@.jar, \
          thermostat-client-core-@project.version@.jar, \
          thermostat-client-cli-@project.version@.jar, \
          thermostat-client-swing-@project.version@.jar, \
          thermostat-swing-components-@project.version@.jar, \
          thermostat-client-command-@project.version@.jar, \
          thermostat-killvm-client-swing-@project.version@.jar, \
          thermostat-osgi-living-vm-filter-core-@project.version@.jar, \
          thermostat-osgi-living-vm-filter-swing-@project.version@.jar, \
          thermostat-osgi-process-handler-@project.version@.jar, \
          httpcomponents-core.jar, \
          httpcomponents-client.jar, \
          netty.jar

description = launches the GUI client

usage = gui [-l <level>]

options = AUTO_LOG_OPTION