How determine all available project types?

Apache NetBeans Wiki Index

Note: These pages are being reviewed.

  • create a new nbm-module using the "New Project…​"-wizard and choose your target platform

  • create a layer.xml using the "New File…​"-wizard

  • expand the nodes "Important Files/XML Layer/<this layer in context>/Projects" within the project view

  • the direct childnodes of "Projects" are the supported project types of the target platform (see the screenshot below)

The project type can be used for extending the project properties - See DevFaqActionAddProjectCustomizer.

Example of some available types in NetBeans 7.2

ChildnodesRepresentingProjectTypes

org-netbeans-modules-ant-freeform
org-netbeans-modules-apisupport-project
org-netbeans-modules-apisupport-project-suite
org-netbeans-modules-apisupport-project-suite-jnlp
org-netbeans-modules-apisupport-project-suite-osgi
org-netbeans-modules-apisupport-project-suite-package
org-netbeans-modules-autoproject
org-netbeans-modules-j2ee-clientproject
org-netbeans-modules-j2ee-earproject
org-netbeans-modules-j2ee-ejbjarproject
org-netbeans-modules-java-j2seproject
org-netbeans-modules-maven
org-netbeans-modules-web-project
...

Note: The list is incomplete. There will be more project types, if you enable support for JS, PHP, Gradle a.s.o.

Applies to: NetBeans IDE 7.x Platforms: All