ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
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 <drollo@ets.org> 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).

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message