Step-by-step guide to get repoint into composer

Update: Added a sample with the needed modifications, just update com.documentum.dfc_1.0.0\config\dfc.properties with the rigth path and it should work just fine (tested with 6.6 and 6.7sp2 and 7.2)

Introduction

The following guide contains detailed instructions to configure Repoint in Composer using only one DFC library instance and one dfc.properties for both Composer and Repoint. Once you have both Composer and Repoint deployed in the same Eclipse, you can easily change the repository in use by manually modifying the Composer’s dfc.properties or using the DFC Docbroker Utility for Composer

Requirements

This has been tested with the latest version of the Repoint plugin and Composer 6.5 SP3.

 

Instructions

 

  • Download the Repoint plugin from here
  • Unzip the file into your Composer/plugins folder
  • Modify the file Composer\plugins\com.documentum.devprog.eclipsePlugin_2.5.0.0010\META-INF\MANIFEST.MF:

Change:

 

com.documentum.dfc;visibility:=reexport;bundle-version=”1.0.0″

 

To:

 

com.emc.ide.external.dfc;visibility:=reexport;bundle-version=”1.0.0″,
com.documentum.dfc;visibility:=reexport;bundle-version=”1.0.0″

 

(Note that both lines begin with a blank)

 

  • Modify the file Composer\plugins\com.documentum.dfc_1.0.0\plugin.xml:

Change:

 

<library name=”config/config.jar”>
<export name=”*”/>
</library>

 

To:

 

<library name=”config/”>
<export name=”*”/>
</library>

 

 

  • Create a dfc.properties file in Composer\plugins\com.documentum.dfc\config containing the following single line with the absolute path to Composer’s dfc.properties file:

 

#include D:/Apps/Composer/plugins/com.emc.ide.external.dfc_1.0.0/documentum.config/dfc.properties

 

 

  • Restart Composer and check that there is a new Documentum Perspective available as well as new views under EMC Repoint. Try starting Composer with eclipse -clean in case something doesn’t work as expected.

 

 

Additional Notes

 

  • When changing the values of the dfc.properties file it takes Repoint a couple of seconds to be aware of the modification.
  • If you get a ClassNotFound error when dumping an object properties you have to modify the Composer DFC plugin (be careful with the indentation and structure of the file)
    • Open Composer\plugins\com.emc.ide.external.dfc_1.0.0\META-INF\MANIFEST.MF
    • Check the Bundle-ClassPath section; the jar file containing the class should be there, otherwise add the path to the file (should be located in Composer\plugins\com.emc.ide.external.dfc_1.0.0\lib)
    • Add the package containing the file to the Export-Package section

 

To fix the aspectj ClassNotFound error those sections should end like this:

 

  • Bundle-ClassPath: (before every line there is a blank)

esImpl.jar,lib/configservice-impl.jar,lib/configservice-api.jar,lib/c
ommons-lang-2.4.jar,lib/aspectjrt.jar

 

  • Export-Package: (before every line there is a blank)

rnal.dfc.procedurerunner,com.emc.ide.external.dfc.utils,org.apache.xa
lan.processor,org.w3c.dom.html,org.aspectj.lang,org.aspectj.runtime.r
eflect,com.documentum.fc.client.privilege.impl