ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <>
Subject Re: [2/2] ant git commit: symlink and executable file selectors
Date Mon, 11 Apr 2016 22:00:10 GMT
Hello Stefan,

there is a command mklink on Windows [1] which is described as being able to create symbolic
There is also an API function CreateSymbolicLink [2].

Concerning executable files, it seems that the executable nature of a file depends upon its
extension, see [3].
So maybe if we create a file xyz.bat the file should be found executable.
What I do not understand is that I have practical remembrances of changing the executable
flag of a file under cygwin and this “chmod” command allowing dll s to actually work on
Windows after they were untarred or copied with cygwin utilities.

I hope this helps. 

Using a library called jna (java native access) [4] we could call system level methods from
java and make them available within ant tasks for testing or production purposes.




On Apr 9, 2016, at 11:07 AM, Stefan Bodewig <> wrote:

> On 2016-04-09, <> wrote:
>> symlink and executable file selectors
> Two questions:
> (1) does anybody know how to write tests for either on Windows? I've
> currently only enabled antunit tests on Unix (at least that's what I
> wanted to do).
> (2) do we want to port it as optional task depending on Java7 for 1.9.8?
> This would only benefit people who can use Java7 but not Java8.
> Stefan

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

View raw message