GrEclipse 2.9 and GPars

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GrEclipse 2.9 and GPars

Russel Winder-3
I tried making a new Eclipse project in the GPars project using Gradle
2.0. The resulting project loads into Kepler but on trying to build I
get 150 errors and 100 warnings. Sadly I think the problem is not with
the GPars code since it compiles and passes all tests in IntelliJ IDEA
(project generated by Gradle). Could this be Gradle Eclipse project
creation or is it down to the use of AST transforms in the GPars code?

Thanks.

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GrEclipse 2.9 and GPars

Andy Clement
I guess we want a bug raised against greclipse to investigate. I recall testing against GPars as a sample app a while ago but haven't done that for a couple of years. The only rule we have around transforms (that we've always had) is that you don't want to be consuming them in the same project that defines them - and that can be trickier in eclipse because project source and test folders are merged into a single project, they are not compiled separately, this is an eclipse restriction. (So you can't define a transform in your 'src' folder and have an associated test in your 'test' folder - you need those tests to be in a separate project). We do have some scenarios where it can be made to work but that is a bit hacky. So if your transforms are not falling foul of that, sounds like a real bug.

cheers,
Andy


On 21 July 2014 09:18, Russel Winder <[hidden email]> wrote:
I tried making a new Eclipse project in the GPars project using Gradle
2.0. The resulting project loads into Kepler but on trying to build I
get 150 errors and 100 warnings. Sadly I think the problem is not with
the GPars code since it compiles and passes all tests in IntelliJ IDEA
(project generated by Gradle). Could this be Gradle Eclipse project
creation or is it down to the use of AST transforms in the GPars code?

Thanks.

--
Russel.
=============================================================================
Dr Russel Winder      t: <a href="tel:%2B44%2020%207585%202200" value="+442075852200">+44 20 7585 2200   voip: [hidden email]
41 Buckmaster Road    m: <a href="tel:%2B44%207770%20465%20077" value="+447770465077">+44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Reply | Threaded
Open this post in threaded view
|

Re: GrEclipse 2.9 and GPars

Russel Winder-3
GRECLIPSE-1764 duly created.
https://jira.codehaus.org/browse/GRECLIPSE-1764

In a sense I hope it is a GrEcl;ipse bug and not an incompatibility
between Eclipse and the GPars use of AST transforms!

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc (188 bytes) Download Attachment