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 <https://bugs.eclipse.org/bugs/show_bug.cgi?id=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
