Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Build fails on Tycho 2.x (was Re: Build is failing when switching to Java 11)

Hi,
Moving from Tycho 2.0.0 to 2.1.0 raised me some similar issues.
I fixed that by deactivating a new feature introduced in Tycho 2.1.0: Automatic determination of --release compiler argument based on BREE
see https://wiki.eclipse.org/Tycho/Release_Notes/2.1

In my use case, it was linked to mixing old plug-ins targeting JavaSE-1.5 + new ones targeting JavaSE-11.


<pluginManagement>

<plugins>

<plugin>

<groupId>org.eclipse.tycho</groupId>

<artifactId>tycho-compiler-plugin</artifactId>

<version>${tycho-version}</version>

<configuration>

<encoding>UTF-8</encoding>

<useProjectSettings>false</useProjectSettings>

<deriveReleaseCompilerArgumentFromTargetLevel>false</deriveReleaseCompilerArgumentFromTargetLevel>

<source>11</source>

....



Regards,
Stéphane

De : Ed Willink <ed@xxxxxxxxxxxxx>
À : tycho-user@xxxxxxxxxxx
Sujet : Re: [tycho-user] Build fails on Tycho 2.x (was Re: Build is failing when switching to Java 11)
Date : 02/12/2020 09:41:20 Europe/Paris

Hi

In the absence of further comment:

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=569379

raised.

    Regards

        Ed Willink

On 23/11/2020 13:06, Ed Willink wrote:
> Hi
>
> On 23/11/2020 11:50, Ed Willink wrote:
>> Tycho 1.7.0 seems ok
>
> Correction
>
> Tycho 1.4.0, 1.5.0, 1.6.0 seem ok.
>
> Tycho 1.7.0, 2.0.0 seem to promote warnings to errors breaking the build.
>
> Tycho 2.1.0 seems to facilitate spurious errors.
>
>     Regards
>
>         Ed Willink
>

--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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

Back to the top