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 56844 - 4.0 project - JSP and Servlet API not removed automatically
Summary: 4.0 project - JSP and Servlet API not removed automatically
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-03-23 11:16 UTC by zikmund
Modified: 2006-03-24 12:48 UTC (History)
0 users

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 zikmund 2005-03-23 11:16:09 UTC
Build 200503221900

1) Open 4.0 Web project
2) ERROR:
There are 2 broken references: JSP and Servlet API.
Comment 1 Marek Fukala 2005-03-23 16:17:33 UTC
fixed in trunk and QBE200503221900 branch

Checking in WebProjectProperties.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java,v
 <--  WebProjectProperties.java
new revision: 1.81; previous revision: 1.80
done
Checking in WebProjectProperties.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java,v
 <--  WebProjectProperties.java
new revision: 1.80.2.1; previous revision: 1.80
done
Comment 2 zikmund 2005-03-24 08:46:41 UTC
Still reproducible in 200503232205 - reopening.
Comment 3 zikmund 2005-03-24 10:00:52 UTC
My steps:
1) Open 4.0 Web project
2) Resolve Reference Problem (before Resolve Missing Server Problem)
3) Upgrade dialog appears
4) Upgrade project
5) Resolve Reference Problems dialog appears
6) ERROR:
There are JSP and Servlet APIs.

Note:
- I believe they weren't there in the recent builds, therefore still regression.
- Changing step 2 to "Resolve Missing Server Problem" works fine - it even
resolves missing API JAR files.
Comment 4 Marek Fukala 2005-03-24 14:02:43 UTC
the additional usecase was fixed in trunk.

Checking in UpdateHelper.java;
/cvs/web/project/src/org/netbeans/modules/web/project/UpdateHelper.java,v  <-- 
UpdateHelper.java
new revision: 1.13; previous revision: 1.12
done
Comment 5 Marek Fukala 2005-03-25 11:24:23 UTC
fixed in QBE200503221900

Checking in UpdateHelper.java;
/cvs/web/project/src/org/netbeans/modules/web/project/UpdateHelper.java,v  <-- 
UpdateHelper.java
new revision: 1.11.4.1; previous revision: 1.11
done
Comment 6 zikmund 2005-03-25 11:57:35 UTC
Verified in 200503242007 build.