I am using win2000 pro
evenif its a windows issue , why would it behave that way on unix?
Also on windows not all build's throw the error
Its an irratic behaviour!!

-----Original Message-----
From: Ed Parks [mailto:edward.parks@wamu.net]
Sent: Tuesday, April 24, 2001 9:15 AM
To: ant-user@jakarta.apache.org
Subject: Re: 'javadoc' is not recognized as an internal or external
command


Can I ask what Windows os you're running?  I've lately seen javadoc work
on a Win95 machine but not on Win2000Pro.  I'll have to try explicitly
adding it to the PATH as you say below.

Aarti Chandnani wrote:

>  yeah it is it behaved that way on both unix and windowsi had to
> explicitly add it in my path
>
>      -----Original Message-----
>      From: Iain Lowe [mailto:ilowe@videotron.ca]
>      Sent: Monday, April 23, 2001 5:08 PM
>      To: ant-user@jakarta.apache.org
>      Subject: RE: 'javadoc' is not recognized as an internal or
>      external command
>
>      You shouldn't have to explicitly add it. That's strange.
>      Make sure that javadoc.exe is in the bin directory?
>
>           -----Original Message-----
>           From: Aarti Chandnani
>           [mailto:Aarti.Chandnani@XUMA.com]
>           Sent: Monday, April 23, 2001 7:59 PM
>           To: 'ant-user@jakarta.apache.org'
>           Subject: RE: 'javadoc' is not recognized as an
>           internal or external command
>
>           Yeah i figured that.But i was wondering :I have
>           set the JAVA_HOME to c:\jdk1.2.2With just that ANT
>           can execute javac & jar then why not javadoc?Why
>           u need to explicitly add the PATH for
>           javadoc?Thanks for your help anyway! :-)
>
>                -----Original Message-----
>                From: Iain Lowe
>                [mailto:ilowe@videotron.ca]
>                Sent: Monday, April 23, 2001 4:52 PM
>                To: ant-user@jakarta.apache.org
>                Subject: RE: 'javadoc' is not recognized
>                as an internal or external command
>
>                Make sure that the javadoc.exe
>                executable is in your PATH environment
>                variable when you run ant.
>
>                     -----Original Message-----
>                     From: Aarti Chandnani
>                     [mailto:Aarti.Chandnani@XUMA.com]
>
>                     Sent: Monday, April 23, 2001
>                     2:02 PM
>                     To:
>                     'ant-user@jakarta.apache.org'
>                     Subject: 'javadoc' is not
>                     recognized as an internal or
>                     external command
>
>                      I have a build.xml
>                     It compiles the code correctly
>                     and creates the jar file
>                     but it gives an error while
>                     creating the javadoc task.
>
>                     I get the following error:
>
>                       [javadoc] Generating Javadoc
>
>                       [javadoc] Javadoc execution
>                       [javadoc] 'javadoc' is not
>                     recognized as an internal or
>                     external command,
>                       [javadoc] operable program
>                     or batch file.
>                     Whats wrong?
>
>