Javadoc private option

Hi all,

I want to generate javadoc for few classes, including all private nested classes.

I ran javadoc from an ant file and got the following error -

[javadoc] javadoc: More than one of -public, -private, -package, or -protected specified.

Here is the ant target I used for javadoc generation:

<javadoc use="true"

version="true"

author="true"

access="private"

windowtitle="${WINDOWTITLE}"

doctitle="${DOCTITLE}"

header="${HEADER}"

bottom="${BOTTOM}"

destdir="${apidoc}"

classpathref="jdoc.classpath">

<packageset dir="${prj.dir}/src" defaultexcludes="yes" />

<packageset dir="${test.dir}" defaultexcludes="yes" />

</javadoc>

I even tried adding the following to the target but get the same error each time.

private="true"

package="false"

public="false"

protected="false"

Has anyone come across such a problem? Any solutions?

Thanks!

[1016 byte] By [JustRana] at [2007-11-27 5:06:28]
# 1

Got it.

Thanks!

Removing "access" parameter and adding only "private" helped.

<javadoc use="true"

version="true"

author="true"

private="true"

windowtitle="${WINDOWTITLE}"

doctitle="${DOCTITLE}"

header="${HEADER}"

bottom="${BOTTOM}"

destdir="${apidoc}"

classpathref="jdoc.classpath">

<packageset dir="${prj.dir}/src" defaultexcludes="yes" />

<packageset dir="${test.dir}" defaultexcludes="yes" />

</javadoc>

JustRana at 2007-7-12 10:25:11 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...