[Anthill-pro] Secondary Workflows and Labels
Eric Minick
etm at urbancode.com
Fri Aug 3 09:55:47 CDT 2007
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
>
More information about the Anthill-pro
mailing list