Creating a new feature

If you create a new freature, pay attention to the following points:

  1. If the plugins that are part of the feature are not open source, add a buckminster.cspex into the root folder of your feature that has the following contents in order to disable source feature generation:
    <?xml version="1.0" encoding="UTF-8"?>
    <cspecExtension xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns="http://www.eclipse.org/buckminster/CSpec-1.0">
      <actions>
        <!-- Disable generation of source feature -->
        <public name="source.feature.jars" actor="null"/>
        <!-- Disable generation of source bundles -->
        <public name="source.bundle.jars" actor="null"/>
      </actions>
      <alterActions>
        <remove name="source.feature.jars"/>
        <remove name="source.bundle.jars"/>
      </alterActions>
    </cspecExtension>
    
  2. Add an entry to org.knime.build.config/versions.txt for the new feature (find the correct block and insert it in alphabetical order)
  3. Add the feature to the "Included Features" of the update site feature on which it should occur. Also add it to the correct update site category via the update site feature's build.properties file.
  4. In case the feature contains nodes that should be tested as part of the standard workflow tests, add the feature to the "Dependencies" of the existing feature org.knime.features.testing.
LinkedInTwitterShare