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.
Build 200503221900 1) Open 4.0 Web project with library/project reference (on classpath) 2) ERROR: Items on classpath have turned off 'Deploy' column.
This regression is caused by fix of Issue #50676 (removal of copytask in web project). In particullar it is caused by the project.xml version increase. The problem is ClassPathSupport.createWarIncludesMap(...) which generates a map of <path-in-war/> values for project libraries. When called before project upgrade, the method scans the document for curent version elements (web-project/3), but the 4.0 project.xml is of web-project/1 so it returns nothing. Since the path-in-war for all library items is null the checkboxes are unchecked. Just note that it is possible to build the project even the checkboxes are unchecked (the project.xml contains correct path-in-war values). I will fix it asap.
fixed in trunk and QBE200503221900 branch. Checking in WebProjectType.java; /cvs/web/project/src/org/netbeans/modules/web/project/WebProjectType.java,v <-- WebProjectType.java new revision: 1.4; previous revision: 1.3 done Checking in classpath/ClassPathSupport.java; /cvs/web/project/src/org/netbeans/modules/web/project/classpath/ClassPathSupport.java,v <-- ClassPathSupport.java new revision: 1.11; previous revision: 1.10 done Checking in WebProjectType.java; /cvs/web/project/src/org/netbeans/modules/web/project/WebProjectType.java,v <-- WebProjectType.java new revision: 1.3.4.1; previous revision: 1.3 done Checking in classpath/ClassPathSupport.java; /cvs/web/project/src/org/netbeans/modules/web/project/classpath/ClassPathSupport.java,v <-- ClassPathSupport.java new revision: 1.10.2.1; previous revision: 1.10 done
Verified in 200503232205.