Hi Knut:
     Ant is in my PATH. However, when executing builduserdocs target using any, 
it can not find ant to do the necessary work. 

Thanks,
Lily
On Nov 26, 2012, at 6:17 AM, Knut Anders Hatlen <[email protected]> wrote:

> Lily Wei <[email protected]> writes:
> 
>> 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?
> 
> Hi Lily,
> 
> Is ant found in one of the directories listed in your PATH environment
> variable, or do you invoke ant with full path name? It looks like the
> builduserdocs target only works if ant is in PATH, so you may have to
> add it if it's not already there.
> 
> -- 
> Knut Anders

Reply via email to