-
Notifications
You must be signed in to change notification settings - Fork 0
HtmlDocumentation
Generates HTML documentation from output of ClassDocumentation task. A small example of generated documentation is available here, a larger one there.
Documentation on the overall process can be found here.
Documentation templates are included in PCT. If you want to use your own templates, you have to specify the templateDir attribute. Documentation on templates is located here.
<pct:htmldocumentation />
This task only works under Windows environment, and is not compatible with OpenEdge 10. The task isn't declared in the same .properties file as the other tasks. You'll need to add this line to your build.xml :
<taskdef resource="extras115.properties" />
Attribute | Description | Default value |
---|---|---|
sourceDir ‡ | Directory where XML files are located | No default value |
destDir ‡ | Directory where HTML filesare written | No default value |
title | HTML document title | Class reference |
templateDir | Directory where templates are located. If this attribute is not set, default templates are used. | No default value |
services | Path to services.xml file to customize code documentation generator. | No default value |
treeViewOverview | Generates classes treeview | True |
preloadClasses | Preload classes | True |
† Only one of those attributes is mandatory ‡ Mandatory attribute
HTMLDocumentation inherits attributes from PCT.
None
This task is work in progress, so please report any issue.
<PCTCompile destDir="build" preprocessDir="preprocess" dlcHome="${env.DLC}">
<fileset dir="src">
<include name="**/*.cls"/>
</fileset>
<propath>
<pathelement path="src"/>
</propath>
</PCTCompile>
<ClassDocumentation destDir="doc" dlcHome="${env.DLC}">
<fileset dir="preprocess" includes="**/*.cls" />
</ClassDocumentation>
<HTMLDocumentation sourceDir="doc" destDir="html" dlcHome="${env.DLC}" />
Compiles every .cls in src directory (and subdirs) in build directory, generates preprocessed classes in preprocess directory, then generates XML documentation from the preprocessed classes, and then generates HTML documentation from XML files, using predefined templates.
- QuickStart
- Changelog
- InstallDocumentation
- FAQ
-
Tasks
- PCT
- DlcHome
- PCTRun
- PCTDynRun
- PCTCompile
- PCTWSComp
- PCTCreateDatabase
- Sports2000
- PCTDumpSchema
- PCTDumpSequences
- PCTLoadSchema
- PCTIncrementalDump
- PCTBinaryDump
- PCTBinaryLoad
- PCTDumpData
- PCTLoadData
- PCTSchemaDoc
- PCTLibrary
- PCTProxygen
- PCTXCode
- ProgressVersion
- PCTVersion
- ClassDocumentation
- HtmlDocumentation
- XMLDocumentation
- JsonDocumentation
- ABLDuck
- OEUnit
- ABLUnit
- RestGen
- AssemblyCatalog
- Types