From Fedora Project Wiki

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

This test case tests whether packaged thermostat can be used to build custom (third-party) thermostat plugins.

Setup

  1. Boot into the machine/VM you wish to test.
  2. If thermostat is not installed yet, install thermostat.
  3. Make sure you have maven-local installed. You can install it via: sudo yum install maven-local
  4. Make sure you have mercurial installed. You can install it via: sudo yum install mercurial

How to test

  1. Clone a sample custom thermostat plugin: hg clone http://icedtea.classpath.org/people/jerboaa/kernel-cmdline-plugin/
  2. cd into to the custom plugin code: cd kernel-cmdline-plugin
  3. Build the custom plug-in using mvn-local: mvn-build -f -i

Expected Results

  1. In step 3 thermostat modules should be resolvable via maven and the build should finish successfully. For example file kernel-cmdline-plugin/agent/target/thermostat-plug-in-agent-0.0.1-SNAPSHOT.jar should exist.
  2. Please note that the plug-in does not actually work with this newer version of thermostat (it has not yet been updated). Bonus points for developers who get it working at runtime again as well. More information here: http://icedtea.classpath.org/wiki/Thermostat/ExtensionTutorial