Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Breaking change in 2.7.0?

> For the issue, well it is not necessary to debug,

Nice catch, I think that explains the message, many thanks

> it is quite obvious

You could always use "code-review-debugger" of course :-)

Am 06.04.22 um 07:08 schrieb Fauth Dirk (XC-ECO/ESM1) via tycho-dev:
Not sure if I fully understand the ticket.

For the issue, well it is not necessary to debug, it is quite obvious. I am running on Windows and the check for the existence of the java executable is not OS independent. 😊

I have created this ticket: https://github.com/eclipse/tycho/issues/849

Mit freundlichen Grüßen / Best regards

  Dirk Fauth

Cross-Domain Computing Solutions, Cross Automotive Platforms - System, Software and Tools Engineering Engineering Software Methods and Tools1 (XC-ECO/ESM1)
Robert Bosch GmbH | Postfach 30 02 20 | 70442 Stuttgart | GERMANY | www.bosch.com
Tel. +49 711 811-57819 | Telefax +49 711 811 | Dirk.Fauth@xxxxxxxxxxxx

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Prof. Dr. Stefan Asenkerschbaumer; Geschäftsführung: Dr. Stefan Hartung,
Dr. Christian Fischer, Filiz Albrecht, Dr. Markus Forschner, Dr. Markus Heyn, Rolf Najork

-----Ursprüngliche Nachricht-----
Von: tycho-dev <tycho-dev-bounces@xxxxxxxxxxx> Im Auftrag von Christoph Läubrich
Gesendet: Mittwoch, 6. April 2022 06:41
An: tycho-dev@xxxxxxxxxxx
Betreff: Re: [tycho-dev] Breaking change in 2.7.0?

@Dirk @ Michael see also [1] if you find it useful leave a comment :-)

  > But still I think the message is not 100% correct. I now understand that  > it can not find a toolchain, as the plugin is missing. But why is it  > stating JAVA_HOME is not set?

You could set a breakpoint at [2] and run mvnDebug to see whats going on. If there a bug, please don't hesitate to report it [3].

[1] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feclipse%2Ftycho%2Fissues%2F276&amp;data=04%7C01%7Cdirk.fauth%40de.bosch.com%7C0b0677b633264cb665b008da1787b550%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637848168883829111%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=cfoKcf7MOUkhrOYLpxbZy2rz6fOqNPgUS2yhZHtp0aI%3D&amp;reserved=0
[2]
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feclipse%2Ftycho%2Fblob%2Ff69b9e1475af0d6238d3fd90c1979d33c3194ed7%2Ftycho-surefire%2Ftycho-surefire-plugin%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Ftycho%2Fsurefire%2FAbstractTestMojo.java%23L1243&amp;data=04%7C01%7Cdirk.fauth%40de.bosch.com%7C0b0677b633264cb665b008da1787b550%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637848168883829111%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=70NU8dlDTX5Qe4G4yfoj3rJa%2F%2F3PwPztwOFYAeraTyc%3D&amp;reserved=0
[3] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feclipse%2Ftycho%2Fissues&amp;data=04%7C01%7Cdirk.fauth%40de.bosch.com%7C0b0677b633264cb665b008da1787b550%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637848168883829111%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=swFKSekpxYfeXLj%2FWpX%2F5PKhqzQA%2Bh4uZMWbMOuxwws%3D&amp;reserved=0

Am 06.04.22 um 06:35 schrieb Fauth Dirk (XC-ECO/ESM1) via tycho-dev:
Thanks, I wasn’t aware of the id. Seems that isn’t documented well
anywhere. At least I do not find that information anywhere.

Apart from that, as I said, the issue was local. I forgot to add the
maven-toolchains-plugin to that specific build. After adding it, the
message is gone in the log.

But still I think the message is not 100% correct. I now understand
that it can not find a toolchain, as the plugin is missing. But why is
it stating JAVA_HOME is not set?

Anyhow, that is complaining on a high level. It is only an information
and the build works. Just a not so good user experience, as it
probably creates some confusion.

Mit freundlichen Grüßen / Best regards

*Dirk Fauth*

Cross-Domain Computing Solutions, Cross Automotive Platforms - System,
Software and Tools Engineering Engineering Software Methods and Tools1
(XC-ECO/ESM1)
Robert Bosch GmbH | Postfach 30 02 20 | 70442 Stuttgart | GERMANY |
www.bosch.com <www.bosch.com> Tel. +49 711 811-57819 | Telefax +49 711
811 | Dirk.Fauth@xxxxxxxxxxxx <mailto:Dirk.Fauth@xxxxxxxxxxxx>

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Prof. Dr. Stefan Asenkerschbaumer;
Geschäftsführung: Dr. Stefan Hartung,
Dr. Christian Fischer, Filiz Albrecht, Dr. Markus Forschner, Dr.
Markus Heyn, Rolf Najork ​

*Von:* tycho-dev <tycho-dev-bounces@xxxxxxxxxxx> *Im Auftrag von
*Michael Keppler
*Gesendet:* Dienstag, 5. April 2022 19:45
*An:* tycho-dev@xxxxxxxxxxx
*Betreff:* Re: [tycho-dev] Breaking change in 2.7.0?

Am 05.04.2022 um 08:15 schrieb Fauth Dirk (XC-ECO/ESM1) via tycho-dev:

     "Could not find the Toolchain nor JAVA_HOME, trying java from PATH instead"

You toolchain.xml _must_ contain exactly this (with the right id of
course). The version is not sufficient.

||<provides>||

||<id>|JavaSE-16|</id>||

||</provides>


_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
eclipse.org%2Fmailman%2Flistinfo%2Ftycho-dev&amp;data=04%7C01%7Cdirk.f
auth%40de.bosch.com%7C0b0677b633264cb665b008da1787b550%7C0ae51e1907c84
e4bbb6d648ee58410f4%7C0%7C0%7C637848168883829111%7CUnknown%7CTWFpbGZsb
3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%
7C3000&amp;sdata=cjJGbSPIW%2Fk8kTxCVEAAcyJYugLjc%2B1seU7mXk7XJto%3D&am
p;reserved=0
_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Ftycho-dev&amp;data=04%7C01%7Cdirk.fauth%40de.bosch.com%7C0b0677b633264cb665b008da1787b550%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637848168883829111%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=cjJGbSPIW%2Fk8kTxCVEAAcyJYugLjc%2B1seU7mXk7XJto%3D&amp;reserved=0
_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-dev


Back to the top