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.

Bug 158064 - Can't build only mobility cluster
Summary: Can't build only mobility cluster
Status: RESOLVED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords:
: 151535 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-06 10:55 UTC by Ivan Sidorkin
Modified: 2010-09-25 02:54 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2009-02-06 10:55:16 UTC
# 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]
Comment 1 Michal Zlamal 2009-02-16 10:39:56 UTC
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.
Comment 2 Petr Suchomel 2009-02-16 10:53:22 UTC
The problem is, enterprise cluster is only needed for 2 modules -> end2end and jsr172.
Comment 3 Michal Zlamal 2009-02-16 12:40:21 UTC
OK, but it means that it depends on it, so the dependency needs to be stated to get the build working.
Comment 4 Petr Suchomel 2009-04-17 11:38:02 UTC
This is only build related issue, does not affect product or user itself
Comment 5 Petr Suchomel 2009-09-04 13:19:23 UTC
This issue seems to be resolved by related changes in API support. There is no problem to compile mobility only now.
Comment 6 Petr Suchomel 2009-09-04 13:35:18 UTC
*** Issue 151538 has been marked as a duplicate of this issue. ***
Comment 7 Jesse Glick 2009-09-17 00:32:36 UTC
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.
Comment 8 Jesse Glick 2010-01-20 14:39:38 UTC
*** Bug 151535 has been marked as a duplicate of this bug. ***
Comment 9 Jesse Glick 2010-01-20 14:41:09 UTC
'ant -Drebuild.cluster=nb.cluster.mobility rebuild-cluster' still does not work. You must list the enterprise cluster among dependencies for the mobility cluster.
Comment 10 Adam Sotona 2010-09-24 10:02:29 UTC
fixed in http://hg.netbeans.org/jet-main/rev/7c0a67e9f031
Comment 11 Quality Engineering 2010-09-25 02:54:27 UTC
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