Not to my knowledge. Now that I think about it you may not be able to set a flag because you are specifying a tag, not a bean instance. I haven't really got my jelly hat on at the moment :)
- Brett > -----Original Message----- > From: Mark R. Diggory [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 20 January 2004 3:43 PM > To: Maven Users List > Subject: Re: BouncyCastle PGP Signature plugin > > > If I make > > public void verifyFile() throws MavenException { > > public boolean verifyFile() throws MavenException { > > is there a way I can capture the return value from the jellybean? > > -Mark > > Mark R. Diggory wrote: > > > What is a POJO? I'm a little naive... > > > > > > Brett Porter wrote: > > > >> If SignedFileProcessor is a POJO, add a flag with > accessors, then in > >> jelly > >> you can use > >> > >> ${verify.errorFlag} (which calls isErrorFlag()) > >> > >> Cheers, > >> Brett > >> > >> > >> > >>> -----Original Message----- > >>> From: Mark R. Diggory [mailto:[EMAIL PROTECTED] Sent: > >>> Tuesday, 20 January 2004 3:24 PM > >>> To: Maven Users List > >>> Subject: Re: BouncyCastle PGP Signature plugin > >>> > >>> > >>> Thanks, I think its almost done. > >>> > >>> Here's a more technical question. I have a method which is used in > >>> the execution of a jellytag. > >>> > >>> public void verifyFile() throws MavenException { > >>> > >>> its used in: > >>> > >>> <define:jellybean > >>> name="verify" > >>> method="verifyFile" > >>> > className="org.apache.maven.signature.SignedFileProcessor"/> > >>> > >>> which is called from a goal: > >>> > >>> <goal name="signature:verify"> > >>> ... > >>> <signature:verify artifact="${artifact}" > publicKey="${publickey}" > >>> armor="${armor}"/> > >>> </goal> > >>> > >>> Inside of verifyFile, there is a boolean status of if the > >>> verification failed or was successful. How can I get this state > >>> outside of the method and capture it in the goal this tag is used > >>> within? I suspect that I could just throw an exception on > failure. > >>> But I'd like to have cleaner way of informing the user of > the result. > >>> Can you recommend how I should output such info in maven? > >>> > >>> > >>> -Mark > >>> > >>> [EMAIL PROTECTED] wrote: > >>> > >>>> Done. > >>>> -- > >>>> dIon Gillard, Multitask Consulting > >>>> Blog: http://blogs.codehaus.org/people/dion/ > >>>> > >>>> > >>>> > >>>> "Mark R. Diggory" <[EMAIL PROTECTED]> wrote on > 20/01/2004 > >>>> 12:02:34 PM: > >>>> > >>>> > >>>> > >>>>> Ok, Jason, can I get this jar published? > >>>>> > >>>>> http://www.bouncycastle.org/download/bcpg-jdk13-121.jar > >>>>> > >>>>> thanks, > >>>>> Mark > >>>>> > >>>>> [EMAIL PROTECTED] wrote: > >>>>> > >>>>> > >>>>>> I believe it was Jason. > >>>>>> -- > >>>>>> dIon Gillard, Multitask Consulting > >>>>>> Blog: http://blogs.codehaus.org/people/dion/ > >>>>>> > >>>>>> > >>>>>> > >>>>>> "Mark R. Diggory" <[EMAIL PROTECTED]> wrote on > >>>>>> 20/01/2004 07:22:37 AM: > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>> I'm using bouncycastle to build a pgp signature plugin for > >>>>>>> Maven. > >>>>>>> > >>>>>>> Does anyone know who placed the bouncycastle jars in the > >>> > >>> > >>> repository? > >>> > >>>> I'd > >>>> > >>>> > >>>>>>> like to get the pgp jar uploaded there. > >>>>>>> > >>>>>>> http://www.ibiblio.org/maven/bouncycastle/jars/ > >>>>>>> > >>>>>>> thanks, > >>>>>>> Mark > >>>>>>> > >>>>>>> -- > >>>>>>> Mark Diggory > >>>>>>> Software Developer > >>>>>>> Harvard MIT Data Center > >>>>>>> http://osprey.hmdc.harvard.edu > >>>>>>> > >>>>>>> ---------------------------------------------------------- > >>> > >>> > >>> ---------- > >>> > >>>>>>> - > >>>>>>> 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] > >>>>>> > >>>>> > >>>>> -- > >>>>> Mark Diggory > >>>>> Software Developer > >>>>> Harvard MIT Data Center > >>>>> http://osprey.hmdc.harvard.edu > >>>>> > >>>>> ------------------------------------------------------------ > >>> > >>> > >>> --------- > >>> > >>>>> 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] > >>>> > >>> > >>> -- > >>> Mark Diggory > >>> Software Developer > >>> Harvard MIT Data Center > >>> http://www.hmdc.harvard.edu > >>> > >>> > -------------------------------------------------------------------- > >>> - > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >> > >> > > > > -- > Mark Diggory > Software Developer > Harvard MIT Data Center > http://www.hmdc.harvard.edu > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >