Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] please test staged Tycho 2.0.0

and you have the toolchain plugin in the pom.xml?

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<id>JavaSE-1.8</id>
</jdk>
</toolchains>
</configuration>
</plugin>

On Tue, 11 Aug 2020 at 16:20, Pierre-Charles David <pierre-charles.david@xxxxxxx> wrote:
Le 11/08/2020 à 15:48, Johan Compagner a écrit :
> do you have a toolchains.xml file?
>
> <toolchains>
>   <!-- JDK toolchains -->
>   <toolchain>
>        <type>jdk</type>
>        <provides>
> <id>JavaSE-1.8</id>
>        </provides>
>        <configuration>
> <jdkHome>c:/javatools/jdk18/</jdkHome>
>        </configuration>
>   </toolchain>
> </toolchains>
>
> i guess that is still needed right?
> If we want to let tycho run with any kind of java (11 or higher)
> but still compile with or against a BREE of java 8?


Locally I have one, which seems correct. It points to the path for a
real OpenJDK 1.8.0:

~% grep -C5 JavaSE-1.8 ~/.m2/toolchains.xml
<toolchains xmlns="http://maven.apache.org/TOOLCHAINS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/TOOLCHAINS/1.1.0
http://maven.apache.org/xsd/toolchains-1.1.0.xsd">
   <toolchain>
     <type>jdk</type>
     <provides>
       <id>JavaSE-1.8</id>
     </provides>
     <configuration>
<jdkHome>/home/pcdavid/.sdkman/candidates/java/8.0.242-open</jdkHome>
     </configuration>
   </toolchain>
~% /home/pcdavid/.sdkman/candidates/java/8.0.242-open/bin/java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)

I don't know how the JIRO servers are setup in this regard though, but I
see the same behavior there as locally. I don't think I changed anything
related to that on the EMF Services Jenkins [1] (using the "migration"
image).

[1] https://ci.eclipse.org/emfservices/

Oh, and I forgot to mention, both locally and on the JIPP this is using
"Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)".

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user


--
Johan Compagner
Servoy

Back to the top