RE: Retrieving key value pairs from URL and setting as system property

2008-03-20 Thread Rebhan, Gilbert
-Original Message- From: raju [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 6:16 AM To: user@ant.apache.org Subject: RE: Retrieving key value pairs from URL and setting as system property /* This is what i am trying to acheive from within an Ant script: Hit a URL say http

RE: Retrieving key value pairs from URL and setting as system property

2008-03-19 Thread raju
Hi gilbert, Thanks for your replies. This is what i am trying to acheive from within an Ant script: Hit a URL say http://host/environment?name=test ,from which a get a response a containing key-value pairs containing data about the environment.(could this be done without writing the key-value d

RE: Retrieving key value pairs from URL and setting as system property

2008-03-19 Thread Burgess, Benjamin
You could do it as separate steps: http://.../viewproperties"; dest="downloaded.properties" usetimestamp="true" /> You may also have to set Ben -Original Message- From: raju [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 7:23 AM To: user@ant.apache.org Subject: Retrieving

RE: Retrieving key value pairs from URL and setting as system property

2008-03-19 Thread Rebhan, Gilbert
... /* setting the env variables = accessing the env variables = $${env.FOO} == ${env.FOO} $${env.BAR} == ${env.BAR} other already set env variables are also accessible $${env.JAVA_HOME} == ${env.JAVA_HOME} $${env.TOMCAT_HOME} == ${env.TOMCAT_HOME} */ when using the variables are only

RE: Retrieving key value pairs from URL and setting as system property

2008-03-19 Thread Rebhan, Gilbert
-Original Message- From: raju [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 12:23 PM To: user@ant.apache.org Subject: Retrieving key value pairs from URL and setting as system property /* I need to access a web URL say http://.../viewproperties which throws plain html with