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.
Summary: |
Maven web project broken when URLDisplayer registred in MockServices |
Product: |
javaee
|
Reporter: |
Jiri Skrivanek <jskrivanek> |
Component: |
Maven | Assignee: |
Martin Janicek <mjanicek> |
Status: |
VERIFIED
WORKSFORME
|
|
|
Severity: |
normal
|
CC: |
mmirilovic, pjiricka
|
Priority: |
P2
|
Keywords: |
T9Y |
Version: |
7.2 | |
|
Hardware: |
All | |
|
OS: |
All | |
|
Issue Type:
|
DEFECT
|
Exception Reporter:
|
|
Attachments: |
Screen shot from tests.
|
Created attachment 118751 [details] Screen shot from tests. Maven web project is somehow screwed up when custom URLDisplayer is registered in tests. Concretely when this is called MockServices.setServices(TestURLDisplayer.class); in this class web.kit\test\qa-functional\src\org\netbeans\test\web\WebProjectValidation.java the Source Packages node disappears, Run category in project properties shows nothing and when you run project it changes icon (see screen shot) and war is not deployed. To reproduce: ant -f web.kit -Dtest.includes=org/netbeans/test/web/MavenWebProjectValidation.java -Dtest.type=qa-functional test-single -Dtest-qa-functional-sys-prop.glassfish.home=/tmp/glassfish