Bundling a Project Template or Sample

See Also

The New Project Template wizard creates a new project template or project sample. You can create an NBM file that contains your template or sample. When the user installs the NBM file, the template or sample will be available in the New Project wizard.

Before you can use the New Project Template wizard, you must have a project in the IDE that is structured in exactly the way that you would like it to be available in the New Project wizard. For example, if you are going to create a new project sample, you must first lay it out in the IDE. Then use the New Project Template wizard to add the template to the New Project wizard.

To create a new project template or sample:

  1. Right-click a module project and choose New > Project Template.
  2. In the Select Project page, you have to specify the project that you want to make available as a project template or sample. You can use the Project drop-down list to select an open project or you can click Browse to browse to a project in your filesystem.

    Click Next.

  3. In the Name, Icon, and Location page, you have to set the following:

    Click Finish.

  4. After completing the wizard, you can do one or more of the following:
See Also
About NetBeans Platform and Module Development
About the NetBeans Platform

Legal Notices