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 35994 - a utility method for checking cycles in dependencies
Summary: a utility method for checking cycles in dependencies
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-09-10 09:52 UTC by Ondrej Rypacek
Modified: 2004-04-19 16:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Rypacek 2003-09-10 09:52:03 UTC
Build target implementators might often like to
check that the actual graph of dependencies does
not contain cycles in order to report an informed
message before the build system does that on
compilation. 

For example, in the project for a library L ,
using a library that uses L is illegal. The error
should be reported directly in the dialog for
choosing libraries (or even better, the library
should be disabled) rather than allowing to add
that library and failing on compilation. 

Each module could code this by hand, but as the
projects have to contain that functionality
anyway, it seems beneficial to me to expose it in
a utility function for other modules to check the
correctness of dependencies at will.
Comment 1 Vitezslav Stejskal 2003-11-26 14:42:02 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.
Comment 2 Vitezslav Stejskal 2003-11-26 14:57:17 UTC
--> VERIFIED