ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Chang <FCh...@ware2.com>
Subject javadoc error
Date Thu, 15 Feb 2001 23:40:23 GMT
Hi all,

Our javadoc task used to work with Ant 1.2, but it is not working in the new
1.3b1 or 1.3b2. Any ideas? The javadoc command generated by Ant seems to be
incorrect.

Thanks in advance!

-- code --
<target depends="prepare" name="javadoc">
	<javadoc 
		sourcepath="${project.sources}" 
		destdir="${project.javadocs}"
		packagenames=".*">

	<link offline="true"
href="http://java.sun.com/products/jdk/1.3/docs/api/"
packagelistLoc="${jdk.javadoc}"/>

	<classpath>
		<fileset dir="${external.jars}">
			<include name="**/*.jar"/>
		</fileset>
	</classpath>

	</javadoc>
</target>

-- output --

javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Source path = P:\Projects\Ware2Template\src\java\project-ejb
  [javadoc] Packages = [.*]
  [javadoc] Javadoc args: javadoc -d
P:\Projects\Ware2Template\pkg\javadocs\project-ejb -extdirs  -classpath
P:\Projects\Ware2Template\ext\jars\junit34.jar;P:\Projects\Ware2Template\ext
\jars\rt-1_3.jar;P:\Projects\Ware2Template\ext\jars\weblogic.jar;P:\Projects
\Ware2Template\ext\jars\weblogic_sp.jar -sourcepath
P:\Projects\Ware2Template\src\java\project-ejb -version -author -linkoffline
http://java.sun.com/products/jdk/1.3/docs/api/ E:\Library/jdk1.3/docs/api
  [javadoc] Javadoc execution
  [javadoc] javadoc: No package, class, or source file found named
P:\Projects\Ware2Template\ext\jars\junit34.jar;P:\Projects\Ware2Template\ext
\jars\rt-1_3.jar;P:\Projects\Ware2Template\ext\jars\weblogic.jar;P:\Projects
\Ware2Template\ext\jars\weblogic_sp.jar.
  [javadoc] javadoc: No package, class, or source file found named
http://java.sun.com/products/jdk/1.3/docs/api/.
  [javadoc] 3 errors
  [javadoc] javadoc: No package, class, or source file found named
E:\Library/jdk1.3/docs/api.

Mime
View raw message