On Sep 26, 2010, at 8:23 AM, Marina wrote:
> Hello!
> In essence, I would like to know how to define a global property
> conditionally, and then have it available to all build files via .
>
What I do is supply a -Dtarget=Debug or Release via the commandline which
causes a build.properties file t
Thanks, David and Matt,
Matt, yes, was what I was looking for - for some reason I thought
you coudl not use them outside of s, and, thus, could not use to define
global variables. But since it is working great - that's all I needed.
David, thanks for extensive suggested options - the
There are several ways this can be done:
One is to use multiple tasks:
In the example you gave, you could simply set the property "type" to
either "dev" or "release":
You can also use separate XML property files:
Or, you can use the antcontrib library wh
On Sep 26, 2010, at 8:23 AM, Marina wrote:
> Hello!
> In essence, I would like to know how to define a global property
> conditionally,
> and then have it available to all build files via .
>
Um, use the task?
-Matt
> Now the details:
> I have a build.common.xml file with all global proper
Hello!
In essence, I would like to know how to define a global property conditionally,
and then have it available to all build files via .
Now the details:
I have a build.common.xml file with all global properties and paths defined. I
import it into my main build and component build files via ,
On 8/31/07, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 30, 2007 4:10 PM
> To: user@ant.apache.org
> Subject: AW: global variables
>
> /*
> Each
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 30, 2007 4:10 PM
To: user@ant.apache.org
Subject: AW: global variables
/*
Each property is global and immutable.
...
unless you have a custom built Ant from HEAD (since Peters support for
List
Oggetto: Re: R: global variables
On 8/30/07, Pomè Elisabetta <[EMAIL PROTECTED]> wrote:
> Thank you, but I'm not sure I have understood.
> If I have 3 target (target A with an antcall to target B and
an antcall to
> another target C) and I define a property in target B I
On 8/30/07, Pomè Elisabetta <[EMAIL PROTECTED]> wrote:
> Thank you, but I'm not sure I have understood.
> If I have 3 target (target A with an antcall to target B and an antcall to
> another target C) and I define a property in target B I can't see its value
> in target C. So I thought that propert
I found a certain condition. Each time I enter the loop
I need to test this "something" in order to understand whether continue or
end the loop.
Thank you again
Elisabetta
-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Inviato: giovedì 30 agosto 2007 16.10
A:
IL PROTECTED] Apache. Org (E-mail)
>Betreff: global variables
>
>Hi all,
>is it possible in ant to have global variables? I need to set
>a variable
>inside a target (ant)called by a foreach cycle, in order to
>test wether the
>cycle have to end or not.
>How can I reach this
Hi all,
is it possible in ant to have global variables? I need to set a variable
inside a target (ant)called by a foreach cycle, in order to test wether the
cycle have to end or not.
How can I reach this purpose?
Axioma S.p.A. www.axioma.it
via De Vizzi 35/39 - 20092 Cinisello B.mo (MI)
Tel. +39
12 matches
Mail list logo