[Anthill-pro] Secondary Workflows and Labels

Eric Minick etm at urbancode.com
Fri Aug 3 11:51:17 CDT 2007


Curt,

In which case, I'd expect 
${bsh:StampLookup.getLatestStampValueForStyle("DEV")} would work. You 
have a simple text field, so the short scripting syntax kicks in.

Is that still failing?

-- Eric

Curtis Yanko wrote:
> I'm not doing a scripted Stamp. I'm trying to populate SVN Remote Label 
> with two beanshell inline scripts. On for the label to apply ad the other 
> for the label to base it off of.
>
> - Curtis Yanko
> UnitedHealth Group IT
> Mail Route: CT028-06SA
> Internet email: curt_yanko at uhc.com
> Office 860.702.9059
> Cell 860.729.8171
>
>
>
>
> Eric Minick <etm at urbancode.com> 
> Sent by: anthill-pro-bounces at caladin.urbancode.com
> 08/03/2007 10:55 AM
> Please respond to
> "AnthillPro user and support list." <anthill-pro at caladin.urbancode.com>
>
>
> To
> "AnthillPro user and support list." <anthill-pro at caladin.urbancode.com>
> cc
>
> Subject
> Re: [Anthill-pro] Secondary Workflows and Labels
>
>
>
>
>
> Curtis,
>
> StampLookup.getLatestStampValueForStyle("DEV")  should have worked.
> Scripted stamps are one of the few places where the helper classes
> aren't made available by default. Your syntax error is probably that
> StampLookup wasn't being found. The first line of your script should be:
>
> import com.urbancode.anthill3.runtime.scripting.helpers.*;
>
>
> Regards,
>
> Eric
>
> Curtis Yanko wrote:
>   
>> Is there a way to extract and save the SVN revision during the Build
>> process? Seems a reasonable way to go back and apply labels.
>>
>> I have tried to use
>> StampLookup.getLatestStampValueForStyle([style name])
>>
>> to retrieve the stamp from my Build stamp style so I could apply my
>> Release stamp with
>> StampLookup.getLatestStampValue()
>>
>> I have been struggling with the syntax for StampStyle. My Build style is
>> actually called DEV so I tried
>> StampLookup.getLatestStampValueForStyle([DEV])  &
>> StampLookup.getLatestStampValueForStyle(DEV)  &
>> StampLookup.getLatestStampValueForStyle("DEV")
>>
>> But seem to getting a syntax error.
>>
>>
>> - Curtis Yanko
>> UnitedHealth Group IT
>> Mail Route: CT028-06SA
>> Internet email: curt_yanko at uhc.com
>> Office 860.702.9059
>> Cell 860.729.8171
>>
>>
>> This e-mail, including attachments, may include confidential and/or
>> proprietary information, and may be used only by the person or entity to
>> which it is addressed. If the reader of this e-mail is not the intended
>> recipient or his or her authorized agent, the reader is hereby notified
>> that any dissemination, distribution or copying of this e-mail is
>> prohibited. If you have received this e-mail in error, please notify the
>> sender by replying to this message and delete this e-mail immediately.
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Anthill-pro mailing list
>> Anthill-pro at lists.urbancode.com
>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>>
>>     
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
> This e-mail, including attachments, may include confidential and/or 
> proprietary information, and may be used only by the person or entity to 
> which it is addressed. If the reader of this e-mail is not the intended 
> recipient or his or her authorized agent, the reader is hereby notified 
> that any dissemination, distribution or copying of this e-mail is 
> prohibited. If you have received this e-mail in error, please notify the 
> sender by replying to this message and delete this e-mail immediately.
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>   


More information about the Anthill-pro mailing list