[prev in list] [next in list] [prev in thread] [next in thread]
List: ant-user
Subject: Setting property on cvs checkout success ?
From: "Rebhan, Gilbert" <Gilbert.Rebhan () huk-coburg ! de>
Date: 2005-07-28 10:00:35
Message-ID: 1397E81F23832842BDD7B2D758D4B0B52AACF1 () VEX00120 ! lan ! huk-coburg ! de
[Download RAW message or body]
Hi,
i'm doing a checkout of several modules in cvs via <foreach> =
...
<foreach list="${module}"
target="checkout"
param="modul"
delimiter=","
trim="true"
inheritall="true" />
...
<target name="checkout">
...
<if>
<not>
<equals arg1="${mainlinetag}" arg2="" />
</not>
<then>
<cvs cvsroot="${cvsroot}"
dest="."
package="'${_module}'"
tag="${mainlinetag}"
command="checkout" />
<echo>Modul = ${_module} mit Mainlinetag = ${mainlinetag}</echo>
</then>
<else>
<cvs cvsroot="${cvsroot}"
dest="."
package="'${_module}'"
tag="${tag}"
command="checkout" />
<echo>Modul = ${_module} in Version = ${tag}</echo>
</else>
</if>
</target>
Problem = that script runs under cruisecontrol. If one of the modules
doesn't exist in cvs repository, i nevertheless get a Build successful
message
from my emailpublisher.
Question =
How to set a property in cvs .. checkout part , that is only set, if
_all_
modules contained in list ${module} are properly checked out.
I want to get a Build Failed if only one of the modules can't be checked
out
properly.
Is that possible within that foreach logic ?!
Thanks for any hints !!
bye4now, Gilbert
Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic