nicksheen
nicksheen

Reputation: 582

How to set -private for javadoc in ant build.xml

I want to create the javadoc my project with ant, but I don't now how to make it there. In terminal I would execute javadoc -private ... but how I have to change mu build.xml to get the same result?

<target name="doc" description="generate documentation">                   
    <mkdir dir="${doc}"/>                                                  
    <javadoc sourcepath="${src}" destdir="${doc}"/>                        
</target>

Upvotes: 0

Views: 305

Answers (1)

Timir
Timir

Reputation: 1425

Use <javadoc sourcepath="${src}" destdir="${doc}" access="private"/>. Also, consider using an IDE that provides suggestions and autocomplete for things like these.

Upvotes: 2

Related Questions