You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (Jira)" <ji...@apache.org> on 2021/05/01 14:02:00 UTC
[jira] [Resolved] (NETBEANS-4945) Newly applying java plugin on an
open Gradle Project doe not propagate the Java SourceGroups
[ https://issues.apache.org/jira/browse/NETBEANS-4945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi resolved NETBEANS-4945.
---------------------------------------
Fix Version/s: 12.3
Resolution: Fixed
> Newly applying java plugin on an open Gradle Project doe not propagate the Java SourceGroups
> ---------------------------------------------------------------------------------------------
>
> Key: NETBEANS-4945
> URL: https://issues.apache.org/jira/browse/NETBEANS-4945
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Gradle
> Reporter: Laszlo Kishalmi
> Assignee: Jaroslav Tulach
> Priority: Major
> Fix For: 12.3
>
>
> Let the issue 1 identified in NETBEANS-4938 live here.
>
> Issue number 1 is much harder and requires a good knowledge on how the Lookup system works.
> So the Lookup of NBGradleProjectImpl consists of a basic lookup created at: [https://github.com/apache/netbeans/blob/3a2cad159a2a60665653ce83a67547f6744449ec/extide/gradle/src/org/netbeans/modules/gradle/NbGradleProjectImpl.java#L161] and a plugin dependent ProxyLookup at [https://github.com/apache/netbeans/blob/3a2cad159a2a60665653ce83a67547f6744449ec/extide/gradle/src/org/netbeans/modules/gradle/NbGradleProjectImpl.java#L330]
>
> The issue is the following:
> # Project loads with no plugins, the base set of lookups registers a SourcesMerger
> # Initially the only Sources implementation is for GENERIC_SOURCE_TYPE for the project folder.
> # On reload through the PluginDependentLookup a new Sources implementation become available org.netbeans.modules.gradle.java.classpath.GradleSourcesImpl from the Gradle Java project
> # Unfortunately the SourceMerger is not pick up the new Sources implementations
--
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