There are actions to install/uninstall IU but there is no way to handle conditional uninstallation. It is not possible to implement case: "If previous version of m2e-wtp is installed, uninstall it".On 07/09/2012 02:34 PM, Fred Bricon wrote:
Ideally m2e-wtp would disable m2eclipse-wtp when installed, but I'm afraid it seems impossible (yeah I suck at eclipse/OSGi stuff).Using p2.inf on a repository, we can add extra actions to installations. Maybe there is the necessary stuff to uninstall an IU if present... I honestly don't know a lot about those p2.inf files: http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata#Touchpoint_Instruction_Advice:So that means the only way to install m2e-wtp for existing m2eclipse-wtp users will be to either start from a pristine eclipse installation or uninstall m2eclipse-wtp beforehand, breaking the update process for products already embedding m2eclipse-wtp.
I created (locally) an m2eclipse-wtp 0.15.999 empty feature that requires m2e-wtp 0.16.0. m2e-wtp is correctly installed but I'm still seeing the duplicate configurators as previous m2eclipse-wtp 0.15.2 plugins are still active.What if this m2eclipse-wtp 0.15.999 includes empty m2eclipse-wtp plug-ins with incremented version? New plugins would be installed over old ones and since configurators is not there anymore only ones from new m2e-wtp plugins are going to be discovered.
HTH
_______________________________________________ jbosstools-dev mailing list jbosstools-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jbosstools-dev