You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
A small collection of resources to get new user started to create their doctype add-ons for the projectdoc Toolbox.
Get Started!
To get started follow this steps.
Create Project
To create a new project (with some sample files) run:
mvn doctype:create -DshortId=myshortid -DprojectName="My Doctype Add-on"
Generate Files
Since there are sample files in the new project, you can now generate blueprint files based on the example files.
Then start your Confluence server locally to test the add-on.
Usage Scenarios
The Usage page lists typical usage scenarios. Pick the ones you are interested in.
Typically you need to create a new doctype add-on and then want to add new Doctypes to it.
Remember: create creates a new project, generate generates files and applies changes based on your descriptors. So to generate blueprint files based on your descriptors type from within your project:
This will skip descriptor files that have already been generated.
Reference Material
The documentation of the goals provides detailed information on all parameters.
In projectdoc model descriptors you'll find information on how to write descriptors for the add-on, the spaces, and the doctypes. There is also a link to XML schema files (XSD) that can be installed into XML editors.