Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Tycho and Java8

if you have a Java-8 enabled jdt core binary available as maven GAV somewhere, you should be able to plug it in following Thanh's example.

Jan

From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx] On Behalf Of Thanh Ha
Sent: Donnerstag, 31. Oktober 2013 15:33
To: tycho-dev@xxxxxxxxxxx
Subject: Re: [tycho-dev] Tycho and Java8

I did not configure it so I'm not 100%  positive but I believe this is the relevant section of our pom.xml [1].


Hope this helps,


Thanh

[1] http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/tree/eclipse-platform-parent/pom.xml#n322


On 31/10/13 10:25 AM, Oberlies, Tobias wrote:
I've heard that
* it is possible to change the JDT compiler jar used by the tycho-compiler-pluging - the Eclipse Platform/CBI uses this feature
* there is a JDT version which has rudimentary support for Java 8

I don't have any further details though. Hope you can get it to work.

Best regards
Tobias

-----Original Message-----
From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-
bounces@xxxxxxxxxxx] On Behalf Of Tom Schindl
Sent: Donnerstag, 31. Oktober 2013 15:20
To: tycho-dev@xxxxxxxxxxx
Subject: Re: [tycho-dev] Tycho and Java8

Well tycho compiles with ECJ (=JDT-core) and not javac so one needs to
adjust the compiler plugin tycho uses.

Tom

On 31.10.13 15:14, Jeff MAURY wrote:
If you run Maven with a JDK8, Tycho should use it, no ?

Jeff


On Thu, Oct 31, 2013 at 2:15 PM, Tom Schindl
<tom.schindl@xxxxxxxxxxxxxxx <mailto:tom.schindl@xxxxxxxxxxxxxxx>>
wrote:

    Hi,

    Now that JDK8 has beta builds out. Is it some how possible to get
maven
    tycho to use it?

    My problem is that I need to compile a project against JDK8 because
some
    parts needs its API but because this project also e.g. holds
Comparator
    implementations (the Comparator-interface has been extended) I'm
unable
    to compile it.

    Tom
    _______________________________________________
    tycho-dev mailing list
    tycho-dev@xxxxxxxxxxx <mailto:tycho-dev@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/tycho-dev




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury


_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev


_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev
_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev




Back to the top