05_developer_tutorials:dev-guide:add-content-registry-descriptor
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| 05_developer_tutorials:dev-guide:add-content-registry-descriptor [2025/02/19 15:51] – removed - external edit (Unknown date) 127.0.0.1 | 05_developer_tutorials:dev-guide:add-content-registry-descriptor [2025/02/19 15:51] (current) – ↷ Page moved from 04_developer_documentation:dev-guide:add-content-registry-descriptor to 05_developer_tutorials:dev-guide:add-content-registry-descriptor gaetan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | GroIMP load doclet.xml files on startup that contains description of methods and classes. | ||
| + | ==== Access Descriptor files in runtime ==== | ||
| + | |||
| + | The loaded content is added in the runtime registry under ''/ | ||
| + | |||
| + | ==== Generating a doclet xml file ==== | ||
| + | |||
| + | The doclets files are automatically created with the maven build of a project, if it contains the following information: | ||
| + | * List of files to includes | ||
| + | * Plugin execution in pom | ||
| + | |||
| + | Both steps are defined in the pom.xml file of your project. They are added in the < | ||
| + | |||
| + | === Add files to be included === | ||
| + | |||
| + | The included files are moved from the source code to the correct repository by maven with the plugin: | ||
| + | |||
| + | <code xml> | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | | ||
| + | ... | ||
| + | | ||
| + | < | ||
| + | | ||
| + | ... | ||
| + | | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | === Declare the plugin execution === | ||
| + | |||
| + | This do not need to be modified: | ||
| + | |||
| + | <code xml> | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | | ||
| + | </ | ||
| + | |||
| + | === Complete pom file example === | ||
| + | |||
| + | Look at the RGG plugin pom.xml file. | ||
