Re: HELP!!! if/else condition with cruise control???
Christian Baumann <[email protected]> Tue, 11 Sep 2012 13:47:06 +0200
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry, nevermind... My reply is stupid and does not answer your question.
Am 11.09.2012 13:42, schrieb Christian Baumann:
> Do you know Antcontrib's If task? http://ant-contrib.sourceforge.net/tasks/tasks/if.html
>
> Am 11.09.2012 11:05, schrieb aligisan:
>
>> how can i insert some if/else conditions with cruise control??? let's assume i have defined
>> a "project" plugin, i want to insert an "if/else" condition depending on parameter values...
>> something like this:
>
>> <plugin name="MyProject" classname="net.sourceforge.cruisecontrol.ProjectConfig"> .... ....
>> <publishers> <htmlemail> if (${parameter.alwaysAdress} != "") <always
>> address="${parameter.alwaysAdress}"/> else <always address="[email protected]"/>
>> </htmlemail> </publishers> .... .... </plugin>
>
>> <MyProject name="myProject_x64_release" buildafterfailed="false" > <property
>> name="parameter.alwaysAdress" value="[email protected]"/> </MyProject>
>
>
> ------------------------------------------------------------------------------ Live Security
> Virtual Conference Exclusive live event will cover all the ways today's security and threat
> landscape has changed and how IT managers can respond. Discussions will include endpoint
> security, mobile security and the latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________ Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQEcBAEBAgAGBQJQTyS6AAoJEO2IMhqLUlJKjo8H/RyoNyU+wShbHyeWxE+SjRyU
jfW/PMdLbhButpsUNHXOhivPISteRz0xVKH+wGh/OWrtFVjNgl2maNSmFtjuOTxf
Pq6ZPWSVMUNgykJW4KQMgWj28I+2vqTk2V4PPjKOAis5RHtUi7cotwzTMBbpSEqU
ChxkUmwnpY339hKc5xtY4pETBmaTDdQD44P1N5E+7RcW2snFZ9Z4zy1vieqOTsLL
LQK48o4bxDaXssVFtvqH4Ec4E14Bwj0K2GwkKTEA5uQ5VcoKO8e2zIOdXGv3Qe7v
Zh3MMsQ7h6SwzrkMSfUgeF47vxpkcrGqrnIDVckn3mRuk9O2tWMe0r7zQ7bKhUI=
=c8Zt
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/