Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3759

Open Project should allow overrrides of auto-detected project type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 11.0
    • None
    • None
    • None

    Description

      We have a project that uses Maven (via a pom.xml) to build a NetBeans plugin and Gradle to perform some setup tasks like copying settings around (via a build.gradle).

      Using Open Project it is now apparently random whether the project gets recognized as Maven project or Gradle project, as both "marker files" exist. But in order to build the project, you will need to import it as Maven project, so that the netbeans-maven-plugin gets detected; the build.gradle is just there for some setup tasks that need to be executed once after checkout.

      AFAICT, NetBeans does not offer a way to override the auto-detected project type yet, but should (at least if more than ProjectFactory claims that it recognizes the FileObject), but it would be nice if it did. (The workaround of just uninstalling the Gradle plugin is not always an option.)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asewe Andreas Sewe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: