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 89883 - j2ee/commons has too many intercluster friends
Summary: j2ee/commons has too many intercluster friends
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on: 87076
Blocks:
  Show dependency tree
 
Reported: 2006-11-22 16:29 UTC by Jaroslav Tulach
Modified: 2006-11-27 10:30 UTC (History)
2 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 Jaroslav Tulach 2006-11-22 16:29:34 UTC
The j2ee/commons module has 15 intercluster friends, which is way higher than 
the reasonable maximum (imho 3-8).

Either lower the number of friends in this module or stabilize its APIs. Then 
decrease the limit in nbbuild/build.xml
Comment 1 Jaroslav Tulach 2006-11-22 16:30:29 UTC
Found while fixing issue 87076
Comment 2 Andrei Badea 2006-11-22 16:47:19 UTC
The list of j2ee/utilities's friends in ide/golden/group-friend-packages.txt
shows many friends with code name bases beginning with 'o.n.m.j2ee'. These are
actually in the enterprise cluster, but are currently disabled because of
Retouche (note they are marked as EXTERNAL instead of FRIEND). The only real
intercluster friends are com.sun.rave.project.jsfproject and
org.netbeans.modules.mobility.end2end (and I would be interested to know the
reason of mobility's dependency).

Can I close as invalid?
Comment 3 Jaroslav Tulach 2006-11-23 14:05:52 UTC
I see. This issue is close to invalid, but I guess the goal is to lower 
the "friend.max.dep" - could those friends be commented out for now, the 
property lowered and friends added later when the rest of j2ee cluster is 
re-added?
Comment 4 Andrei Badea 2006-11-23 17:03:42 UTC
I was going to propose to leave this issue open as P3 until all friends are
re-added to the build as a reminder that the limit must be lowered, but your
proposal is better. Will do.
Comment 5 Andrei Badea 2006-11-26 18:29:46 UTC
Done. But I could only lower the limit to 11 because of websvc/clientapi, for
which I filed issue 90051.

Checking in nbbuild/build.xml;
/cvs/nbbuild/build.xml,v  <--  build.xml
new revision: 1.767; previous revision: 1.766
done
Checking in ide/golden/friend-packages.txt;
/cvs/ide/golden/friend-packages.txt,v  <--  friend-packages.txt
new revision: 1.60; previous revision: 1.59
done
Checking in ide/golden/group-friend-packages.txt;
/cvs/ide/golden/group-friend-packages.txt,v  <--  group-friend-packages.txt
new revision: 1.3; previous revision: 1.2
done
Checking in j2ee/utilities/nbproject/project.xml;
/cvs/j2ee/utilities/nbproject/project.xml,v  <--  project.xml
new revision: 1.38; previous revision: 1.37
done