Original Message
Subject: Re: echo a property
From: Vimil Saju
To: Ant Users List
Date: 31.10.2010 00:29
> I was wondering why you can't upgrade to ant 1.8.1?
will upgrading to ant 1.8.1 solve his problem ?
Maybe, he may use the props antlib =
http://ant.apache.org
I strongly believe in upgrading the ANT version but i am not decision maker
in my place of work. I just write the scripts and there are separate teams
which does the actual deployment.
--
View this message in context:
http://ant.1045680.n5.nabble.com/echo-a-property-tp3239198p3243721.html
Sent
I was wondering why you can't upgrade to ant 1.8.1?
--- On Sat, 10/30/10, ritchie wrote:
From: ritchie
Subject: Re: echo a property
To: user@ant.apache.org
Date: Saturday, October 30, 2010, 1:05 PM
Dominique Devienne-2 wrote:
>
> On Thu, Oct 28, 2010 at 9:15 AM, ritchie
>
-
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
>
>
>
The idea is to minimize the number of properties files also, that is why we
have set the property for different environment in a single properties fi
On Thu, Oct 28, 2010 at 9:15 AM, ritchie wrote:
> I created a java class to read that property from the properties file and
> then passed it on to another java class which does the deployment. I am not
> sure whether this is a limitation in ant.
You can call it a limitation of sort, sure.
But
I created a java class to read that property from the properties file and
then passed it on to another java class which does the deployment. I am not
sure whether this is a limitation in ant.
--
View this message in context:
http://ant.1045680.n5.nabble.com/echo-a-property-tp3239198p3240608
On Oct 27, 2010, at 4:25 PM, Gilbert Rebhan wrote:
> Original Message
> Subject: Re: echo a property
> From: Matt Benson
> To: Ant Users List
> Date: 27.10.2010 23:07
>
>> Are you talking about the props antlib?
>> http://ant.apache.org/antl
Original Message
Subject: Re: echo a property
From: Matt Benson
To: Ant Users List
Date: 27.10.2010 23:07
> Are you talking about the props antlib?
> http://ant.apache.org/antlibs/props/index.html
any way to make your props antlib work with ant 1.7.1 ?
Regards, G
Original Message
Subject: Re: echo a property
From: Matt Benson
To: Ant Users List
Date: 27.10.2010 23:07
>
> On Oct 27, 2010, at 4:05 PM, Vimil Saju wrote:
>
>> You will need to enable nested property expansion.ant-contrib has a Property
>> Helper c
include this library
in your ant class path and also specify something similar to follows
--- On Wed, 10/27/10, ritchie wrote:
From: ritchie
Subject: Re: echo a property
To: user@ant.apache.org
Date: Wednesday, October 27, 2010, 1:44 PM
I am sorry that was a typo when i posted
o follows
>
Are you talking about the props antlib?
http://ant.apache.org/antlibs/props/index.html
-Matt
> --- On Wed, 10/27/10, ritchie wrote:
>
> From: ritchie
> Subject: Re: echo a property
> To: user@ant.apache.org
> Date: Wednesday, October 27, 20
:
From: ritchie
Subject: Re: echo a property
To: user@ant.apache.org
Date: Wednesday, October 27, 2010, 1:44 PM
I am sorry that was a typo when i posted it. That was not the problem.
My properties file- new.properties contains.
prod.eg=1
dev.eg=2
I am trying to access these properties in a
Did you mean to put a space after -Denv= prod?
I think you mean
ant -f echo.xml -Denv=prod
On Wed, 27 Oct 2010, ritchie wrote:
I am sorry that was a typo when i posted it. That was not the problem.
My properties file- new.properties contains.
prod.eg=1
dev.eg=2
I am trying to access t
Original Message
Subject: Re: echo a property
From: ritchie
To: user@ant.apache.org
Date: 27.10.2010 22:44
> -> does not work
[..]
> I expect the echo to display 1. It does not happen. How else can i access
> that value?
see =
http://ant.apache.
-Denv= prod
I expect the echo to display 1. It does not happen. How else can i access
that value?
--
View this message in context:
http://ant.1045680.n5.nabble.com/echo-a-property-tp3239198p3239475.html
Sent from the Ant - Users mailing list archive at Nabb
I think you want this:
You ommitted the $ sign...
On Wed, 27 Oct 2010, ritchie wrote:
I have a properties file (new.properties) which contains key value pairs as
"prod.eg=1" "dev.eg=2" . I am trying to access the property from a ant build
file echo.xml by loading the property file in the s
uld anyone tell me what is the correct syntax to access the property?
--
View this message in context:
http://ant.1045680.n5.nabble.com/echo-a-property-tp3239198p3239198.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
17 matches
Mail list logo