[Anthill-pro] Stamp Style Script

Steve Boone sbb at urbancode.com
Mon Jan 28 10:22:47 CST 2008


Mathew,

Can you pass along your script?

It sounds like your script should check to see what environment  the
workflow is using, and then apply the correct stamp based on that
environment.

I do not know what you are using the active Stamp for?  Does this just get
the Dev or Prod stamp, and obtain its value?

Regards,
Steve Boone

On 1/23/08, Mathew Joseph <mjoseph at bravurasolutions.com> wrote:
>
> I have just begun to start using libraries and reusing jobs. I have
> setup a build job in a library and this build job has a step which
> stamps the build.
>
> the workflows that use this job however need to put different stamps. So
> if i run a build dev workflow, it should stamp with the dev stamp and
> when i run the build prod workflow it should stamp with the prod stamp.
>
> i have defined both prod stamp and dev stamp as properties in the
> project.
>
> and i have another property called activeStamp which i have set to Prod
> or Dev from within the workflow properties as the case may be.
>
> In the build job, i use a script to select the stamp style
>
> return PropertyEvaluator .resolve ( "activeStamp" );
>
> Should I be returning an object of type StampStyle for this to work?
>
> is there any other way to do this?
>
> --
> Regards,
> Mathew Joseph
> Build & Release Engineer
> Bravura Solutions
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080128/bae6822a/attachment.htm


More information about the Anthill-pro mailing list