we are trying to absorb model fragments in RSA 8.04 both headless and programmatically. The reason being, our developers should not have to worry about defragmenting a model before checking in the model to SVN. IBM provided a sample code for a pluglet, which we used to write an Eclipse-Plugin which we can call from commandline. When invoked from the RSA GUI, the plugin works exactly like it should. But when called from commandline, the physical fragment files do not get deleted after absorption, and whats more, the resulting model file is larger (in file size) and after validation shows a lot of errors of the type: "Relationships must connect to correct semantic elements"
The plugin is called by this command:
java -jar "C:\Program Files\IBM\SDP\plugins\org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar" -application absorbPlugin.absorbPlugin
I assume the problems are caused by dependencies on RSA UI components or the workbench. Does anybody have experience with running RSA in a headless environment and especially doing manipulations on models?