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 - Debug multiple web sources in same WAR
Summary: Debug multiple web sources in same WAR
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Pavlo Tymoshenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-20 15:15 UTC by gaikokujin
Modified: 2016-07-07 08:55 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Example (4.96 KB, application/octet-stream)
2007-09-20 15:15 UTC, gaikokujin
Details
Example1 (8.30 KB, application/octet-stream)
2007-09-20 15:17 UTC, gaikokujin
Details

Note You need to log in before you can comment on or make changes to this bug.
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