Deployer Extensions with Eclipse - Step 5: Implementing your Custom Module Class

In order to write your extension you need to create your project code structure, where you will add your classes containing the code to execute your extension. In this step you will learn how to add a package to the project and create a class that extends from the Module deployer class.

Tutorial Steps

Implementing your logic and configuring the extension

  1. Write your extension code within the Class you created in the previous step:

    New Component

  2. Configure your module (cd_deployer_conf.xml)


  3. Clean up your Incoming folder:

    Delete all the contents from the incoming folder defined in the path attribute within your cd_deployer_conf.xml under the Queue/Location node:


  4. Configure logging for your class (logback.xml). Within your config folder in your project open the logback.xml file and add the following logger:


    This is required since our package is outside the default tridion deployer package which is com.tridion.deployer and our class is under com.tridion.kd.extensions

  5. Now you are ready to run the deployer from Eclipse and test your code by checking the logs

Next Step: Running the deployer from Eclipse

Move on to the next step of this tutorial: Running the deployer from Eclipse

About the Author
Jaime Santos Alcon
Technical Consultant

Originally from Madrid, Jaime is working from SDL Tridion's office in New York, US. He started as a Java developer and moved into the Web Content Management space. Has been working with Tridion's CMS for the past 6 years.

SDL CMT division