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 26515 - USABILITY: When executing web module, deploy extra classes listed on WAR archive tab
Summary: USABILITY: When executing web module, deploy extra classes listed on WAR arch...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Jiricka
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2002-08-14 17:30 UTC by Ana.von Klopp
Modified: 2004-09-15 23:04 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ana.von Klopp 2002-08-14 17:30:31 UTC
This one was reported by Jens Trapp and Ivo Totev. 

It is related to the issue of deploying shared or 
additional libraries/classes to the server at execution 
time. 

1) Create a bunch of servlets and Java classes in a    
separate directory (not in a web module). 

2) Create a web module. 

3) On the archive tab of the web module, add the servlets 
and Java classes from the other directory to be added 
under WEB-INF classes. 

4) Build a WAR file. This WAR file executes fine when 
deployed to a server. 

5) Execute the web module on the integrated Tomcat server. 
It fails, because the servlet classes are not found. 

Any classes that are specified on the archives tab should 
be made available to the server on execution.
Comment 1 Petr Jiricka 2004-09-15 23:04:28 UTC
Fixed in the Projects infrastructure. Now the classes that are
separate from the docbase (but still in the web project) are built
into the build directory, which is visible at deploy time.