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 53345 - Libraries node adds library without packaging into WAR
Summary: Libraries node adds library without packaging into WAR
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 13:07 UTC by zikmund
Modified: 2006-03-24 13:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
CVS commit log (1.42 KB, text/plain)
2005-01-13 16:02 UTC, Andrei Badea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-01-13 13:07:09 UTC
Build 200501121900

1) Have a WebApp
2) Add Project/Library/JAR library using Libraries
node's context menu
3) ERROR:
Added library is not packaged to the WAR file. It
should be since it is most used case.
Comment 1 Andrei Badea 2005-01-13 16:02:34 UTC
Created attachment 19678 [details]
CVS commit log
Comment 2 Andrei Badea 2005-01-13 16:06:27 UTC
Fixed. 

It was caused by not updating the project.xml with data about added
classpath items.

I noticed that when you add a folder with the customizer, the folder
is not packaged to the WAR. For consistency my fix does the same, but
I don't know if this behaviour is correct. Please let me know and, if
necessary, reopen the issue.

Comment 3 zikmund 2005-01-17 10:30:00 UTC
Verified.