Class NbmGenTool

java.lang.Object
com.bc.ceres.nbmgen.NbmGenTool

public class NbmGenTool extends Object
Usage:
    NbmGenTool <project-dir> <cluster> <dry-run>
 

For example:

    NbmGenTool . s1tbx true
 

Scans a ${project-dir} for Ceres modules (pom.xml + src/main/resources/module.xml) and converts each module into a NetBeans module.

WARNING: This tool will overwrite all of your pom.xml files the given ${project-dir}. It will also create or overwrite src/main/nmb/manifest.mf files. Make sure the originals of these files are committed/pushed to git before applying this tool.

  • Constructor Details

    • NbmGenTool

      public NbmGenTool(File projectDir, String cluster, boolean dryRun)
  • Method Details

    • main

      public static void main(String[] args) throws org.jdom2.JDOMException, IOException
      Throws:
      org.jdom2.JDOMException
      IOException
    • process

      public void process(com.bc.ceres.nbmgen.CeresModuleProject project) throws org.jdom2.JDOMException, IOException
      Throws:
      org.jdom2.JDOMException
      IOException