[ 
https://issues.apache.org/jira/browse/NETBEANS-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900275#comment-16900275
 ] 

Travis commented on NETBEANS-2714:
----------------------------------

My multi-project has this same problem.  In my case, the settings.gradle is 
written using the trick so that it does not have to explicitly list all 
subprojects.  So when I switch branches, or when a subproject 
appears/disappears for any other reason, the settings.gradle naturally remains 
unchanged.  I wasn't even able to manually browse to a new subproject and open 
it without making a meaninless edit in settings.gradle.  The subproject's 
folder was not even recognized as a gradle project until I touched 
settings.gradle.

 

So I don't think requiring changes to build.gradle or settings.gradle in order 
to load new subprojects is a good feature.  Please do add a manual way to force 
project reload in the GUI, without touching any files.

> NetBeans gradle support does not recognize new subproject creation
> ------------------------------------------------------------------
>
>                 Key: NETBEANS-2714
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2714
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Shevek
>            Priority: Major
>
> If I switch git branches or otherwise cause a new subproject to appear in a 
> gradle project, NetBeans does not recognize that.
> I gather new NB watches the build.gradle(s) for changes, but it appears to 
> miss this one.
> This is a fairly common use case - the old gradle plugin did NOT watch for 
> changes, and one had to do a manual reload. The new gradle plugin does watch 
> for changes, and there is no reload option, so the only way to see a new 
> subproject is to restart the whole IDE (grrr, again).



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
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

Reply via email to