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 229141 - MessageBoardTest uncompilable
Summary: MessageBoardTest uncompilable
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-29 08:33 UTC by Jiri Skrivanek
Modified: 2013-07-24 08:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-04-29 08:33:58 UTC
Message Board sample fixed in bug #228684 but MessageBoardTest is still uncompilable missing com.sun.jersey.api.client.* classes. To reproduce:

- register GlassFish 4 to IDE
- open new project wizard
- choose "Samples|Web Services|REST: Message Board" and click Next
- click Next
- click Finish
- resolve missing JUnit
- look at MessageBoardTest to see compile errors

Product Version: NetBeans IDE Dev (Build web-main-javaee7-267-on-20130429)
Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Milan Kuchtiak 2013-07-19 13:42:11 UTC
Needed to rewrite MessageBoardTest to Jersey2.0 client and add Jersey 2.0 lib to test classpath.
Comment 2 Milan Kuchtiak 2013-07-22 12:00:12 UTC
Fixed. Rewritten to JAX-RS 2.0 client.

See:
https://hg.netbeans.org/web-main/rev/3a7563bde024
https://hg.netbeans.org/web-main/rev/5c3244a6d081
Comment 3 Quality Engineering 2013-07-23 02:40:40 UTC
Integrated into 'main-silver', will be available in build *201307222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3a7563bde024
User: Milan Kuchtiak <mkuchtiak@netbeans.org>
Log: #229141: Make MessageBoard sample test compilable (against JAX-RS 2.0)