[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-dev] New snapshot of Tycho?
|
yes I merged https://git.eclipse.org/r/#/c/114480/ today
as announced in https://bugs.eclipse.org/bugs/show_bug.cgi?id=514471#c48
note that if you use JREs in toolchains.xml as in your example
/opt/public/common/j2sdk1.4.2_19/jre
the change should be compatible [1] i.e. no need to change toolchains.xml as this in turn could break other builds on the same machine using older Tycho versions.
If you use a jre folder, you should only get a warning now and parent folder /opt/public/common/j2sdk1.4.2_19 should automatically be used instead (provided that /opt/public/common/j2sdk1.4.2_19 is a valid JDK home i.e. it has a "release" file with a key "JAVA_VERSION". This is the same check that JDT does to validate if it's a valid JAVA_HOME).
you may want to check both toolchains.xml as well as /opt/public/common/j2sdk1.4.2_19
Regards,
Jan
[1] https://github.com/eclipse/tycho/commit/770185d966d8fa48124c061b8c694b742bde3061#diff-3656cbd124d96f56db3653f5df63910fR388
On 15.01.18, 10:33, "Daniel Megert" <daniel_megert@xxxxxxxxxx> wrote:
Hi Sravan
What is the bug number? Which Gerrit change failed?
https://bugs.eclipse.org/514471is probably related.
Dani
From: Sravan K Lakkimsetti/India/IBM
To: jan.sievers@xxxxxxx
Cc: Daniel Megert/Zurich/IBM@IBMCH
Date: 15.01.2018 09:53
Subject: New snapshot of Tycho?
________________________________________
Hi,
We are noticing the following error today during our gerrit builds.
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.1.0-SNAPSHOT:compile (default-compile) on project org.eclipse.jdt.junit.runtime: Fatal error compiling: java.lang.reflect.InvocationTargetException:
invalid location for system libraries: /opt/public/common/j2sdk1.4.2_19/jre -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.eclipse.jdt.junit.runtime
Is there a new version of Tycho snapshot released today? If yes so we need to update out toolchains.xml?
Thanks and Regards,
Sravan
Sravan Kumar Lakkimsetti
IBM India Pvt Ltd,
Embassy Golf Links Business Park, D Block,
Off Indiranagar-Kormangla Inner Ring Road,
Bangalore - 560071, India
Phone: 91-80-41776858