Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javadocs error: No source files and no packages have been specified

807569Sep 21 2006 — edited Sep 21 2006
I am getting an error message: No source files and no packages have been specified when i run the ant script for java docs.
<target name="build-javadocs" description="Build the Core components" >
		<echo message="Building javadoc"/>
		
		<javadoc packagenames="tellogic.common.*" 
			           sourcepath="src"
			           defaultexcludes="yes"
			           destdir="build/docs/api"
			           author="true"
			           version="true"
			           use="true"
			           windowtitle="tellogic API">
			    <doctitle><![CDATA[<h1>tellogic</h1>]]></doctitle>
			    <bottom><![CDATA[<i>Copyright &#169; 2006 tellogic. All Rights Reserved.</i>]]></bottom>			    
		  	</javadoc>				
	</target>
my package structure is: C:\Work\perforce\Core\Main\src\java\tellogic\common and all the sub directories are under from common package.

when i type ant build-javadocs in command prompt it gives No source files and no packages have been specified, i appreciate your answer.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2006
Added on Sep 21 2006
2 comments
4,478 views