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.
Product Version: NetBeans IDE Dev (Build 200909081533) Java: 1.5.0_19; Java HotSpot(TM) Client VM 1.5.0_19-137 System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb) Userdir: /Users/vita/.netbeans/dev 1. Created new project from Samples -> Web Services -> REST: Message Board 2. Built, deployed and started the project 3. Client showed in the browser and worked ok 4. Then I ran tests (eg. project's popup menu -> Test) => all tests failed When looking in enterprise.rest.test.MessageBoardTest.java I can see that it's using "message-board-war" as the context root of the webapp running the webservice. The context root in the example project is just "message-board". After changing this in MessageBoardTest's constructor all tests passed.
http://hg.netbeans.org/main/rev/1895192a00bc
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1895192a00bc User: mkuchtiak@netbeans.org Log: #171898: fixing context-path