You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Roland Asmann <Ro...@cfc.at> on 2007/03/09 17:53:59 UTC
Using the plexus-interactivity jars
Hi,
I'm working on a plugin that I want to make interactive. I've looked into the
release-plugin for some samples, but I just can't figure out how the Prompter
gets set! The method 'setPrompter' seems to be only used by the tests...
I tried just calling a 'new Prompter()', but then the internals are still
empty...
Could somebody tell me how to best initialize the Prompter so that I can work
with it?
Thanks,
--
Roland Asmann
CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien
Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@cfc.at
Web: www.cfc.at
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Using the plexus-interactivity jars
Posted by Roland Asmann <Ro...@cfc.at>.
That seems to have done the trick! Thanks!
Roland
On Friday 09 March 2007 18:24, LAMY Olivier wrote:
> /**
> * @component
> role="org.codehaus.plexus.components.interactivity.Prompter"
> role-hint="default" * @required
> * @readonly
> */
> private Prompter prompter;
--
Roland Asmann
CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien
Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@cfc.at
Web: www.cfc.at
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Using the plexus-interactivity jars
Posted by LAMY Olivier <Ol...@accor.com>.
In your mojo try something like
/**
* @component
* @required
* @readonly
*/
private Prompter prompter;
Or longer one
/**
* @component role="org.codehaus.plexus.components.interactivity.Prompter" role-hint="default"
* @required
* @readonly
*/
private Prompter prompter;
--
Olivier
-----Message d'origine-----
De : Roland Asmann [mailto:Roland.Asmann@cfc.at]
Envoyé : vendredi 9 mars 2007 17:54
À : users@maven.apache.org
Objet : Using the plexus-interactivity jars
Hi,
I'm working on a plugin that I want to make interactive. I've looked into the release-plugin for some samples, but I just can't figure out how the Prompter gets set! The method 'setPrompter' seems to be only used by the tests...
I tried just calling a 'new Prompter()', but then the internals are still empty...
Could somebody tell me how to best initialize the Prompter so that I can work with it?
Thanks,
--
Roland Asmann
CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien FN 266155f, Handelsgericht Wien
Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@cfc.at
Web: www.cfc.at
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org