473,326 Members | 2,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Ant Javadoc failure when building help.

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 in my build.xml:
<!-- Build Javadoc documentation -->
<target name="javadoc"
description="Generate JavaDoc API docs">
<delete dir="./doc"/>
<mkdir dir="./doc"/>
<javadoc sourcepath="./src"
destdir="./doc/api"
packagenames="*"
author="true"
private="true"
useexternalfile="yes"
version="true"
windowtitle="${project.title} API Documentation"
doctitle="&lt;h1&gt;${project.title} Documentation (Version
${project.version})&lt;/h1&gt;"
bottom="Copyright © 2003">
<classpath refid="compile.classpath"/>
</javadoc>
</target>

Jul 17 '05 #1
1 10222
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
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dean A. Hoover | last post by:
I noticed in the sun sdk javadoc documentation for, say java.sql.PreparedStatement, that class names are not expanded. For example, the setString method takes a java.lang.String as one of its...
1
by: Prakash | last post by:
Hi, I want to generate the JDK API using Javadoc. I have installed java 1.4.2 in WINDOWS. Since i don't have frequent access to the Net, i want to generate the Java API Help using javadoc.But I...
2
by: Lou Lipnickey | last post by:
When using the @param with javadoc, it seem that the full variable specification appears (e.g. "java.lang.String" ) vs. what would appear in the Sun language Javadoc (e.g. "String"). How does one...
0
by: Tony Johansson | last post by:
Hello! I trying to use javadoc from within .NET but it doesn't work. I do the following 1.Add javadoc to the source code 2.In the tool meny choose Build comment Web pages 3.Push the OK...
3
by: Olaf Meding | last post by:
I played a little with happydoc and pydoc and wonder which one I should use. Also, is there a better documentation general available (I am spoiled by javadoc). Lastly, I could not find good...
6
by: stef | last post by:
Hi... I would like to use a free tool like javadoc... for pure C of course :) but even on google the choice isn't terrible ? what kind of tools do you use ? thanx...
6
by: babylon | last post by:
I know that the xml comment (///) can be extracted to a xml file using compiler switch /doc but what should I do with the resultant xml? is there any tools to compile it to .chm or html like...
4
by: gsreenathreddy | last post by:
hi! I would like to create javadoc for jar file. Is it possible to create javadoc for jar file. I know that we can create javadoc for souce files. It is very urgent. Thank you,
2
by: rednarjess | last post by:
Hello every body; When I want to generate the Javadoc for my project, The result is fine at the bigining of the generating init: Generating Javadoc Javadoc execution Loading source file...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.