ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Dougherty <Mi...@san.rr.com>
Subject Re: classpath issue on Javadoc stuff!!!!
Date Mon, 04 Jun 2001 18:30:53 GMT
Pinar Bicioglu wrote:
> 
> I corrected the classpath setup. But still can't get javadoc up and
> running.and here is the message it generates
> 

 [snip]

> 
> and the code i have is still the same as before . I am posting it here again
> anyway
> 
> <property name="classpath"
> 
> value="d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\servlet.jar;d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\parser.jar;
> 
> d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\jasper.jar;d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\jasp.jar;d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\ant.jar;
> 
> d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\webserver.jar;d:\ap20\websrc\WEB-INF\classes\org\apache\struts\form"/>
> 
> <target name="javadoc" >
> 
>     <property name="root"  value="org.apache.struts" />
>     <property name="src"   value="d:\ap20\java" />
> 
>        <javadoc sourcepath="${src}"
>          destdir="${javadoc.home}"
>          classpath="${classpath}"
>          packagenames="${root}.*"
>          author="true"
>          version="true"
>          use="true"
>          windowtitle="${app.name} ${version} API"
>          doctitle="${app.name}" />
>          </target>
> 

It still  looks like you are having CLASSPATH issues.

At one time I thought you have the target defined as:

	<target name="javadoc" depends="compile">
		...

What happended to the depends attribute? Also where was the output
directory for the compile target? If it is different than your src
directory then it will also need to be added to the CLASSPATH.

Also, you still have the
"D:\ap20\websrc\WEB-INF\classes\org\apache\struts\form\ValidateForm.class"
entry in your CLASSPATH and
"d:\ap20\websrc\WEB-INF\classes\org\apache\struts\form" in your project
property definition. Change both of these to be
"d:\ap20\websrc\WEB-INF\classes". 

The javadoc utility cannot find these classes, that's the reason for
messages like "Superclass org.apache.struts.form.ActionForm of class
org.apache.struts.form.ValidateForm not found." and " [javadoc] javadoc:
warning - Import not found: org.apache.struts.action.Action - ignoring!"

/mike


-- 
******************************************
 Mike Dougherty -- Java Software Engineer
******************************************

Mime
View raw message