473,811 Members | 3,057 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.x ml:64: Javadoc failed:
java.io.IOExcep tion: 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\st ruts.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="Ge nerate 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;h 1&gt;${project. title} Documentation (Version
${project.versi on})&lt;/h1&gt;"
bottom="Copyrig ht © 2003">
<classpath refid="compile. classpath"/>
</javadoc>
</target>

Jul 17 '05 #1
1 10247
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.x ml:64: Javadoc failed:
java.io.IOExcep tion: 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\st ruts.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
1654
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 arguments. This is shown in the html as String. When I run javadoc, it expands all of the class names. I want them shortened like the standard documentation, but I can't seem to find the option to do it. BTW, I am using ant to run javadoc, if that...
1
7630
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 was unsuccessful in that. Can u give me the exact command for doing so? I had tired:
2
2575
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 specify that only the abreviated version is desired? Thanks - Lou
0
2826
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 button to generate javadoc documentation When I do this I only get an empty html page. J have tried to rename the
3
2374
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 documentation for either happydoc or pydoc. Thanks. Olaf
6
8905
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
3317
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 javadoc? thx.
4
6660
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
4279
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 D:\workspace\JavaApplication4\src\javaapplication4\Main.java... Constructing Javadoc information... Standard Doclet version 1.6.0 Building tree for all the packages and classes...
0
9726
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10384
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10395
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10130
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6887
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5553
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4338
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.