This topic assumes you are already familiar with the Eclipse environment and know how to develop Eclipse plug-ins.
This topic assumes you want to author DITA topics making up an Eclipse help plug-in using Eclipse to both edit and build the content.
-
Start Eclipse and create a new Eclipse plug-in development project.
-
Apply the DITA template to the new project. This causes the template wizard to start.
-
In the wizard, set:
- the source directory
- the DITA map file
- the output directory
- the CSS directory
- the name of any customized CSS file
- the name of any ditaval file
The main DITA map will be created in the source directory and build.xml will be created in the root directory.
-
Edit one or more DITA topic files in the source directory.
-
Update the DITA map file to include the topics created.
-
Select build.xml and run it with Ant.
The DITA output should now be in the output directory.
-
Edit the plug-in description in the plug-in editor, referring to the TOC files generated in the output directory.
-
Update the build property file to include all the output files.
-
Export the output files to a document plug-in.