On 2020-12-19, Alan Snyder wrote:
> The case of interest is where I perform the build directly within a Java
> application process.
[...]
> Is there a way that within my application I can configure ant with a
> different $PATH to provide to the build script, so that it will find
> the executabl
he "dir" attribute tot he directory containing the executable you
> want to start.
> Or provide a nested element.
>
> Jan
>
> -Ursprüngliche Nachricht-
> Von: Alan Snyder
> Gesendet: Samstag, 19. Dezember 2020 22:46
> An: Ant Users List
> Betreff
esendet: Samstag, 19. Dezember 2020 22:46
An: Ant Users List
Betreff: a tricky case of running an executable from an ant build script
I have an ant script that runs an executable without specifying the full path
of the executable.
If I run ant from the shell, then it finds the executable on my $PA
I have an ant script that runs an executable without specifying the full path
of the executable.
If I run ant from the shell, then it finds the executable on my $PATH, which is
what I want.
(I do not specify searchpath=“true”, so perhaps I do not understand what that
does, or
the documentation