ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: How to Set "Path" for forked junit task
Date Thu, 17 Jan 2002 07:17:57 GMT
On Wed, 16 Jan 2002, Dan Rollo <> wrote:
> I'm running unit tests using the junit task.  Some tests need
> specific directories on the environment path (like native dll's for
> a JDBC driver).

Sorry, right now you cannot set environment variables in forked
<junit> or <java> tasks (at least the later is on my TODO list).

You're only option probably is to run the junit tests that need the
special environment via <exec> or to adapt your environment before
running Ant (if that is possible at all).


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message