<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 07/09/2012 05:47 AM, Mickael Istria
wrote:<br>
</div>
<blockquote cite="mid:4FFAD2E2.9090803@redhat.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 07/09/2012 02:34 PM, Fred Bricon
wrote:<br>
</div>
<blockquote
cite="mid:CAG2ouxSgZqM9ZO5DeoD_2c66auJD8uoxdAScw9b2-SVB911jMA@mail.gmail.com"
type="cite">Ideally m2e-wtp would disable m2eclipse-wtp when
installed, but I'm afraid it seems impossible (yeah I suck at
eclipse/OSGi stuff).
<div>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.</div>
<br>
</blockquote>
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:
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata#Touchpoint_Instruction_Advice">http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata#Touchpoint_Instruction_Advice</a>:<br>
</blockquote>
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".<br>
<br>
Would be good to detect previous version, show warning dialog and
let trigger uninstallation for previous version m2eclipse-wtp. It
requires uninstallation anyway, but at least users are explicitly
warned.<br>
<br>
<blockquote type="cite">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.</blockquote>
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.<br>
<br>
Denis<br>
<br>
<blockquote cite="mid:4FFAD2E2.9090803@redhat.com" type="cite"> <br>
HTH<br>
<div class="moz-signature">-- <br>
Mickael Istria<br>
Eclipse developer at <a moz-do-not-send="true"
href="http://www.jboss.org/tools">JBoss, by Red Hat</a><br>
<a moz-do-not-send="true"
href="http://mickaelistria.wordpress.com">My blog</a> - <a
moz-do-not-send="true" href="http://twitter.com/mickaelistria">My
Tweets</a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
jbosstools-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jbosstools-dev@lists.jboss.org">jbosstools-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a></pre>
</blockquote>
<br>
<br>
</body>
</html>