ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Mass changes to various projects under Ant umbrella - should we be doing it?
Date Sun, 15 Apr 2018 09:59:17 GMT
On 2018-04-15, Gintautas Grigelionis wrote:

> Could you please explain what alternative approach does the "root"
> property support

It has been added with
and the commit message states the main use case "running tests from
an arbitrary directory". I don't recall the details, you may want to
look at the mailing list archive of December 2004.

My main point is this is something that has been working for more than
thriteen years and I don't want to break it for people who rely on it
just because it makes running the tests from an IDE slightly
inconvenient (by having to remember something).

> _and_ add assumptions checks, since it causes nasty NPEs when not set?

IIRC the fallback would be to use the current working directory instead
of the "root" property if the former is not set. We can easily deal with
this by using

System.getProperty("root", System.getProperty("user.dir"))

instead, right?

> By the looks of it, JUnit 5 runner tests need an assumption check, too.

Not sure why, but I may again be missing something.


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

View raw message