db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myrna van Lunteren <m.v.lunte...@gmail.com>
Subject Re: Problem with release build
Date Mon, 26 Nov 2012 18:48:56 GMT
On Sun, Nov 25, 2012 at 4:37 PM, Lily Wei <lilyweiderby@gmail.com> wrote:
> Hi:
>      When I tried to build the release with the release target, it failed on
> target 'builduserdocs' with error:
> BUILD FAILED
> Execute failed: java.io.IOException: Cannot run pr
> ogram "ant" (in directory "c:\derby\docs\10.9"): CreateProcess error=2, The
> syst
> em cannot find the file specified
>
>       I can reproduce this with only doing 'ant builduserdocs' from the
> source root.
> Please see verbose output attached:
>
>       Any suggestion on what is wrong with my environment to find executable
> 'ant' to build builduserdocs?
>
>
> Thanks,
> Lily
>

The only suggestion I have is to make sure that your dos command path
includes the directory for ant. According to this page:
http://ant.apache.org/manual/Tasks/exec.html
on windows the <exec> task gets passed on to the windows system. So
you need to be able to do e.g. ant -version from a dos command, not
just from cygwin, or other shell tool...

HTH
Myrna

Mime
View raw message