ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Need feedback for Bugzilla 58555
Date Mon, 02 Nov 2015 04:57:22 GMT
On 2015-11-01, Antoine Levy Lambert wrote:

> Hello Stefan,

> I have had a look at the code. Is the bit of code which is responsible for the behavior
described in Bugzilla 58555 this one :

> in org.apache.tools.ant.taskdefs.Execute :

>     public void setWorkingDirectory(File wd) {
>         workingDirectory =
>             (wd == null || wd.getAbsolutePath().equals(antWorkingDirectory))
>             ? null : wd;
>     }

> Would your change essentially be to simplify this setter to

>     public void setWorkingDirectory(File wd) {
>         workingDirectory = wd;
>     }

> ?

Right, that's what I'd do.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message