Previous Topic: Create a New FilterNext Topic: Define and Test a New Filter


Deploy a New Filter

You must make a custom filter available in the model editor before you can use it in a test case.

Follow these steps:

  1. Tell DevTest to look for a new custom filter in a lisaextensions file, as:
    filters=com.mycompany.lisa.FilterFileFirstLine
     com.mycompany.lisa.FilterFileFirstLine=com.itko.lisa.editor.FilterController,com.itko.lisa.editor.DefaultFilterEditor
    

    You can also add this filter to the wizards in the wizards.xml file.

  2. Copy the JAR file that contains your custom filter and lisaextensions file to the LISA_HOME\hotDeploy directory.

    If your custom filter depends on any third-party libraries, copy those libraries to the LISA_HOME\hotDeploy directory.

    In this example, the FilterFileFirstLine described previously has already been packaged for you at LISA_HOME\doc\DevGuide\lisaint-examples.jar. This custom filter does not depend on any third-party libraries.

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