You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Medinets <me...@mtolive.com> on 2001/12/21 04:19:06 UTC

Help, I can't build javadocs either - no source files found.

I've tried and tried, but I'm missing something. Please help me move to an
automated development system.

Here is the output from my Build:

documentation:
   [delete] Deleting directory C:\clearcase_compile_results\javadoc
    [mkdir] Created dir: C:\clearcase_compile_results\javadoc
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package com.cordiem.validation...
  [javadoc] javadoc: No source files for package com\cordiem\validation

And here is my project:

	<path id="documentation.class.path">
		<pathelement location="${dist.dir}\cordiem.jar" />
	</path>

	<javadoc
		packagenames="@\clearcase_compile_results\packages.txt"
		sourcepath="com\cordiem\"
            destdir="${javadoc.dir}"
		author="true"
		version="true"
		use="true"
		splitindex="true">
		<classpath refid="documentation.class.path" />
	</javadoc>

I know the files exist in the com\cordiem\validation directory:

..> dir com\cordiem\validation
...
.
12/19/2001  09:38a               3,956 Rules.java
12/20/2001  06:28p               4,766 CordiemRequiredAttributes.java

What am I doing wrong?

BTW, I'm using the following it generate the list of package names for
javadoc to work with:

	<java classname="com.cordiem.misc.GetAllSubPackages" fork="yes">
            <!-- The first command line argument is the destination
file. -->
     	      <!-- The rest are directory paths to visit. -->
		<arg line="\clearcase_compile_results\packages.txt
\clearcase\comdots\code\java\com\cordiem"/>
		<classpath refid="documentation.class.path" />
	</java>


thanks!

David Medinets, Consultant, http://www.codebits.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>