Rubrique précédente: Create a New Report MetricRubrique suivante: Custom Companions


Deploy a New Report Metric

You must make a custom report metric available before you can use it in a staging document.

Follow these steps:

  1. Tell LISA to look for a new custom report metric in a lisaextensions file, as:
    metrics=com.mycompany.lisa.metric.RandomizerMetricIntegration 
    

    You can also add the report metric through the lisa.properties file, using stats.metrics.types key.

  2. Copy the JAR file that contains your metric and the lisaextensions file to the LISA hotDeploy directory at LISA_HOME/hotDeploy.

    If your custom metric depends on any third-party libraries, copy those libraries to the LISA hotDeploy directory.

  3. If you are already running LISA, exit and restart the program for this new setting to take effect.