The Extension Generator is an application designed to simplify the life of developers. It generates the source code of an extension project based on customizations done via the UI. There is no need to deal with the complexity of the numerous XML configuration files: they are generated automatically in a few clicks!
What extensions can I create in eXo?
Currently the Extension Generator is able to export the following kinds of customizations:
How can I customize the portal using the UI?
While the Extension Generator will save you the burden of learning some XML syntax upfront, you still need to create the customization via the UI. Here are a few pointers to get you started:
- Create new site
- Site layout editor
- Add pages
- Edit pages
- Working with dynamic and static content
And there are other customizations, especially in the Content administrator UI.
So, how do I export my customizations?
3. Start eXo Platform server
4. Go to the Extension Generator page
You’ll get access to the application if you are authenticated as an administrator.
In the left panel, select what customizations you want to generate. You can use the search field to filter the list of results:
What you select will be summarized on the right-hand side.
Enter the name of your extension, choose the format for your project and finally click on the “Export” button.
Your extension is now ready to use. You can run “mvn install” if you exported your extension as a Maven project. Alternatively, if you want an extension in binary form, you can directly generate a war file or an ear file.
Here is a screencast showing how the Extension Generator can be used:
For more details:
- Join the “Dev Kit Extension Generator” space
- Read the Wiki
- Use the forum if you have questions
- Chat with me on the eXo Community site
See you there 😉