Using an IDE to work on the Java library

Andrew Haley aph at redhat.com
Mon Nov 20 18:31:43 UTC 2017


On 20/11/17 18:21, Andrew Haley wrote:
> On 05/06/17 18:32, Jonathan Gibbons wrote:
>> While the d-i-y approach works as far as it goes, the JDK support for
>> IDE projects typically has direct support for running jtreg tests in the
>> repos.
> 
> Sure, I get that, and I'd love to be able to use NetBeans to run tests.
> But I've never been able to get it to work.
> 
> Let's say I have built the JDK project.  I then, asz the documentation
> says, use *Test Project* from NetBeans.  What then happens is that I
> then get
> 
> /home/aph/jdk/make/jdk/netbeans/common/shared.xml:239: You must define jtreg.tests to select some tests to run.
> 
> I have tried setting jtreg.tests to all manner of things, and none
> of them work.  A single example of a jtreg.tests= string that works
> would get me a very long way.

What I always get is:

/home/aph/jdk/make/jdk/netbeans/common/shared.xml:266: No tests selected

So I'd really love to have a concrete example of what people do.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the jdk10-dev mailing list