[Anthill-pro] Stamp Style Script

Mathew Joseph mjoseph at bravurasolutions.com
Wed Jan 23 14:31:57 CST 2008


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


More information about the Anthill-pro mailing list