commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Theussl (JIRA)" <commons-...@jakarta.apache.org>
Subject [jira] Commented: (JELLY-175) patch for jelly-tags-interaction
Date Sun, 07 May 2006 15:26:22 GMT
    [ http://issues.apache.org/jira/browse/JELLY-175?page=comments#action_12378299 ] 

Lukas Theussl commented on JELLY-175:
-------------------------------------

Paul,
First, thanks for your feedback and interest, I was really afraid that jelly folks are dying
out!

Now here is what I did:
- grabbed the jelly-tags-interaction code from svn, build a jar and put it in my local maven
repo
- in the console plugin, changed the jelly-tags-interaction dependency to 1.1-SNAPSHOT and
added a dependency on jline 0.9.0
- installed the plugin - voila

I ran a couple of standard goals (jar, test, site..) in console mode and verified that history
and tab completion works as described above (great!).
I don't know what other 'goodies' are being referred to, I am not familiar with the jline
library.

My system setup: Linux FC3, JDK 1.4.2_10, maven-1.1-beta-3 (current development version).

Cheers,
Lukas

> patch for jelly-tags-interaction
> --------------------------------
>
>          Key: JELLY-175
>          URL: http://issues.apache.org/jira/browse/JELLY-175
>      Project: Jelly
>         Type: Improvement

>  Environment: I've tested this in windows with and without cygwin.
>     Reporter: Ryan Christanson
>     Priority: Minor
>  Attachments: interaction.patch, patch.txt
>
> I've attached a patch to the commons-jelly-tags-interaction jar. This
> patch makes it so the interaction task will try to use jline:
> http://jline.sourceforge.net/
> Jline makes it so a java console will have tab completion, and
> history, and other goodies.
> This is great, because the maven-console plugin uses the
> commons-jelly-tags-interaction jar. So if you update the
> commons-jelly-tags-interaction jar, and then tell the maven console
> plugin to use the new jar, then your maven console will have history,
> and tab completion.
> I've set it up to remember all of the commands typed in any console,
> further it uses that history as the tab completion source - so you can
> tab complete past commands.
> I've tested this in windows and it works great, but in windows with
> cygwin, it doesn't do the fancy completion, but still works.
> By the way, in windows, jline's lib doesn't support arrows for
> history, so use CONTROL+P and CONTROL+N.
> Its possible that there might be a better way to integrate jline into
> this lib, i've just done what looked like the quickest way to get it
> working so my maven console would have history and tab completion.
> Maybe this feature could be enabled with a tag attribute?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message