I'm deploying a DAR file (DAR1) for a Taskspace application; this application uses some custom types that are defined in another DAR file (DAR2).
But these custom types are present in both DARs since you need to add the types you use in our Taskspace application.
So now, I need to update one of the custom types: with Composer I changed it in the DAR2 and then install that DAR2 file to production server.
Some time later, I need to make some changes in the Taskspace application; I regenerate my DAR1 file and install it on the production server.
And of course the updates on my custom type diseappears.
Is there a smart way to avoid having my custom types in both DAR files?
Or do I have to regenerate DAR1 when I update DAR2?