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 107139 - Dependency problem of "Web and Java EE"
Summary: Dependency problem of "Web and Java EE"
Status: VERIFIED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Dev (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: pbenes
URL:
Keywords: API_REVIEW_FAST
Depends on: 107471
Blocks: 106361
  Show dependency tree
 
Reported: 2007-06-19 09:46 UTC by Jaromir Uhrik
Modified: 2007-06-25 09:31 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 Jaromir Uhrik 2007-06-19 09:46:39 UTC
Product Version: NetBeans IDE Dev (Build 070619) 
Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 
System: Mac OS X version 10.4.9 running on i386; MacRoman; en_US (nb)

I am trying to install Web and Java EE from the dev update center. But it cannot be installed because of the problem
with dependencies. Following message is written in installer:
--------------------%<-------------------------------
Plugin Web and Java EE cannot match its dependencies:
module org.netbeans.core.multiview/1 = 200706141200
--------------------%<-------------------------------
Comment 1 rnovak 2007-06-20 00:28:37 UTC
This problem should be solved with the latest update of the Dev UC.
Please, double check.
Comment 2 Jaromir Uhrik 2007-06-20 07:29:41 UTC
I have the latest daily build 200706190000 and the issue is still reproducible. Roberte, should it already work or not?
I am asking because the issue is in status STARTED.
Comment 3 Jaromir Uhrik 2007-06-20 12:44:50 UTC
It is reproducible only in IDE that is "basic" (in "all in one" of the same version it works fine). We have investigated
with Robert that the problem is with the following plugin:

Code name: org.netbeans.modules.mobility.svgcore 
Version: 1.1 
Date: 6/18/07 
Source: Development Updates Provider Homepage: http://mobility.netbeans.org/ 

This plugin depends on org.netbeans.core.multiview/1 = 200706180000. This implementation dependency is broken because
the IDE number is 070619 and not 200706180000.
Roberte, do you have any additional comments?


Comment 4 rnovak 2007-06-20 17:01:04 UTC
It is not a dependency problem for "Web and Java EE" feature anymore, but for "Mobility" feature.
I created separate feature for Mobility see:
http://www.netbeans.org/issues/show_bug.cgi?id=104179
Comment 5 Jaromir Uhrik 2007-06-21 08:15:32 UTC
Roberte, I think you wanted to say that the issue related to "separate feature for Mobility" is this one:
http://www.netbeans.org/issues/show_bug.cgi?id=107471
Comment 6 pbenes 2007-06-21 13:45:48 UTC
It is probably caused by implementation links reaching from org.netbeans.modules.mobility.svgcore module.
Comment 7 Erno Mononen 2007-06-22 12:38:11 UTC
To resolve this, the svgcore module needs to be added as a friend to xml/multiview. The xml/multiview module already 
has 11 (intercluster) friends, which used to be the limit. However, it seems that now the limit is 25, so the svgcore 
module could be added as a friend. CC'ing apireviews to confirm that this can indeed be done, i.e. that the limit will 
not be set back to 11.
Comment 8 Antonin Nebuzelsky 2007-06-22 13:14:41 UTC
pbenes, erno, note that this issue should be fixed today. Thanks!
Comment 9 Erno Mononen 2007-06-22 13:54:59 UTC
OK, so I added the svgcore module as a friend to xml/multiview.

Checking in project.xml;
/cvs/xml/multiview/nbproject/project.xml,v  <--  project.xml
new revision: 1.18; previous revision: 1.17
done 

  
Comment 10 Jaroslav Tulach 2007-06-22 14:24:13 UTC
Y01 Why is the limit 25 now and when it will be lower? I know that me and abadea did a huge amount of work to lower 
the limit from ~20 to 11. Even that is imho too much. Reasonable is about 5, imho, but now we have limit >20 again. Is 
it going to stay like that for ever? Was there any discussion about this? Can it happen now?

Y02 Will there be any work on turning xml/multiview into more stable API? By when? The API seems to be used all around 
the world (de.genomatix.graphmlsupport, org.netbeans.modules.visualweb.project.navigationloader, mobility, Geertjan) 
and pretending it is a "friend" API is of no use.

Comment 11 Erno Mononen 2007-06-22 14:47:47 UTC
Re: Y02: The stabilization of the xml/multiview was considered to be of P2 priority, please see http://
wiki.netbeans.org/wiki/view/APIStabilization. Since there seems to be more and more clients, it would perhaps deserve a 
P1 priority. More so since I'm also aware of other external modules using implementation dependencies. The API is 
however not in such a state that it could be made public without a significant amount of work, and I'm afraid I'm not 
the right person to say when there will be resources available for doing that. I guess I can quite safely say that not 
before 6.0 though.    
Comment 12 pbenes 2007-06-22 14:51:33 UTC
Fixed.
svgcore model now depends on xml/multiview specification version

Checking in core/nbproject/project.xml;
/cvs/mobility/svg/core/nbproject/project.xml,v  <--  project.xml
new revision: 1.8; previous revision: 1.7
done

I am leaving the issue still open since there seems to be some discussion around the topic. However anyone who may feel
responsible please over this issue from now on. 
Comment 13 Antonin Nebuzelsky 2007-06-22 15:51:48 UTC
Changing to fixed. Has to be verified fixed with next nightly build, of course.

The discussion about the friends of xml/multiview should be filed as a separate issue. It is more broad problem than
just this single friend dependency.
Comment 14 Erno Mononen 2007-06-22 16:26:08 UTC
I filed issue 107858 for stabilizing xml/multiview, but it is also not the right issue to discuss about the limit for 
friend packages.
Comment 15 Marian Mirilovic 2007-06-25 09:31:10 UTC
verified in NB M10 200706242201