Announce: 5.1 release

16 views
Skip to first unread message

Dennis Reedy

unread,
Feb 15, 2015, 3:34:58 PM2/15/15
to rio-...@googlegroups.com
Hello,

Just a note that I’ve release version 5.1. It’s available at www.rio-project.org/and also as a GitHub release. One thing of note that I added in 5.1 is a resolverConfig.groovy file that allows you to declare the repositories (anf their order) you want to use. I was greatly influenced by the way Gradle sets up it’s environment, and with the project I’m working on now, this becomes very handy. 

Check out the Support section in the resolver documentation at the Rio page for more info.

Regards

Dennis

Zsolt Kúti

unread,
Feb 24, 2015, 9:55:44 AM2/24/15
to rio-...@googlegroups.com
On Sun, 15 Feb 2015 15:34:54 -0500
Dennis Reedy <dennis...@gmail.com> wrote:


> Hello,

>

> Just a note that I’ve release version 5.1. It’s available at
> www.rio-project.org/and <http://www.rio-project.org/and> also as a
> GitHub release
> <https://github.com/dreedyman/Rio/releases/tag/5.1-Release>. One
> thing of note that I added in 5.1 is a resolverConfig.groovy file
> that allows you to declare the repositories (anf their order) you
> want to use. I was greatly influenced by the way Gradle sets up it’s
> environment, and with the project I’m working on now, this becomes
> very handy.

>

> Check out the Support section in the resolver documentation
> <http://www.rio-project.org/resolver.html> at the Rio page for more
> info.


Hello Dennis,

I renewed my attempt to change to 5.x from 4.2 and am doing a little
testing. It was a bit of surprise to realize* that from this release on
Java 8 is required. A note on the download page would be useful for
others.

Thanks
Zsolt

Ps: We are on 7 now and I do not know when we will have the chance to
upgrade.



*
At starting the test this error appeared:
Caused by: java.lang.NoSuchMethodError:
java.util.Map.putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
at
org.rioproject.monitor.service.OpStringManagerController.addOperationalString(OpStringManagerController.java:232)
at
org.rioproject.monitor.service.ProvisionMonitorImpl.deploy(ProvisionMonitorImpl.java:530)
at
org.rioproject.monitor.service.ProvisionMonitorAdminImpl.deploy(ProvisionMonitorAdminImpl.java:137)


This Map method is introduced in Java 8.

Dennis Reedy

unread,
Feb 24, 2015, 10:12:50 AM2/24/15
to rio-...@googlegroups.com
Hi Zsolt,

The ConcurrentHashMap.putIfAbsent() method has been available since Java 1.5. My mistake is I declared the collection as a Map instead of a ConcurrentHashMap. I'm in the process of pushing a bug fix release anyway, and this will be part of it. The new release will be 5.1.2 and be available shortly. I'll update the list when it becomes available.

Dennis
> --
> You received this message because you are subscribed to the Google Groups "Rio Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rio-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Zsolt Kúti

unread,
Feb 24, 2015, 10:26:25 AM2/24/15
to Dennis Reedy, rio-...@googlegroups.com
On Tue, 24 Feb 2015 10:12:47 -0500
Dennis Reedy <dennis...@gmail.com> wrote:


> Hi Zsolt,

>

> The ConcurrentHashMap.putIfAbsent() method has been available since
> Java 1.5. My mistake is I declared the collection as a Map instead of
> a ConcurrentHashMap. I'm in the process of pushing a bug fix release
> anyway, and this will be part of it. The new release will be 5.1.2
> and be available shortly. I'll update the list when it becomes
> available.

That's great, thank you!

Zsolt

Dennis Reedy

unread,
Feb 27, 2015, 3:34:00 PM2/27/15
to Zsolt Kúti, rio-...@googlegroups.com
Hi Zsolt,

I've just released 5.1.2 that should address your issue. Let me know if you run acrosss anything else.

Regards

Dennis
Reply all
Reply to author
Forward
0 new messages