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/antlibs/props/index.html > any way t

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, Gilbert --

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 class to expand nested pr

Re: echo a property

2010-10-27 Thread Scot P. Floess
Ah yeah, property expansion issues :( I was thinking in terms of macrodefs... oh well... Pt well taken... On Wed, 27 Oct 2010, Vimil Saju wrote: You will need to enable nested property expansion.ant-contrib has a Property Helper class to expand nested properties. You will need to include

Re: echo a property

2010-10-27 Thread Matt Benson
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 class to expand nested properties. You will need to include this > library in your ant class path and also specify something similar to follows >

Re: echo a property

2010-10-27 Thread Vimil Saju
You will need to enable nested property expansion.ant-contrib has a Property Helper class to expand nested properties. You will need to include this library in your ant class path and also specify something similar to follows          --- On Wed, 10/27/10, ritchie wrote:

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.org/faq.html#propertyvalu

Re: echo a property

2010-10-27 Thread ritchie
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 echo.xml file -> does not work >From command line i do this. ant -f echo.xml -Denv= p

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
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 script. -> does not work ant -f echo.xml -Denv prod Could anyone tell me what is

Re: Property Location with path seperator / irrespective of OS

2010-10-27 Thread Dominique Devienne
On Wed, Oct 27, 2010 at 6:57 AM, Raja Nagendra Kumar wrote: > Is it possible to have ant property with location attribute, always return > location with '/' irrespective of OS. See . --DD - To unsubscribe, e-mail: user-unsubscr.

Re: Strange IvyDE issue

2010-10-27 Thread David Harrigan
Hi Andrew, Thank you for that :-) -=david=- On 27 October 2010 12:46, Andrew Thorburn wrote: > You could use overrides to explicitly set the version (probably to > 1.1). See > http://ant.apache.org/ivy/history/latest-milestone/ivyfile/override.html > for more on that. > > - Andrew > > On Wed,

Property Location with path seperator / irrespective of OS

2010-10-27 Thread Raja Nagendra Kumar
Hi, Is it possible to have ant property with location attribute, always return location with '/' irrespective of OS. Currently path separation of the location this property points depends on OS path separator. Is there any way to override so that all the paths every (fileset, path, classpath) w

How to use ANT to upload a file to a HTTP CGI for process?

2010-10-27 Thread Chee Yang Chau
Hi, I have setup a cgi script in my webserver. The cgi script will process an win32 .exe file using UPX (ultimate packer for executables) and return the packed .exe back to user. Can I use ant script to perform the task and how to do it if possible? -- Best regards, Chau Chee Yang E Stream So