Then, in the <java> task I said:
<target name="echotask">
<java ....>
<arg line="${1} ${2} -previousflag" />
<arg value="${previousarg} />
</java>
One more thing... if you are doing <java> a lot, you may want to consider turning your class into an Ant task. It's easier than you think, just have a 'public void execute()' method on it, <taskdef> it, and voila. You can implement setters like 'public void setQuiet(boolean quiet)' and use quiet="true" on the task. This is the cleanest, most Ant Way of doing this... DREW! :)
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
