blob: 02a6cdea0b91b0e6b2490e935915e8eef1d8a5c1 [file] [log] [blame]
----------------------------------------------------------------------------------
-- Generating JavaDoc and Ext-Pt Docs for --
-- org.eclipse.jst.jsf.doc.dev plugin --
-- 04/28/08 (GK) --
----------------------------------------------------------------------------------
Intro:
This task could be automated as part of the build, but is not currently. Before
each release, the build scripts should be executed and resulting documentation
should be checked in.
JavaDoc Generation Task
Intro:
The javadocBuild.xml file is used to create all the javadocs. It uses the
wtp.jsf.map file to locate all of our non-test plugins, and then calls a custom
Ant task to gather all of the non-internal, non-x-friend exported packages from
each of the plugins. The discovered source and API packages are fed to the
Javadoc Ant task.
** The packages should be verified as being API. The MANIFEST.MF is the single
source of truth.
Setup:
- ensure all JSF/Pagedesigner plugins (Test plugins not required) are present in workspace
- ensure releng.jsf project is also present
- ensure ant-contrib-0.6.jar (or equivalent) and parseAPIPackages.jar is in lib directory
- if there are API packages to be excluded from the javadoc (deprecated API),
set in javadocBuild.properties as comma delimited list in api.exceptions
Generate:
1) select javadocBuild.xml file in project explorer
2) Run as "Ant Build..." --> JRE Tab, ensure that "Run in same JRE as Workspace" is
selected
3) check apiPackages.txt for accuracy
Extension-point References Task
Intro:
The listed-ext-points property in buildExtDocs.properties file is used to generate
the HTML documentation from the schemas. This list must be verified for accuracy
and is not generated like the Javadoc API packages are.
Setup:
- same as for Javadoc above
Generate:
1) select buildExtDocs.xml file in project explorer
2) Run as "Ant Build..." --> JRE Tab, ensure that "Run in same JRE as Workspace" is
selected
Checking-in:
Checkin:
- any changes made in the HTML directory
- javadoctoc.xml
- tocreference.xml
- topics_ExtPoint_Reference.xml