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 71915 - Undesirable dependencies
Summary: Undesirable dependencies
Status: RESOLVED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords: ARCH
Depends on:
Blocks:
 
Reported: 2006-01-26 22:07 UTC by Jesse Glick
Modified: 2009-12-21 05:10 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 Jesse Glick 2006-01-26 22:07:42 UTC
Try to create an app using cvsmodule from the ide6 cluster but as little else as
possible. Major problems I notice:

1. There is a dep on xml/api, which is definitely weird, though it fortunately
doesn't seem to cause any further problems.

2. jsch depends on ant, which is definitely not nice - sucks in a lot of other
deps (project system, execution engine, output window, ...). If you are just
using ExtraClassPathProvider, probably need to make an eager module to separate
the dep. (Sorry.)

3. diff depends on editor, which is not nice either - a lot more deps. Also
depends on JavaHelp (?).

4. Direct deps on editor and editor/settings - ???

It seems quite plausible that someone would want to use the excellent new CVS
integration in various apps that permit direct editing of possibly versioned
files, including non-Java IDEs. These dependencies make that much less attractive.
Comment 1 _ pkuzel 2006-01-30 11:09:31 UTC
1. Stale, it used to use DocumentInputSource
2. Requested by J2ME, I hope it's splittable, Adam?
3.-4. I do not understand. Diff naturally depends on editor.
Comment 2 Adam Sotona 2006-01-30 11:22:59 UTC
2. We just need jsch library to be registered on Ant classpath to enable some of
the optional tasks and it does not matter how this is done.
Comment 3 Jesse Glick 2006-01-30 20:28:11 UTC
1. - still does use DocumentInputSource.

3./4. - one would expect that you could do CVS operations without the full
editor infrastructure being loaded, which is quite large. If the user asks to
see a diff, just use a PlainEditorKit or something; it supports background
colors, at a minimum.
Comment 4 Jesse Glick 2006-06-27 02:43:49 UTC
#2 was solved recently.
Comment 5 Maros Sandor 2007-01-10 13:39:33 UTC
#1 resolved: removed dependency on xml/api.

/shared/data/ccvs/repository/javacvs/cvsmodule/nbproject/project.xml,v  <-- 
project.xml
new revision: 1.19; previous revision: 1.18
Comment 6 Maros Sandor 2008-02-18 18:22:34 UTC
Dependencies among modules do not affect users and usability.
Comment 7 Jesse Glick 2008-02-19 18:41:51 UTC
Definitely affects platform users.
Comment 8 Quality Engineering 2009-12-21 05:10:30 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team