Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: taglib.interaction
    • Labels:
      None
    • Environment:

      I've tested this in windows with and without cygwin.

      Description

      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?

      1. interaction.patch
        8 kB
      2. patch.txt
        8 kB
        Ryan Christanson

        Activity

        Ryan Christanson created issue -
        Ryan Christanson made changes -
        Field Original Value New Value
        Attachment patch.txt [ 18344 ]
        Anonymous made changes -
        Attachment interaction.patch [ 18772 ]
        Paul Libbrecht made changes -
        Assignee Paul Libbrecht [ polx ]
        Fix Version/s 1.1 [ 12310620 ]
        Component/s taglib.interaction [ 12311002 ]
        Affects Version/s 1.0 [ 10216 ]
        Paul Libbrecht made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Paul Libbrecht
            Reporter:
            Ryan Christanson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development