On Fri, Aug 1, 2008 at 3:08 PM, Yang Zhang <[EMAIL PROTECTED]> wrote: > If there's a better way to do what I'm trying to do, I'm all ears. Thanks in > advance for any answers!
I think you basically have two options: 1) use <macrodef> or <presetdef>, to wrap <exec> with some <env> child elements. 2) write your own task that does the wrapping in Java code. #1 can often do the job and is easy, but #2 is more powerful, but needs more setup. You could also do #2 in a scripting language directly in the build file, which eases some of the deployment issues with Java-based #2, but that's the hardest IMHO. >From your message, sounds like #1 would do for you. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
