java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.aoapps.ant.tasks.GenerateJavadocSitemapTask
- All Implemented Interfaces:
Cloneable
Ant task that invokes
GenerateJavadocSitemap.addSitemapToJavadocJar(java.io.File, java.lang.String).- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()CallsGenerateJavadocSitemap.addSitemapToJavadocJar(java.io.File, java.lang.String)for each file insetBuildDirectory(java.lang.String)that matchesSeoJavadocFilterTask.javadocJarFilterwhile logging toTask.log(java.lang.String, int).voidsetBuildDirectory(String buildDirectory) The current build directory.voidsetProjectUrl(String projectUrl) The project url.voidsetSubprojectSubpath(String subprojectSubpath) The sub-project sub-path used in the url.Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
GenerateJavadocSitemapTask
public GenerateJavadocSitemapTask()
-
-
Method Details
-
setBuildDirectory
The current build directory. Must exist and be a directory.Each file ending with
""-javadoc.jar""(case-insensitive) will be processed.Each file is a Javadoc JAR file to add sitemap to and must be a regular file.
-
setProjectUrl
The project url. The apidocs URLs will be based on this, depending on artifact classifier. Ending in"*-test-javadoc.jar"will be"${projectUrl}${subprojectSubpath}test/apidocs/". Otherwise will be"${projectUrl}${subprojectSubpath}apidocs/"- See Also:
-
setSubprojectSubpath
The sub-project sub-path used in the url.- See Also:
-
execute
CallsGenerateJavadocSitemap.addSitemapToJavadocJar(java.io.File, java.lang.String)for each file insetBuildDirectory(java.lang.String)that matchesSeoJavadocFilterTask.javadocJarFilterwhile logging toTask.log(java.lang.String, int).- Overrides:
executein classTask- Throws:
BuildException
-
