I was whipping up a temporary build file to run javadoc against some source that I had no API documentation for. When I wrote it up, I didn't realize that I added the <javadoc> stuff, but didn't actually wrap it in a target. I ran it and it actually worked, but then Ant reported....
[javadoc] 132 warnings BUILD FAILED Target `javadoc' does not exist in this project. The API docs were actually generated. This seems pretty weird. Here's a generic example of what the build file looked like that ought to have been invalid, but worked... <project name="blah" basedir="."> <javadoc destdir="docs/api" author="true" version="true" use="true" windowtitle="Test API"> <packageset dir="src" defaultexcludes="yes"> <include name="com/dummy/test/**" /> <exclude name="com/dummy/test/doc-files/**"/> </packageset> <doctitle><![CDATA[<h1>Test</h1>]]></doctitle> <bottom><![CDATA[<i>Copyright © 2000 Dummy Corp. All Rights Reserved.</i>]]></bottom> <tag name="todo" scope="all" description="To do:" /> <group title="Group 1 Packages" packages="com.dummy.test.a*"/> <group title="Group 2 Packages" packages="com.dummy.test.b*:com.dummy.test.c*"/> <link offline="true" href="http://java.sun.com/products/jdk/1.2/docs/api/" packagelistLoc="C:\tmp"/> <link href="http://developer.java.sun.com/developer/products/xml/docs/api/"/> </javadoc> </project> Shouldn't this have failed outright? Jake --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]