You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2015/12/02 14:46:27 UTC
cli module and jdk: next step
Hi guys,
cli module has now few challenges we need to solve before the coming
release:
- we use airline as CLI library, this is important for 2 reasons:
-- we expose it to the user since now user can extend the CLI
-- it is now based on java 8 which is not our default target (but would be
acceptable for cli module)
Side note: airline also relies on guava which is not that great in
"container classloader" mode as you probably know
Question then is:
- do we stay like that ie with cli module requiring j8?
- do we move away from airline implementing a light layer on top of [cli]
to have an annotation based API? - will pby break the CLI but can be the
best
I'd like to tackle this before the release since it will face end users now
we have a CLI extension API and then release end of the week.
Any feedback welcomed.
Personally I'm very tempted to use [cli] hidding their programmatic API
behind our annotation model.
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>
Re: cli module and jdk: next step
Posted by Romain Manni-Bucau <rm...@gmail.com>.
FYI https://issues.apache.org/jira/browse/BATCHEE-81
let me know if it causes any issue, the only CLI interface change is for
the parameter using '-' in the name which is not supported by [cli].
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>
2015-12-02 14:46 GMT+01:00 Romain Manni-Bucau <rm...@gmail.com>:
> Hi guys,
>
> cli module has now few challenges we need to solve before the coming
> release:
>
> - we use airline as CLI library, this is important for 2 reasons:
> -- we expose it to the user since now user can extend the CLI
> -- it is now based on java 8 which is not our default target (but would be
> acceptable for cli module)
>
> Side note: airline also relies on guava which is not that great in
> "container classloader" mode as you probably know
>
> Question then is:
> - do we stay like that ie with cli module requiring j8?
> - do we move away from airline implementing a light layer on top of [cli]
> to have an annotation based API? - will pby break the CLI but can be the
> best
>
> I'd like to tackle this before the release since it will face end users
> now we have a CLI extension API and then release end of the week.
>
> Any feedback welcomed.
>
> Personally I'm very tempted to use [cli] hidding their programmatic API
> behind our annotation model.
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <http://rmannibucau.wordpress.com> | Github
> <https://github.com/rmannibucau> | LinkedIn
> <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
>