Re: Ant Javadoc failure when building help.

From: Raymond DeCampo (rdecampo_at_spam.twcny.spam.rr.spam.com.spam)
Date: 04/08/04


Date: Thu, 08 Apr 2004 21:36:33 GMT

Krusty276 wrote:
> I'm getting this error when trying to compile javadoc in ant from my
> buildxml:
> Any ideas?
>
> C:\umg\java\web\dbtest\WEB-INF\src\build.xml:64: Javadoc failed:
> java.io.IOException: CreateProcess: javadoc.exe -d
> C:\umg\java\web\dbtest\WEB-INF\doc\api -classpath
> C:\umg\java\web\lib\servlet-api.jar;C:\umg\java\web\lib\struts.jar;C:\umg\ja
> va\lib\umg-db.jar -sourcepath
> C:\umg\java\web\dbtest\WEB-INF\src -version -author
> java.com.umusic.ecrm.web.test error=2
>
>
> what's error=2????
>

This is a Windows error code. Translated to English, this means that
Windows failed to execute javadoc.exe, probably because it could not
locate it. Make sure that it is in your PATH.

Ray



Relevant Pages