This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I recently needed to build a NB module suite into multiple clusters. I recall the harness README file mentioning a 'cluster' property which could be overridden to specify the cluster directory. The 7.0 release harness README has the following starting at line 628: cluster - cluster directory your module is to be built into. ... For suite component modules, it defaults to "${suite.dir}/build/cluster", though you could override it if you wanted (e.g. in platform.properties); similarly, for standalone modules, it defaults to "${basedir}/build/cluster". Available in project.properties for netbeans.org modules only. This implies that I should define the 'cluster' property in my module's nbproject/platform.properties file. However, doing this had no effect; when I added a target to echo the value of ${cluster}, it showed the same value regardless of how the 'cluster' property was set in platform.properties. Instead, I found I had to define the 'cluster' property in the nbproject/project.properties file.
(In reply to comment #0) > I recently needed to build a NB module suite into multiple clusters. This is not supported; create multiple suites instead. I will just delete any mention of overriding it. If it works for you, great, but there may be subtle problems that arise later. core-main #689d09019e7e
If it's unlikely to work properly, than I agree that removing any mention of the 'cluster' property seems like a reasonable fix.
Integrated into 'main-golden', will be available in build *201105260401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/689d09019e7e User: Jesse Glick <jglick@netbeans.org> Log: #198833: tip for overriding ${cluster} was wrong.