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 - Web module build does not work for certain common application source structures
Summary: Web module build does not work for certain common application source structures
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on: 34227 34251
Blocks:
  Show dependency tree
 
Reported: 2003-10-01 06:12 UTC by Petr Jiricka
Modified: 2003-12-11 14:27 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 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.