Updating custom extensions in containerized developer toolkit environment
Procedure
- Optional: Extract the runtime from the Docker container
to the host machine by running the following command:
./om-compose.sh extract-rt - Develop your customizations using the extracted runtime. For more information, see the
relevant topics under Developing
customizations.
Ensure that you follow the folder structure provided by the
devtoolkit_extensions.xmlfor your customizations. For more information about the folder structure, see Importing custom extensions into the developer toolkit environment. - Build your customization package.
After you complete the customizations, build your customization package as an
InstallService-able JARby using thedevtoolkit_extensions.xmlfile.From the extracted
runtime/bindirectory, run the following command after you complete developing your customizations in this runtime directory:
bash ./sci_ant.sh -f ../devtoolkit/devtoolkit_extensions.xml exportThe customization package is exported as
extensions.jarin the parent directory of your runtime directory.
Review the generatedextensions.jarto make sure that it has all the extensions that you have developed. - Update your existing developer toolkit environment with the generated
extensions.jarby running the following command:./om-compose.sh update-extn <full_path_to_extensions.jar>This command applies the customizations to your developer toolkit environment, rebuilds, and redeploys your applications.By default, the Application Server container is removed and a new one is created.