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 143820 - cluster platform9 excluded from the target platform
Summary: cluster platform9 excluded from the target platform
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
: 143569 (view as bug list)
Depends on:
Blocks: 73706
  Show dependency tree
 
Reported: 2008-08-13 22:05 UTC by vieiro
Modified: 2008-08-18 22:08 UTC (History)
1 user (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 vieiro 2008-08-13 22:05:38 UTC
This affects NB6.5 Beta (probably previous builds too) and happens when opening Module Suites created with previous
versions of NetBeans. In my case (and probably in Peter's case too, see link below) happens in module suites where some
clusters have been excluded.

@see http://thread.gmane.org/gmane.comp.java.netbeans.devel/42507

I've filed this as P1 as I see this blocks NB Platform Developers from leveraging their previously built modules.
Comment 1 vieiro 2008-08-13 22:27:19 UTC
Removing "nbproject/build-impl.xml" and closing-opening the project (to have it regenerated) does not work either.
Comment 2 vieiro 2008-08-14 09:37:48 UTC
The problem seems to be in "nbproject/platform.properties"

If this file contains a line starting with "enabled.clusters=..." then the build fails

If the file contains "nbplatform.active=default" only (this is, no platform configuration I assume) then the project can
be built correctly.

Comment 3 Lukas Hasik 2008-08-14 11:54:25 UTC
reassigning to rmichalsky, please fix asap
Comment 4 rmichalsky 2008-08-14 13:26:35 UTC
Working on it already ...
Comment 5 rmichalsky 2008-08-14 15:26:11 UTC
Side-effect of issue #73706 fix. Fixed in core-main, http://hg.netbeans.org/core-main/rev/d3737375070d

If you don't want to use newer daily build, here is a workaround:
* Edit nbproject/platform.properties in your suite.
* Locate property 'enabled.clusters' (if it is missing, build should work), it should contain comma-separated list of
clusters __without trailing numbers__.
* Add correct numbers to cluster names according to the platform you are building against. Numbers can be found in
folder names in your platform, e.g. for 6.5 platform "numbered" cluster names are platform9, ide10, java2, etc.
* Save the properties file and build.
Comment 6 rmichalsky 2008-08-18 16:33:24 UTC
*** Issue 143569 has been marked as a duplicate of this issue. ***
Comment 7 vieiro 2008-08-18 16:38:54 UTC
Hi,

I wanted to add that this happens with *newly created* projects as well, and not only from previously added ones.

You could verify it if you create a module suite (with at least one project, probably) and then trying to customize the
underlying platform. The build fails for me.

Cheers,
Antonio
Comment 8 Jesse Glick 2008-08-18 22:08:19 UTC
Fix looks right to me.