Reputation: 582
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
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