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 72498 - Provide support to 'remove framework' in webapp/maven... project
Summary: Provide support to 'remove framework' in webapp/maven... project
Status: RESOLVED DUPLICATE of bug 98884
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-09 20:47 UTC by _ viendu
Modified: 2007-10-07 17:21 UTC (History)
2 users (show)

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 _ viendu 2006-02-09 20:47:12 UTC
There's add frame work, which I can add JSF or Struts.  However, I don't see a
remove button.  So if I accidentally add one, I don't see how to undo this.
Comment 1 Radko Najman 2006-05-26 13:11:47 UTC
It is not planned to allow to remove the framework if it was added. The reason
is that if the framework is used in jsp files, these files should stop working.
The project would become inconsistent and not working. All files in project
would have to be scanned if they use the framework before removing it.
If you added the framework accidentally and you are sure that you don't use the
framework, you can remove it by removing framework libraries and framework
configuration file from the project.
Comment 2 tomzi 2007-06-18 10:22:08 UTC
I'd vote reconsider support to also remove Frameworks. Since more and more frameworks are being added to nb it is likely
that I just want to try out a framework, to see if it suits my requirements, eg. jmaki support and I was pretty upset
that there was no oppertunity to remove the framework support again and I had to remove all dependencies on my own,
which was quite a job to do!

There could be just an alert telling the user the problems related to 'removeing framework support'. Every framework
provider could be made in charge of scanning source files for dependencies, thus displaying those dependencies some view.

And it's not really a problem if the user decides to remove framework support anyway, since if he can add again anyway
with no unresolved dependensies. But if I just want to try out a framework I'm busted, since I have to investigate by
myselve where the framework provide put all it's dependencies into.
Comment 3 tomzi 2007-06-18 10:24:57 UTC
sorry for so many typos (should have checked b4 submitting :))
Comment 4 Karthikeyan Rajeswaran 2007-08-22 20:36:30 UTC
See also: http://www.netbeans.org/issues/show_bug.cgi?id=109051
Comment 5 Karthikeyan Rajeswaran 2007-10-07 17:21:14 UTC
This seems to be the same issue that is being discussed at issue 98884. Since 98884 has more info, I am closing this as
a duplicate of 98884. To the submitter: Please reopen this bug if you feel the two are not duplicates.

*** This issue has been marked as a duplicate of 98884 ***