DevFaqActionAllAvailableProjectTypes

(Difference between revisions)
Markiewb (Talk | contribs)
(How determine all available project types? Answer to a question in the mailing list)
Newer edit →

Revision as of 14:14, 7 October 2012

How determine all available project types?

  • 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

Example of some available types in NetBeans 7.2

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.

The type can be used for extending the project properties - http://wiki.netbeans.org/DevFaqActionAddProjectCustomizer

File:ChildnodesRepresentingProjectTypes.jpg


Applies to: NetBeans IDE 7.x Platforms: All

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo