[Anthill-pro] Passing Properties to Dependent Workflows

Matt_J_Hartzler at gelco.com Matt_J_Hartzler at gelco.com
Fri Feb 9 10:00:56 CST 2007


Is there any way to pass/set properties to dependent builds?

For example, suppose I have Project_A which depends on Project_util.  I 
have setup the dependency to use the latest version of Project_util and 
build if necessary.  Now imagine I branch both Project_A and Project_util 
for maintenance and create a new originating workflow for each that builds 
the maintenance branch.

What I would like to have is something like:

Project_A:
source configuration: 
        type=cvs, module=A, tag=${property:branch}

originating workflows:
        Build HEAD, property branch=HEAD
        Build Maintenance, property branch=maint

Project_util:
source configuration: 
        type=cvs, module=util, tag=${property:branch}

originating workflows:
        Build HEAD, property branch=HEAD
        Build Maintenance, property branch=maint



The only way I can figure out is to have multiple source configurations in 
each project and specify the tag/branch name.  What I would like to do is 
have this passed in, as it is known at build time by the parent project 
that has setup the dependency.   Can this be done?

This may not seem like a big deal with only 2 branches, but as the number 
of concurrent branches grow (features branches), it would be nice to 
minimize configuration.

Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070209/2c4dcc18/attachment.htm


More information about the Anthill-pro mailing list