1/I don't know if you want to add a new Method to your interface or maybe add
the possibility to specify the helper.
2/As for the script you can evaluate a reader instead of just a line, so we
could get a path to a file as a property. Currently we need to have a
boolean return value since enforcer is 'conditionnal', I think that it
should be possible to move existing rules to scripts.
Emmanuel


ehsavoie wrote:
> 
> Hi Brain,
> I have some documentation from my old Mojo so I may be able to extract
> some of it and then translate it in english. I'll try to send a page about
> it today. 
> I am not a beanshell expert either ;o), this was my first and only use.
> Emmanuel
> 
> 
> 
> 
> Brian E. Fox wrote:
>> 
>> Hi Emmanuel,
>> I added this to the rules and deployed a snapshot and updated site,
>> thanks for sending that along. 
>> 
>> I managed to do some interesting stuff in the expression. I'd like to
>> figure out and add to the site docs:
>> 1. how to call the helper and get things from there to evaluate.
>> 2. possibly how to include a beanshell script and execute it.
>> 
>> Since I'm new to beanshell, I'll have to tinker with it some more but I
>> can see lots of potential here.
>> 
>> --Brian
>> 
>> -----Original Message-----
>> From: ehsavoie [mailto:[EMAIL PROTECTED] 
>> Sent: Wednesday, June 13, 2007 11:34 AM
>> To: [email protected]
>> Subject: RE: [POLL] maven-enforcer-plugin rules
>> 
>> 
>> Brian,
>> I have sent you by mail the beanshell-rule with a simple test.
>> If you have any question or problem feel free to ask bu i am in European
>> Time ;o).
>> Emmanuel
>> 
>> 
>> Brian E. Fox wrote:
>>> 
>>> Yes of course, can't you read my mind? ;-)
>>> 
>>> -----Original Message-----
>>> From: Jerome Lacoste [mailto:[EMAIL PROTECTED] 
>>> Sent: Wednesday, June 13, 2007 3:44 AM
>>> To: Maven Users List
>>> Subject: Re: [POLL] maven-enforcer-plugin rules
>>> 
>>> On 6/12/07, Brian E. Fox <[EMAIL PROTECTED]> wrote:
>>>> I don't see why it could be rolled into a new rule. Call it the
>>>> beanshell rule or something.
>>> 
>>> you meant "I don't see why it couldn't be rolled into a new rule",
>> right
>>> ?
>>> 
>>> :)
>>> 
>>> J
>>> 
>>> ---------------------------------------------------------------------
>>> 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]
>>> 
>>> 
>>> 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/-POLL--maven-enforcer-plugin-rules-tf3905191s177.h
>> tml#a11102188
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> 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]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-POLL--maven-enforcer-plugin-rules-tf3905191s177.html#a11116175
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to