I’ve encountered a situation recently where adding both ‘Spring 2.0’ and ‘Hibernate 3.0’ capabilities introduced a jar conflict (in this case asm.jar).
Through chasing down this issue I’ve noticed a logical flaw in how MyEclipse manages the association of jars to capabilities.
To correct my own problem I’ve had to modify the system level defaults as set under the ‘Windows/Preferences’ dialog in the ‘MyEclipse/Project capabilities tab. This seems wrong – to correct a project level capability conflict I am making adjustments
at a system level.
I think a better approach would be to have some equivalent capability jar inclusion/exclusion definition facilities at a project level. These project level facilities would use the system defaults but be over ridable at the project level.. You could accomadate this by adding a new GUI feature at the Project/properties dialog. Add a new ‘capabilities’ tab to this form. In this tab the user could choose which of a capabilities jar files would be used by the project.