Hello everyone,
I have to admit I was a bit reluctant about using Composer. I gave it a try a while ago and I found it full of annoying bugs and random crashes. But that was back in 6.0, so I decided to give it another chance, now that it has reached version 6.5 (sp2).
The story goes like this: we've created custom object types, methods, jobs, roles, groups etc. in the old fashioned way, using scripts for object types, DA for methods and jobs, in two words - NO IDE (either Composer or DAB). Along with that we also created a Taskspace application, this being a Taskspace project and all. At some point in time (about a two weeks ago) we decided to go back to the righteous ways and use Composer to do the work.After browsing the user guide I took the following steps into building our application:
1. Created a new Composer Documentum project
2. Imported the custom object types into the project
3. Imported the new methods into the project
4. Imported the Taskspace application
5. Imported some other artifacts like Forms (yes, we have those, too), Process Templates, Roles, Groups...
The result was quite funny - the Taskspace application imported its dependencies, meaning the object types, the forms and roles. The reasonable behaviour would have been to overwrite the object types definitions that I already imported in the project but noo... It just created a NEW object types definitions and appended a [1] to the name. After importing the process templates I realized it also duplicated the name of some roles I used in the process templates.
I tried to install the project on a fresh docbase (with all the necessary DARs like forms, taskspace etc.) installed and it raised an error saying that
Unexpected error occured during install org.eclipse.core.runtime.AssertionFailedException: assertion failed: precondition dfTypeObject must be null before creating a new type object (type name = 'bcr_dms_document')
and I suspect this is because the duplicate definitions in the project.
Simply deleting the [1] definitions proved to be quite wrong because other artifacts have references to them.
So... what can I do to deploy this in a customer's environment ?!