Also, by the looks of it, if it is using the DefaultInputHandler, etc. all it is doing is wrapping System.in much like I am, so I am not sure what the best way to go is. I really don't think what I am doing is appropriately handled by setting a sys. property, as those are likely forgotten.

Thanks,
Grant

On May 11, 2007, at 9:34 AM, Grant Ingersoll wrote:

From what I can tell, it uses the Prompter interface from the Plexus interactivity component, but how I would initialize it is beyond me. I'm guessing it uses the IoC stuff, but I am not familiar w/ the setup of all of that. Any pointers people have would be greatly appreciated.

-Grant

On May 10, 2007, at 5:47 PM, Wayne Fay wrote:

Sorry about that, and good point, I had forgotten about release plugin.

In that case, I would probably check out the release mojo code and
follow their approach for your own plugin. But you already knew that.
;-)

Wayne

On 5/10/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote:

On May 10, 2007, at 4:35 PM, Wayne Fay wrote:

> In M2, things like this are generally either passed as parameters
> (-D...) or simply specified as configurations for the plugin in the
> pom.xml configuration.
>
> Actually, I can't think of a single M2 plugin that prompts the user > for input while processing etc. There is probably a good reason for
> this (the forked JVM etc) so perhaps reconsider your approach?
>

release:prepare seems to be asking me what to bump the version to,
etc. and says it does at http://maven.apache.org/plugins/maven-
release-plugin/examples/prepare-release.html?

-Grant

-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------
Grant Ingersoll
Center for Natural Language Processing
http://www.cnlp.org/tech/lucene.asp

Read the Lucene Java FAQ at http://wiki.apache.org/jakarta-lucene/ LuceneFAQ



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


------------------------------------------------------
Grant Ingersoll
http://www.grantingersoll.com/
http://lucene.grantingersoll.com
http://www.paperoftheweek.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to