[ https://issues.apache.org/jira/browse/NETBEANS-4945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220276#comment-17220276 ]
Jaroslav Tulach commented on NETBEANS-4945: ------------------------------------------- Right now I don't see any problems. Projects created after NETBEANS-4938 seem to open fine including the Java source packages. > 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 > > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists