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.xml
for 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 JAR
by using thedevtoolkit_extensions.xml
file.From the extracted
runtime/bin
directory, 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.jar
in the parent directory of your runtime directory.
Review the generatedextensions.jar
to make sure that it has all the extensions that you have developed. - Update your existing developer toolkit environment with the generated
extensions.jar
by 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.