How to add a class as hotfix to ATG Dynamo


Sometimes there are issues that go to production, and the solutions can be as simple as a code change on a single line on a java class, however the deployment of this is not as easy, if this is an emergency you can deploy a class file directly to your application without to run a build process just need to go to the following path:

.../my-app.ear/atglib/_atghome_slocallib

Please note the following on the README.txt

Very Important Note: You need to create the package and deploy the .class in the package that it belongs as follows:

mkdir -p .../my-app.ear/atglib/_atghome_slocallib/com/myapp/commerce/
 then add your class to this directory.
.../my-app.ear/atglib/_atghome_slocallib/com/myapp/commerce/MyPatch.class

MyPatch.class will have be inside package com.myapp.commerce;


This means simple code fixes can be added here, please do not abuse of this feature, is there just for emergency not for deploy patches at will.

Comments