JaroslavTulach commented on a change in pull request #2252:
URL: https://github.com/apache/netbeans/pull/2252#discussion_r453451304
##########
File path: nbbuild/antsrc/org/netbeans/nbbuild/InsertModuleAllTargets.java
##########
@@ -136,8 +136,29 @@ public void setUseClusters(boolean b) {
continue;
}
String[] prereqsAsCnb = entry.getBuildPrerequisites();
- StringBuffer namedDeps = new StringBuffer("init");
- String myCluster = clustersOfModules.get(path);
+ StringBuilder namedDeps = new StringBuilder("init");
+ String myCluster =
clustersOfModules.get(entry.getNetbeansOrgId());
+ if (myCluster != null) {
+ String clusterDep = "all-cluster-" + myCluster;
+ if (!prj.getTargets().keySet().contains(clusterDep)) {
Review comment:
I see, this is the fix then.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists