> I'm not sure that installed Java 9 is usable by projects other than 
Platform - bug 469515 states this and 
https://hudson.eclipse.org/platform/job/Generate-jdeps-report-using-java-9/ 
uses location that doesn't look to be accessible by others,

Sorry for that. You are correct, see 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=469515#c4. I've opened bug 
513618 requesting access for all release train projects. Until then, you 
can still build with Java 8 and run tests locally using Java 9.

Dani



From:   Evgeny Mandrikov <[email protected]>
To:     Cross project issues <[email protected]>
Date:   13.03.2017 23:10
Subject:        Re: [cross-project-issues-dev] Java 9 Readiness
Sent by:        [email protected]



On Mon, Mar 13, 2017 at 9:32 PM Jonah Graham <[email protected]> 
wrote:
Are there any examples of any project's HIPP config that does this? I 
assume I need to set up a tycho configuration that builds with Java 8 but 
runs tests with Java 9.

You can do this locally or on Hudson. A Java 9 VM is installed on Hudson (
bug 469515).
I'm not sure that installed Java 9 is usable by projects other than 
Platform - bug 469515 states this and 
https://hudson.eclipse.org/platform/job/Generate-jdeps-report-using-java-9/ 
uses location that doesn't look to be accessible by others, at least it 
didn't worked for me.

But principle is correct: create toolchains.xml pointing to Java 9 and 
instruct Tycho to use it ( 
https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/test-mojo.html#useJDK
 ) instead of the one that executes Maven. We are using this in Travis to 
run build with Java 8, but some tests with Java 7 -  see 
https://github.com/eclipse/eclemma/commit/37c744f2773f8914048149f776398a287e068ecb

HTH,
Evgeny
_______________________________________________
cross-project-issues-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev



_______________________________________________
cross-project-issues-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to