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 131890 - ideX cluster has dependency on nbY.Z cluster
Summary: ideX cluster has dependency on nbY.Z cluster
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: ARCH
Depends on:
Blocks:
 
Reported: 2008-04-03 07:59 UTC by Jaroslav Tulach
Modified: 2008-04-25 12:43 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Hg bundle with my fix (518 bytes, application/octet-stream)
2008-04-03 08:02 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2008-04-03 07:59:43 UTC
I've just found out that module org-netbeans-modules-ide-kit.jar in ide9 cluster has runtime dependency on branding 
from nbY.Z. This is problematic for everyone who builds on top of the IDE platform, cannot just select the two 
clusters, but needs to disable the kit module. This is highly unintuitive.

Moreover I have problems with using NbModuleTest where I cannot just select "ide*" cluster, because it is not 
selfcontained. Please fix.

diff -r 3a2330ccf520 ide.kit/nbproject/project.xml
--- a/ide.kit/nbproject/project.xml     Tue Apr 01 13:45:51 2008 +0200
+++ b/ide.kit/nbproject/project.xml     Thu Apr 03 08:59:27 2008 +0200
@@ -138,13 +138,6 @@
                     </run-dependency>
                 </dependency>
                 <dependency>
-                    <code-name-base>org.netbeans.modules.ide.branding</code-name-base>
-                    <run-dependency>
-                        <release-version>1</release-version>
-                        <specification-version>1.4</specification-version>
-                    </run-dependency>
-                </dependency>
-                <dependency>
                     <code-name-base>org.netbeans.modules.jumpto</code-name-base>
                     <run-dependency>
                         <release-version>1</release-version>
Comment 1 Jaroslav Tulach 2008-04-03 08:02:52 UTC
Created attachment 59588 [details]
Hg bundle with my fix
Comment 2 Jesse Glick 2008-04-03 20:47:27 UTC
Has to be assigned to someone.

Patch is maybe OK, but I am not sure if we would be able to publish an update to ide.branding after this; it is not part
of any kit, and not visible in Plugin Manager. Jirka?
Comment 3 Jesse Glick 2008-04-03 20:49:23 UTC
Perhaps ide.branding should have been a dep of ide.branding.kit rather than ide.kit?
Comment 4 Jaroslav Tulach 2008-04-03 20:58:32 UTC
OK. Will do.
Comment 5 Jaroslav Tulach 2008-04-03 22:26:32 UTC
Jesse shall this be fixed in 6.1 as well? Can you decide and take care of that?

changeset:   77194:d1ba0b566fad
tag:         tip
parent:      77192:830698a8248a
parent:      77193:c72d00498a14
user:        Jaroslav Tulach <jtulach@netbeans.org>
date:        Thu Apr 03 23:25:08 2008 +0200
summary:     Merge: #131890: platform cluster cannot depend on nbA.B one

changeset:   77193:c72d00498a14
parent:      77188:ab178584e4a8
user:        Jaroslav Tulach <jtulach@netbeans.org>
date:        Thu Apr 03 23:20:56 2008 +0200
summary:     #131890: platform cluster cannot depend on nbA.B one
Comment 6 Jesse Glick 2008-04-04 18:05:51 UTC
I would have no objection to its being merged to 6.1, but that's up to QE to approve, and if approved, you to physically
merge.