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 116170

Summary: Debug multiple web sources in same WAR
Product: javaee Reporter: gaikokujin <gaikokujin>
Component: CodeAssignee: Pavlo Tymoshenko <ptymoshenko>
Status: RESOLVED WONTFIX    
Severity: blocker CC: mentlicher
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Example
Example1

Description gaikokujin 2007-09-20 15:15:00 UTC
This came through DEA paid support.  Customer description:

The problem is that the project is split into the WAR directory for the base product, and a WAR overlay with client
specific pages and configuration files.  There are no class files in the overlay, just JSP pages and product specific
configuration files.

Would like the project set up so that I can debug JSPs in both directories.  Right now, if I want to debug the main
product I must set the web sources dir to point to the root of the main projects dir.  If I want to debug the overlay, I
need to set the web sources dir to point to the overlay.  The mulitple java sources, how can you specifiy muliple web
sources?

Using the ct supplied example project, was able to reproduce,

Unconfirmed workaround - Pavlo Comments :
> 
> Unfortunately such functionality is not supported by Netbeans. I think it may help if you will create two projects one
for base and one for overlay. Also you can make overlay project depended on base project (use base project as a library
for overlay project). 
>
Comment 1 gaikokujin 2007-09-20 15:15:54 UTC
Created attachment 49167 [details]
Example
Comment 2 gaikokujin 2007-09-20 15:17:38 UTC
Created attachment 49168 [details]
Example1
Comment 3 Martin Entlicher 2007-09-20 15:44:01 UTC
This is an enhancement for WEB module I believe. Moving to web for evaluation...
Comment 4 Martin Balin 2016-07-07 08:55:01 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss