You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Andreas Sewe (Jira)" <ji...@apache.org> on 2020/01/28 08:56:00 UTC
[jira] [Created] (NETBEANS-3759) Open Project should allow
overrrides of auto-detected project type
Andreas Sewe created NETBEANS-3759:
--------------------------------------
Summary: Open Project should allow overrrides of auto-detected project type
Key: NETBEANS-3759
URL: https://issues.apache.org/jira/browse/NETBEANS-3759
Project: NetBeans
Issue Type: Improvement
Affects Versions: 11.0
Reporter: Andreas Sewe
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.)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists