[ http://issues.apache.org/jira/browse/JELLY-229?page=all ]
     
Paul Libbrecht resolved JELLY-229:
----------------------------------

    Fix Version: 1.1-beta-1
     Resolution: Fixed
      Assign To: Paul Libbrecht  (was: james strachan)

Applying patch and successfully run the described test and the included sample.
I'd wish for automated tests but this seems impossible for now. So we'll... 
just... accept by seeing that the sample works.
paul

> Add list of possible completions to jelly-tags-interaction
> ----------------------------------------------------------
>
>          Key: JELLY-229
>          URL: http://issues.apache.org/jira/browse/JELLY-229
>      Project: Jelly
>         Type: New Feature

>  Environment: Linux FC3, jdk-14.2_10, Maven-1.1-beta-3-SNAPSHOT
>     Reporter: Lukas Theussl
>     Assignee: Paul Libbrecht
>      Fix For: 1.1-beta-1
>  Attachments: JELLY-229.patch
>
> This is a follow-up of JELLY-175. I added a method setCompletor(list) 
> allowing to set a list of strings that is used by jline for tab completion. 
> Use it like: <i:ask completor="${list}" answer="a"/>. The list of 
> tab-completion strings is added to the history list, ie new goals typed in 
> console mode will always be tab-completed afterwards.
> Please note that I have bumped the jline dependency to the latest 0.9.5. This 
> is not on ibiblio yet, I have created an upload request ( 
> http://jira.codehaus.org/browse/MAVENUPLOAD-883 ), if it is not found, you 
> will have to put the jline-0.9.5.jar into your local repo by hand.
> To test it: I have deployed a snapshot of the maven 1 console plugin:
> maven plugin:download 
> -Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
>  -DgroupId=maven -DartifactId=maven-console-plugin -Dversion=1.2-SNAPSHOT
> The default value for the completor list is 
> "clean,java:compile,jar,test,xdoc,site,quit,help", but you can define your 
> own custom list using the maven.console.completor.goals property.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to