I'm underqualified to answer really, but you can use ant from within Java, so you could do all this in Java source code.
On 09/05/05, ELASRI Patrice SOFRECOM <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm new to Ant and need to know how to get several properties as > environment variables for an executable run from ant, with the "exec" > task. > > I saw that one cans do that with nested <env> elements, but this doesn't > satisfies me. Because I load several properties from a configuration > file and I don't want to write again a key/value pair for each of these > properties. In fact, in a first time, I want to use "ant" to get > configuration parameters (set as properties) inside a shell script. > > At least, does a "for" like loop exists within ant, so I can loop over > these properties and set environment variables with the <env> element. > > Thanks in advance > > P. ELASRI > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]