es I could just set the
>> default value of JOF path in that file like > value="C:/Inetpub/wwwroot/wo30"/> which would be the state that the build
>> file is not being run on the build box?
>>
>> so your code would look like:
>>
>>
>>
>&g
gt;
>
>
> BUILD_BOX = ${env.BUILD_BOX}
>
>
>
> JOF = ${JOF}
>
>
> After Property file, JOF = ${JOF}
>
>
>
>
> Thanks,
> BPM
>
>
> -Original Message-
> From: Echlin, Robert [mailto:robert.ec
2011 3:02 PM
> To: user@ant.apache.org
> Cc: Echlin, Robert
> Subject: RE: How change variable based on environment variable value
>
> Many thanks for your help :)
> BPM
>
> -Original Message-
> From: Echlin, Robert [mailto:robert.ech...@windriver.com]
> Sent: Monday,
Thanks for helping with this issue
BPM
-Original Message-
From: Scot P. Floess [mailto:sflo...@nc.rr.com]
Sent: Monday, June 06, 2011 1:58 PM
To: Brian McCann
Subject: RE: How change variable based on environment variable value
Sorry, that should be:
...
On Mon, 6 Jun 2011, Scot P
Many thanks for your help :)
BPM
-Original Message-
From: Echlin, Robert [mailto:robert.ech...@windriver.com]
Sent: Monday, June 06, 2011 1:51 PM
To: Brian McCann
Subject: RE: How change variable based on environment variable value
> -Original Message-
> From: Brian
ne 06, 2011 12:47 PM
To: Brian McCann
Cc: 'Ant Users List'
Subject: RE: How change variable based on environment variable value
I don't see how either target checkbuildbox nor setJOF is called... Your
default target is set to "build" - how are you executing when you run ant?
ver.com]
Sent: Monday, June 06, 2011 12:46 PM
To: Ant Users List
Subject: RE: How change variable based on environment variable value
Hi Brian,
Try this code.
Note: you can't put the default value of JOF into a file that will be loaded
automatically when ant is run, such as (home)/.antrc,
as
${JOF}
==
-Original Message-
From: Scot P. Floess [mailto:sflo...@nc.rr.com]
Sent: Monday, June 06, 2011 12:09 PM
To: Ant Users List
Subject: Re: How change variable based on environment variable value
Any chance we can see the complete build.xml?
On Mon, 6 Jun 2011, Bria
Hi Brian,
Try this code.
Note: you can't put the default value of JOF into a file that will be loaded
automatically when ant is run, such as (home)/.antrc,
as that would set JOF before your code executes. First set works, last set
fails.
On the other hand, you could set "JOF_default" in a proper
change variable based on environment variable value
Any chance we can see the complete build.xml?
On Mon, 6 Jun 2011, Brian McCann wrote:
> Hi,
> Below is xml from my build.xml file. I'm trying to set a property value
> based on the condition
> that the build.xml file is being run on
Any chance we can see the complete build.xml?
On Mon, 6 Jun 2011, Brian McCann wrote:
Hi,
Below is xml from my build.xml file. I'm trying to set a property value
based on the condition
that the build.xml file is being run on the build box. I created a system
variable and set it to true on a Wi
11 matches
Mail list logo