ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rollo, Dan" <dro...@ets.org>
Subject RE: How to Set "Path" for forked junit task
Date Tue, 22 Jan 2002 18:29:13 GMT
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:bodewig@apache.org]
Sent: Thursday, January 17, 2002 2:18 AM
To: ant-user@jakarta.apache.org
Subject: Re: How to Set "Path" for forked junit task


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>



************************************************************************** 
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message