Comments (13)
No rush at all. I wasn't expecting our use case to be supported! Thanks :D
from bobbin.
from bobbin.
Works for me now, I did have to clear out my groovy lib cache.
from bobbin.
Hi @visch !
I've seen such error while testing. Give me please couple of hours to suggest on this.
Thank you for reporting the issue! :)
from bobbin.
hi @visch!
After doing a bit of research on this issue, and consulting with Groovy Team (thanks to @daniel_sun !), the current recommendation is to upgrade the project to use Groovy 2.5.x (2.5.4).
It seems to be a general recommendation - to avoid using libraries compiled using different versions of Groovy.
Would this be suitable for you?
In the meanwhile I will do more research on the subject and try to find any other workarounds for our awareness.
Note: there seems to be another issue related to using Grape:
java.lang.RuntimeException: Error grabbing Grapes -- [download failed: org.junit.platform#junit-platform-engine;1.3.1!junit-platform-engine.jar]
If you encounter this issue, kindly use Gradle for timebeing with all the infinite
libraries.
We are already working on this issue and hopefully will be able to fix it soon.
We highly appreciate your attention to the project. Please don't hesitate to report any other issues, or feedback.
Thank you so much!
from bobbin.
hi @visch!
I tried few options, like using
compileOnly 'org.codehaus.groovy:groovy-all:2.5.4'
testCompileOnly 'org.codehaus.groovy:groovy-all:2.5.4'
- to prevent transient Groovy 2.5.4 dependency, however it seems that there method change mismatch between the Groovy versions - thus impossible to fix.
I kindly ask you to please upgrade to Groovy 2.5.4.
Reg. Grapes error:
java.lang.RuntimeException: Error grabbing Grapes -- [download failed: org.junit.platform#junit-platform-engine;1.3.1!junit-platform-engine.jar]
It's cause and solution are now found and the fixed version will be published tomorrow.
from bobbin.
Awesome thank you! We will be moving to a more updated version of groovy in the future (We're trying to do both the move to Java 11 and Groovy move at a similar time, and it's hard to know when we should actually make the move, as of today we're still on Java 8 and Groovy 2.4.x )
from bobbin.
@visch , tomorrow I will check on creating Groovy 2.4.x branch for Bobbin and other Infinite libraries (BlackBox, etc). I will research on existing practice how to organize the code (i.e. branch or forked repo).
But definitely in such case we are willing to support Groovy 2.4.x.
Please give me time until tomorrow EOD, I will advise.
Thank you.
from bobbin.
This was wrongly automatically closed; reopening.
from bobbin.
Hi @visch!
We have researched on the subject today and tried to prepare and publish a build with Groovy 2.4.x support.
However the result unfortunately was negative, mainly due to 2 below reasons:
- There are few external dependencies used in the projects that don't support Groovy 2.4.x (e.g. Groovy Enterprise Plugin). It would be complicated to ask their developers to add support for Groovy 2.4.x.
- There are several issues that were identified and fixed in Groovy platform itself at the course of BlackBox development. The fixes are available only in recent Groovy updates (2.5.4+).
Some of these issues are potential blockers for BlackBox, e.g.:
https://issues.apache.org/jira/browse/GROOVY-8881
You can check list of issues raised to Groovy team during BlackBox development here:
https://issues.apache.org/jira/browse/GROOVY-8938?jql=reporter%20in%20(anton.pryamostanov)
In light of this, it seems to be quite complicated to add the retrofit support for Groovy 2.4.x at this stage.
We highly value your interest about our projects and ask you to kindly use them with Groovy 2.5.4+ where feasible - and wait until your other codebase is migrated to Groovy 2.5.4+
Sorry for the frustration. Please don't hesitate to keep in touch with us.
Thank you.
from bobbin.
hi @visch !
I have good news! After some research and mix-and-match I figured out how to support different Groovy versions properly. Now even Groovy 2.4.x is supported!
The new versions have been published and documentations have been updated.
Here is the new example, please try it - it should work in your environment now:
@Grab('io.infinite:blackbox:1.0.15')
@Grab('io.infinite:bobbin:2.0.3')
import io.infinite.blackbox.BlackBox
import io.infinite.carburetor.CarburetorLevel
@BlackBox(level = CarburetorLevel.EXPRESSION)
String foobar(String foo) {
String bar = "bar"
String foobar = foo + bar
return foobar
}
foobar("foo")
Apologies for initial confusion! We really hope that you will like the libraries and will start using them in your projects.
From our side we guarantee timely support and bug-fixing.
Thank you so much!
from bobbin.
Once you kindly confirm, we will close this issue.
from bobbin.
Many thanks!
Highly appreciate your feedback, @visch !
from bobbin.
Related Issues (20)
- Classes, Levels: true -> all
- Refactor code - extract script binding init into separate function HOT 1
- Add "none" token to scripts context HOT 1
- Add "bobbin" token to script context HOT 1
- Dont overwrite archived files HOT 1
- ZIP file names - make optional HOT 1
- Make caching optional/remove it (it ignores context) HOT 1
- Use NIO files HOT 1
- Add support for yaml configuration HOT 1
- Lucidchart test HOT 1
- fileKey-> constant; zipFileName -> optional
- Bug: SLF4J 1.8+ (recent) versions support HOT 2
- Log levels array HOT 1
- Overriding root log level
- MDC via dynamic logger field HOT 1
- Enable Travis CI builds
- Upgade build.gradle to good practice
- Fix version number in the build
- Add Artifactory snapshot upload to Gradle HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bobbin.