Developer's Corner

Guidelines for developing the WinVMJ plugin. Follow the steps and get familiar with essential classes for plugin development.

Opening Plugin Projects

Follow these steps to open plugin projects in Eclipse:

  1. Open your Eclipse IDE.
  2. Select File > Open projects from file system...
  3. Click Directory, and then locate the following directories in the repository:
    • de.ovgu.featureide.core.winvmj
    • de.ovgu.featureide.core.winvmj.feature
    • de.ovgu.featureide.core.winvmj.updatesite

Important Classes

Key classes to be aware of when developing the WinVMJ plugin:

  • WinVMJCorePlugin: The activator class of this plugin.
  • WinVMJComposer: The composer class of this plugin.
  • WinVMJFMComposer: FM composer class of this plugin, implemented to disable feature order due to the Delta-Oriented Programming (DOP) approach.
  • WinVMJProduct: Defines a WinVMJ product variation based on configuration or generated product.
  • SourceCompiler: Utility class for compiling a generated product into runnable JARs.
  • TemplateRenderer: Abstract class for generating artifacts using the Freemarker Template Engine. All templates should be stored in resources/templates.
  • InternalResourceManager: Utility class used to export assets from resources.