ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Th. Schapitz" <>
Subject Re: Running <junit> in a different directory than build.xml
Date Thu, 13 Jan 2005 09:58:16 GMT
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.


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

View raw message