GPars and versions of Groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

GPars and versions of Groovy

Russel Winder-3
Hi,

Currently the GPars build system assumes one and only one version of
Groovy. Currently we have four, most likely incompatible, versions of
Groovy on the boil: 2.4.14, 2.5.0-beta-3, 2.6.0-alpha-3, 3.0.0-alpha-1.
Should GPars be build specially for each version of Groovy?

--
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

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

Re: GPars and versions of Groovy

Kerridge, Jon

Hi,

I am having the same problems with the JCSP and GroovyJCSP libraries as well!


Currently I have compilations for 2.4.14 and 2.5.x


I am then coping with the various versions of Java as well J8, 9 10 and 11 before the end of this year!


Any advice would be gratefully received.


Jon



Professor Jon Kerridge
School of Computing
Edinburgh Napier University
Merchiston Campus
Edinburgh EH10 5DT
 
0131 455 2777
 

From: Russel Winder <[hidden email]>
Sent: 06 March 2018 15:51:24
To: GPars Developers
Cc: Groovy_Developers
Subject: GPars and versions of Groovy
 
Hi,

Currently the GPars build system assumes one and only one version of
Groovy. Currently we have four, most likely incompatible, versions of
Groovy on the boil: 2.4.14, 2.5.0-beta-3, 2.6.0-alpha-3, 3.0.0-alpha-1.
Should GPars be build specially for each version of Groovy?

--
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

This message and its attachment(s) are intended for the addressee(s) only and should not be read, copied, disclosed, forwarded or relied upon by any person other than the intended addressee(s) without the permission of the sender. If you are not the intended addressee you must not take any action based on this message and its attachment(s) nor must you copy or show them to anyone. Please respond to the sender and ensure that this message and its attachment(s) are deleted.

It is your responsibility to ensure that this message and its attachment(s) are scanned for viruses or other defects. Edinburgh Napier University does not accept liability for any loss or damage which may result from this message or its attachment(s), or for errors or omissions arising after it was sent. Email is not a secure medium. Emails entering Edinburgh Napier University's system are subject to routine monitoring and filtering by Edinburgh Napier University.

Edinburgh Napier University is a registered Scottish charity. Registration number SC018373

Reply | Threaded
Open this post in threaded view
|

Re: GPars and versions of Groovy

Russel Winder-3
On Tue, 2018-03-06 at 16:43 +0000, Kerridge, Jon wrote:
> Hi,

Hi Jon,

> I am having the same problems with the JCSP and GroovyJCSP libraries
> as well!

It has been a very long while since I created the JCSP-1.1-rc5 artefact
and put it into Maven Central. I can't remember which Java I used to
build it. I am not sure I still have the Git repository with all the
changes I needed to create the artefact.

> Currently I have compilations for 2.4.14 and 2.5.x

For Gant (a now useless project except for GINT) I have a Gradle build
that builds for whichever Groovy versions I choose. Currently I assume:

2.4: 2.4.14
2.5: 2.5.0-beta-3
2.6: 2.6.0-alpha-3
3.0: 3.0.0-alpha-1

except it doesn't build just now as I haven't upgraded the build to
Gradle 4.6. I'll fix this. The core idea is to set Gradle to build
multiple projects but all using the same source just with different
dependencies. Naming is the big issue. I have gone with:

gant_groovy2.4
gant_groovy2.5
gant_groovy2.6
gant_groovy3.0

> I am then coping with the various versions of Java as well J8, 9 10
> and 11 before the end of this year!

I am assuming a JDK8 target even though I am using JDK9. I have not
done this as yet, but I am guessing that my one-dimensional structure
can be extended to two dimensions by changing the path to the JDK
version. This I think would be an excellent extension of the build
matrix.

If we need to do for GPars what I did for Gant, it would be a good
opportunity to revise that whole build, indeed start from scratch. The
Gant build has the added complexity of being able to build against a
locally installed Groovy (built from Groovy master/HEAD usually).

--
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

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

Re: GPars and versions of Groovy

jnorthr
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: GPars and versions of Groovy

Jochen Theodorou
In reply to this post by Russel Winder-3
On 06.03.2018 16:51, Russel Winder wrote:
> Hi,
>
> Currently the GPars build system assumes one and only one version of
> Groovy. Currently we have four, most likely incompatible, versions of
> Groovy on the boil: 2.4.14, 2.5.0-beta-3, 2.6.0-alpha-3, 3.0.0-alpha-1.
> Should GPars be build specially for each version of Groovy?

building for 2.4.14 is supposed to work for 2.5.0 and 2.6.0. If not we
did most likely something wrong. 3.0.0 is a different issue, but even
here the 2.4.14 may just work.

bye jochen
Reply | Threaded
Open this post in threaded view
|

Re: GPars and versions of Groovy

Russel Winder-3
In reply to this post by jnorthr
On Tue, 2018-03-06 at 20:15 +0100, Jim Northrop wrote:
> Thanks to you for this -
>
> Does this mean that GPars will no longer work on JDK1.7 ? What is the
> minimum jdk that we require for GPars, please ?
> Thx
> Jim
>

GPars 2.0 requires JDK8 or later.

I am not interested in doing anything with any JDK earlier that JDK8,
so unless someone other than me does something, GPars 1.X is now past
end of life and unmaintained.

--
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

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

Re: GPars and versions of Groovy

Russel Winder-3
In reply to this post by Jochen Theodorou
On Tue, 2018-03-06 at 23:19 +0100, Jochen Theodorou wrote:

> On 06.03.2018 16:51, Russel Winder wrote:
> > Hi,
> >
> > Currently the GPars build system assumes one and only one version
> > of
> > Groovy. Currently we have four, most likely incompatible, versions
> > of
> > Groovy on the boil: 2.4.14, 2.5.0-beta-3, 2.6.0-alpha-3, 3.0.0-
> > alpha-1.
> > Should GPars be build specially for each version of Groovy?
>
> building for 2.4.14 is supposed to work for 2.5.0 and 2.6.0. If not
> we
> did most likely something wrong. 3.0.0 is a different issue, but
> even
> here the 2.4.14 may just work.
>
> bye jochen
Experience with Gant (which I am using to fiddle to get data for
application on GPars, not because Gant is relevant any more) indicates
that 2.4, 2.5, and 2.6 seem to behave the same but 3.0 is quite
different – which is entirely reasonable. However I am finding that
2.4.14 on JDK8 has some critical differences of XML processing
behaviour and some other issues to 2.4.14 on JDK9. So JDK9 causes some
parts of 2.4.14 to behave differently to 2.4.14 on JDK8. I guess this
implies CI is not picking up these differences.


--
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

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

Re: GPars and versions of Groovy

Kerridge, Jon
In reply to this post by jnorthr

Hi,

It depends which bit of GPars you are using.  if you are using the CSP bit, sometimes known as JCSP, then this works on most JDK's back to 1.5 (I think).  I have recompiled the code as each JDK came ut to the latest version and never had to chnage the underlying Java coding.  I have yet to try JDK9.  But it is on my todo list in the near future.


I will be making the JCSP more easily availabale with an Apache 2 licence very shortly.


Jon



Professor Jon Kerridge
School of Computing
Edinburgh Napier University
Merchiston Campus
Edinburgh EH10 5DT
 
0131 455 2777
 

From: Jim Northrop <[hidden email]>
Sent: 06 March 2018 19:15:00
To: [hidden email]
Subject: Re: GPars and versions of Groovy
 

Thanks to you for this -

Does this mean that GPars will no longer work on JDK1.7 ? What is the minimum jdk that we require for GPars, please ?
Thx
Jim

> On 6 Mar 2018, at 18:04, Russel Winder <[hidden email]> wrote:
>
> On Tue, 2018-03-06 at 16:43 +0000, Kerridge, Jon wrote:
>> Hi,
>
> Hi Jon,
>
>> I am having the same problems with the JCSP and GroovyJCSP libraries
>> as well!
>
> It has been a very long while since I created the JCSP-1.1-rc5 artefact
> and put it into Maven Central. I can't remember which Java I used to
> build it. I am not sure I still have the Git repository with all the
> changes I needed to create the artefact.
>
>> Currently I have compilations for 2.4.14 and 2.5.x
>
> For Gant (a now useless project except for GINT) I have a Gradle build
> that builds for whichever Groovy versions I choose. Currently I assume:
>
> 2.4: 2.4.14
> 2.5: 2.5.0-beta-3
> 2.6: 2.6.0-alpha-3
> 3.0: 3.0.0-alpha-1
>
> except it doesn't build just now as I haven't upgraded the build to
> Gradle 4.6. I'll fix this. The core idea is to set Gradle to build
> multiple projects but all using the same source just with different
> dependencies. Naming is the big issue. I have gone with:
>
> gant_groovy2.4
> gant_groovy2.5
> gant_groovy2.6
> gant_groovy3.0
>
>> I am then coping with the various versions of Java as well J8, 9 10
>> and 11 before the end of this year!
>
> I am assuming a JDK8 target even though I am using JDK9. I have not
> done this as yet, but I am guessing that my one-dimensional structure
> can be extended to two dimensions by changing the path to the JDK
> version. This I think would be an excellent extension of the build
> matrix.
>
> If we need to do for GPars what I did for Gant, it would be a good
> opportunity to revise that whole build, indeed start from scratch. The
> Gant build has the added complexity of being able to build against a
> locally installed Groovy (built from Groovy master/HEAD usually).
>
> --
> Russel.
> ===========================================
> Dr Russel Winder      t: +44 20 7585 2200
> 41 Buckmaster Road    m: +44 7770 465 077
> London SW11 1EN, UK   w: www.russel.org.uk

This message and its attachment(s) are intended for the addressee(s) only and should not be read, copied, disclosed, forwarded or relied upon by any person other than the intended addressee(s) without the permission of the sender. If you are not the intended addressee you must not take any action based on this message and its attachment(s) nor must you copy or show them to anyone. Please respond to the sender and ensure that this message and its attachment(s) are deleted.

It is your responsibility to ensure that this message and its attachment(s) are scanned for viruses or other defects. Edinburgh Napier University does not accept liability for any loss or damage which may result from this message or its attachment(s), or for errors or omissions arising after it was sent. Email is not a secure medium. Emails entering Edinburgh Napier University's system are subject to routine monitoring and filtering by Edinburgh Napier University.

Edinburgh Napier University is a registered Scottish charity. Registration number SC018373