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.
Summary: | Visualweb is completely broken because of incomplete implementation of "classpath/packaged" classpath type | ||
---|---|---|---|
Product: | javaee | Reporter: | _ deva <deva> |
Component: | Web Project | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | deva, dkonecny, sandipchitale |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ deva
2008-05-28 03:17:32 UTC
Web project does not support "classpath/packaged" - this was not implemented yet; issue 131785 tracks this. So until 131785 is implemented you should keep your workaround in place. That was agreement. Or has something changed? Why do I get a ClassPath object with empty entries when I ask for "classpath/packaged" classpath I had the logic to test for "classpath/packaged" classpath type first and then use the workaround. This used to work fine till recently. What has changed for this to fail? No changes on web side AFAIK. Do you have Maven pluging installed? That's probably the only one who returns something for this classpath type. Disable it and if everything works talk to Milos Kleint. If you do not have Maven then debug classpath provider and you should quickly see the culprit. could it be caused by issue 134341 ? I would not think so but you never know. When I debugged further, I did see that the changes for http://www.netbeans.org/issues/show_bug.cgi?id=134341 is causing the problem. Because of those changes, when you ask for a classpath type which doesn't exist, it simply creates a new empty one, see line 104 to 114 in org\netbeans\spi\java\project\support\ClassPathProviderMerger.java deva, thanks for debugging it. Milos, ClassPathProviderMerger issue. Could you have a look please. oh, oh.. I'm sorry. I haven't thought of that when doing the merger. But the merger needs to return an instance in any case, which unfortunately means I have to hack a special workaround for classpath/packaged until the web projects implement it. i suppose a duplicate of issue 136016, i've hotfixed that one. the hotfix can be removed once dkonecny implements issue 131785 *** This issue has been marked as a duplicate of 136016 *** |