Thanks for the reply Stefan. Please do consider adding the ability to set environment variables to the <junit> task also.
Dan -----Original Message----- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 2:18 AM To: [EMAIL PROTECTED] Subject: Re: How to Set "Path" for forked junit task On Wed, 16 Jan 2002, Dan Rollo <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> ************************************************************************** This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>