Using an IDE to work on the Java library
dean.long at oracle.com
dean.long at oracle.com
Mon Nov 20 19:01:36 UTC 2017
On 11/20/17 10:31 AM, Andrew Haley wrote:
> 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.
>
This is just a guess, but this part:
<dirname file="${root}/test/${jtreg.tests}" property="test.dir"/>
makes me think that it's a directory under jdk/test, so maybe "." or
"jdk" would work?
dl
More information about the jdk10-dev
mailing list