You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/05/24 09:29:58 UTC

[jira] Closed: (MAVEN-1425) Provide access to ant -inputhandler command line option

     [ http://jira.codehaus.org/browse/MAVEN-1425?page=all ]
     
Brett Porter closed MAVEN-1425:
-------------------------------

    Fix Version:     (was: 1.1-beta-1)
     Resolution: Won't Fix

heh, just noticed the reporter said you can do it on the ant project.

${pom.getAntProject().setInputHandler(...)} should work

> Provide access to ant -inputhandler command line option
> -------------------------------------------------------
>
>          Key: MAVEN-1425
>          URL: http://jira.codehaus.org/browse/MAVEN-1425
>      Project: maven
>         Type: New Feature
>   Components: cli, jelly/ant integration
>     Versions: 1.0
>     Reporter: Laird Nelson

>
>
> I'm using the <ant:input> task in one of my plugins.  Unfortunately, there is no way to specify the InputHandler implementation to use (this is more a design flaw in Ant than in Maven).
> There are several ways to accomplish this:
> 1. Do something more globalish to allow ant command line options in maven (a bit ugly but would solve this problem and maybe others as Ant adds more command line switches)
> 2. Provide some way to get the ant Project object so that the InputHandler may be set there using Project.setInputHandler().
> 3. Define a maven jelly tag like <maven:input> or something that would allow a more flexible and correctly designed mechanism for capturing user input during the build.
> Thanks,
> L

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


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