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/16 08:45:34 UTC

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

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

Brett Porter updated MAVEN-1425:
--------------------------------

    Fix Version: 1.1-beta-1
    Environment: 
    Description: 
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

  was:
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


> 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
>      Fix For: 1.1-beta-1

>
>
> 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