Thanks everyone for the feedback. More work to do ;-). 

--
Rick Genter
Principal Engineer
Silverlink Communications
<mailto:[EMAIL PROTECTED]>
(781) 272-3080 x242



-----Original Message-----
From: Th. Schapitz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 13, 2005 4:58 AM
To: Ant Users List
Subject: Re: Running <junit> in a different directory than build.xml

Hi Rick,

I'm assuming you want to do this, because your tests are
referring to certain files, and relatively so?
(If it was only the test-output, you could have redirected it
by using the outfile property of  test subtag to junit)

Else a solution would be to beef up your testclasses,
by providing a way to specify a base directory for your files,
and defaulting this to '.' by using a system property,
which can be set on the junit task and queryed in
a class derived from TestSetup.

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to