[Anthill-pro] Accessing properties inside shell builder
Ryan Smith
rws at urbancode.com
Wed Feb 3 13:49:08 CST 2010
One way to do this would be to write two separate shell steps and use
step pre-condition that run or do not run the step based on the property.
Ryan
On 2/3/10 2:40 PM, Prashant Prabhudesai (pprabhud) wrote:
> Hi,
>
>
>
> Is there a way I can do different things based on a property inside a
> shell builder. I want to execute a different command based on a
> property's value.
>
>
>
> For example, I have 2 build objects that I am compressing using a shell
> builder. One is for a Windows platform and the other is for a Linux
> platform. I want to use WinZip to compress the Windows one and gzip to
> compress the Linux one. I am running this as an iteration and have a
> property set for each of the iterations to identify the build object in
> question. How can I switch using this property between WinZip and gzip
> inside the shell builder.
>
>
>
> Thanks.
>
>
>
> _______________________________________________
> 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