est your condition.
...
--
View this message in context:
http://ant.1045680.n5.nabble.com/Checking-a-property-with-ant-tp1350385p3242389.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To u
>
>
>
Translation:
if ( buildresults == "failed" ) {
buildfailed = true;
}
// otherwise 'buildfailed' is not set
>
>
>
public target buildresults() {
// unless clause
if ( buildfailed != null ) {
>
>
>
>
>
>
>
>
> If I am understanding this correctly then, the above should reference the
> buildresults property that is held in a property file and if it is set to
> failed...the script should fail. The issue is that
I want ant to
> check the property test to make sure it is set to successful before going
> on. How do I do this?
>
--
View this message in context:
http://www.nabble.com/Checking-a-property-with-ant-tp15051347p15095025.html
Sent from the Ant - Users mailing lis
[EMAIL PROTECTED] schrieb:
> But dont forget: checks whether a property with
> the given name is set/not-set.
therefore in my example the property thats' used
afterwards with target if|unless is set via
condition + equals ... ;-)
>
>
> I will be executed
>
>
>
>
> I will be execu
Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121
-Ursprüngliche Nachricht-
Von: Barry Andreasen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 24. Januar 2008 10:45
An: user@ant.apache.org
Betreff: RE: Checking a property with ant
This is a 2 step process. First you need to also
From: jpyork [mailto:[EMAIL PROTECTED]
Sent: Wed 1/23/2008 15:50
To: user@ant.apache.org
Subject: Checking a property with ant
I have tried a few things today and still can't figure this out. I have a
properties file with a setting of say test=successful and I
>
>
But dont forget: checks whether a property with
the given name is set/not-set.
I will be executed
I will be executed
Jan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
> I have tried a few things today and still can't figure this out. I have a
> properties file with a setting of say test=successful and I want ant to
> check the property test to make sure it is set to successful before going
> on. How do I do this?
see manual , f.e. =
and later on =
http://www.nabble.com/Checking-a-property-with-ant-tp15051347p15051347.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
10 matches
Mail list logo