Creating a project with several different configurations and settings within those configurations can be a time-consuming process. If you often want to support the same set of deployment platforms for each application you create, it is useful to reuse those configurations and settings. The NetBeans IDE has several features that address this need. Duplicating Project SettingsIf you have configured an entire project that has settings you would like to reuse on a new project, you can do so using the Copy Project command. To reuse a project's settings in another project:
Your newly created project has all of the settings and configurations from the original project. These may include some settings that are no longer appropriate (for example, JAD file and JAR filename, filtering options, and some JAD file attributes). Using Project Configuration TemplatesAlternatively, you might want just to reuse the settings from one or two configurations. You can do this with configuration templates, which allow you to create new configurations based on the saved settings of other useful configurations. Only the settings from panels that are not taking their values from the default configuration are stored in templates. They are very easy to create:
Now that you have saved this configuration template, it is possible to create new configurations based on it:
This template-based configuration has the same settings as the template for each panel of the template that was not using the values from the default configuration.
|