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.
# ant -Dcluster.config=mobility build-nozip .... build-init: Trying to override old definition of task downloadbinaries [nbmerge] Failed to build target: all-mobility.end2end BUILD FAILED /export/hgrepo/main/nbbuild/build.xml:716: The following error occurred while executing this line: /export/hgrepo/main/nbbuild/build.xml:711: The following error occurred while executing this line: /export/hgrepo/main/nbbuild/build.xml:757: The following error occurred while executing this line: /export/hgrepo/main/nbbuild/templates/projectized.xml:93: The module org.netbeans.api.web.webmodule cannot be compiled against because it is part of the cluster /export/hgrepo/main/nbbuild/netbeans/enterprise5 which is not part of cluster.path in your suite configuration. Cluster.path is: [/export/hgrepo/main/nbbuild/netbeans/platform10, /export/hgrepo/main/nbbuild/netbeans/harness, /export/hgrepo/main/nbbuild/netbeans/java2, /export/hgrepo/main/nbbuild/netbeans/websvccommon1, /export/hgrepo/main/nbbuild/netbeans/ide11, /export/hgrepo/main/nbbuild/netbeans/mobility8, /export/hgrepo/main/nbbuild/netbeans/apisupport1]
in nbbuild/cluster.properties there is: nb.cluster.mobility.depends=\ nb.cluster.platform,\ nb.cluster.java,\ nb.cluster.apisupport,\ nb.cluster.ide So it doesn't state dependency on enterprise cluster.
The problem is, enterprise cluster is only needed for 2 modules -> end2end and jsr172.
OK, but it means that it depends on it, so the dependency needs to be stated to get the build working.
This is only build related issue, does not affect product or user itself
This issue seems to be resolved by related changes in API support. There is no problem to compile mobility only now.
*** Issue 151538 has been marked as a duplicate of this issue. ***
The 6.8 harness will build upstream modules automatically if they have not been built yet, which can mask the effect of a missing cluster dependency. But nb.cluster.mobility.depends is still wrong; it should include nb.cluster.enterprise. If there is no other reason for nb.cluster.*.depends properties to exist then we should delete all of them. In no event should incorrect dependency lists be left indefinitely.
*** Bug 151535 has been marked as a duplicate of this bug. ***
'ant -Drebuild.cluster=nb.cluster.mobility rebuild-cluster' still does not work. You must list the enterprise cluster among dependencies for the mobility cluster.
fixed in http://hg.netbeans.org/jet-main/rev/7c0a67e9f031
Integrated into 'main-golden', will be available in build *201009250000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7c0a67e9f031 User: asotona@netbeans.org Log: fixed issue #158064 Can't build only mobility cluster