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 36365

Summary: Web module build does not work for certain common application source structures
Product: javaee Reporter: Petr Jiricka <pjiricka>
Component: CodeAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 34227, 34251    
Bug Blocks:    

Description Petr Jiricka 2003-10-01 06:12:24 UTC
If there is a project that is organized in the
"expanded war" structure, and has libraries (.jar
files) inside WEB-INF/lib, the build action does
not work for this project.

The libraries are not copied correctly to the
build directory, an exception is thrown (I don't
have a stack trace right now). Reproduced in build
20030923.

This is because of the bug in the MasterFileSystem
module, which causes that jar files are
(counterintuitively) treated as folders.
Therefore, the build step attempts to copy the
entries of the jar file, rather than the whole jar
file itself. 

This also negatively impacts performance.
Comment 1 Petr Jiricka 2003-11-25 13:25:36 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss
the current work on projects prototype has been stopped.