Description
Runs the Nice documentation generator.
All arguments to the NiceDoc task have to be placed as attributes in the nicedoc xml-element.
Parameters
Attribute |
Description |
Required |
package |
The Nice package to compile. |
Yes |
sourcepath |
Search path for source packages. Is a list of directories and .jar archives. |
No |
destination |
Destination directory for compiled packages. |
No |
classpath |
Search path for compiled packages and libraries. |
No |
classpath
Nicec 's classpath attribute is a PATH like structure and can also be set via a nested
classpath element. This is very reasonable if you want to make your build script's pathes platform
independent.
Example
<nicedoc package="test" >
<classpath>
<pathelement location="\test.jar"/>
<pathelement path="${java.class.path}"/>
</classpath>
</nicedoc>
It is possible to use the classpath attribute together with the
classpath nested tag. In this case the result is a concatenated path.
It is highly recommended to use the nested version!
Examples
<taskdef name="nicedoc" classname="nice.tools.ant.NiceDoc"/>
<target name="nice-documentation">
<nicedoc package="test" />
</target>
author: Daniel Bonniot |