You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Alan Gutierrez <al...@engrm.com> on 2005/08/20 13:52:16 UTC
JUnit Task Working Directory
I've written test that reference files using relative paths.
They are not failing when I run the build.xml using the Ant task
from a build.xml in a parent directory.
Is there a way to change directory, or can/should I pass in the
base direcotry using sysproperty?
--
Alan Gutierrez - alan@engrm.com
- http://engrm.com/blogometer/index.html
- http://engrm.com/blogometer/rss.2.0.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: JUnit Task Working Directory
Posted by Stefan Bodewig <bo...@apache.org>.
On Sat, 20 Aug 2005, Alan Gutierrez <al...@engrm.com> wrote:
> Is there a way to change directory, or can/should I pass in the
> base direcotry using sysproperty?
Yes, <junit> has a dir attribute, which only works if you run the task
with fork="true".
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org