Re: echo a property

2010-10-30 Thread Gilbert Rebhan
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

Re: echo a property

2010-10-30 Thread ritchie
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

Re: echo a property

2010-10-30 Thread Vimil Saju
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 >

Re: echo a property

2010-10-30 Thread 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

Re: echo a property

2010-10-28 Thread Dominique Devienne
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

Re: echo a property

2010-10-28 Thread ritchie
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

Re: echo a property

2010-10-27 Thread Matt Benson
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

Re: echo a property

2010-10-27 Thread Gilbert Rebhan
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

Re: echo a property

2010-10-27 Thread Gilbert Rebhan
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

Re: echo a property

2010-10-27 Thread Scot P. Floess
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

Re: echo a property

2010-10-27 Thread Matt Benson
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

Re: echo a property

2010-10-27 Thread Vimil Saju
: 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

Re: echo a property

2010-10-27 Thread Scot P. Floess
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

Re: echo a property

2010-10-27 Thread Gilbert Rebhan
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.

Re: echo a property

2010-10-27 Thread ritchie
-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

Re: echo a property

2010-10-27 Thread Scot P. Floess
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

echo a property

2010-10-27 Thread ritchie
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. -