|
From: Marc Prud'h. <ma...@ap...> - 2003-07-17 01:35:59
|
Bernhard-
> I think jline is very good work. IMHO there are two options:
>
> - we merge our projects
> - we write a java-readline wrapper to jline
>
> I would prefer the first solution, since the second one is more
> cumbersome for
> developers and users: they have to download two libraries to compile
> and use
> java-readline.
>
> Maybe we could setup jline as a subproject of the merger (name to be
> found) so
> it could be built and used seperately if necessary.
>
> Which option do you prefer?
For the time being, I would like to keep them separate, for a couple
reasons:
1. I want to be able to make quick architectural changes without having
to worry about projects that are relying on various libraries to keep
them stable, and
2. There is some additional functionality that I need to have for other
projects in JLine (like the fairly sophisticated ArgumentCompletor and
other completor stuff), and I think that introducing that into
java-readline might convolute the API (since there would be features
that would only be available for a single implementation).
3. JLine is still a little flaky, and doesn't really work on Windows at
all yet.
So I think that an adapter for java-readline would be the way to go. It
would be nice if java-readline used a "pluggable" system, that maybe
uses the java services framework for automatic discovery of
java-readline implementations. However, writing a quick little adaptor
would probably be quite easy.
In any case, I am happy to have JLine (w/ the adapter) also bundled
into the java-readline libraries so people do not have to download two
separate sets of libraries in order to get the functionality.
I'm probably going to be too busy with work for the new couple weeks to
do much work on it, so if you want to work on the adaptor, then feel
free to jump right in. Otherwise, I'll let you know when I'm able to
work something out. I imagine it will only take a few hours to get
something working.
-Marc
On Saturday, July 12, 2003, at 09:23 AM, Bernhard Bablok wrote:
>
>> Bernhard-
>>
>>> this sounds great - I thought it could not be possible. I will have a
>>> look at
>>> it this weekend.
>>
>> Excellent. Let me know what you think.
>
> Hi Marc,
>
> I think jline is very good work. IMHO there are two options:
>
> - we merge our projects
> - we write a java-readline wrapper to jline
>
> I would prefer the first solution, since the second one is more
> cumbersome for
> developers and users: they have to download two libraries to compile
> and use
> java-readline.
>
> Maybe we could setup jline as a subproject of the merger (name to be
> found) so
> it could be built and used seperately if necessary.
>
> Which option do you prefer?
>
> Bernhard
>
>
>
--
Marc Prud'hommeaux ma...@so...
SolarMetric Inc. http://www.solarmetric.com
|