<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><font size="4">Hi Dustin,<br><br>here are the basic steps for migrating oVirt web applications to GWT 2.4 and GWTP 0.7:</font><font size="4"><br><br>1. update <em>gwt.version</em> property value to <em>2.4.0</em> in following POM files:</font><ul><li><font size="4">frontend/webadmin/modules/<strong>gwt-common</strong>/pom.xml</font></li><li><font size="4">frontend/webadmin/modules/<strong>gwt-extension</strong>/pom.xml</font></li><li><font size="4">frontend/webadmin/modules/<span style="font-weight: bold;">userportal-gwtp</span>/pom.xml</font></li><li><font size="4">frontend/webadmin/modules/<span style="font-weight: bold;">webadmin</span>/pom.xml</font></li></ul><p><font size="4">Note: oVirt root POM still defines </font><font size="4"><span style="font-style: italic;">gwt.version</span> with value <span style="font-style: italic;">2.2.0</span>, which is effectively inherited by <span style="font-weight: bold;">frontend</span> and <span style="font-weight: bold;">uicompat</span> modules (located at </font><font size="4">frontend/webadmin/modules</font><font size="4">). This shouldn't be an issue, however, we should consolidate GWT version definition later on.</font></p><p><font size="4"></font></p><p><font size="4"><br></font></p><p><font size="4">2. update <span style="font-style: italic;">gwtp.version</span> property value </font><font size="4">to <span style="font-style: italic;">0.7</span> in</font><font size="4"> frontend/webadmin/modules/pom.xml</font></p><p><font size="4"><br></font></p><p><font size="4">3. follow <a href="http://code.google.com/p/gwt-platform/wiki/PortingV1#V0.7" target="_blank">GWTP 0.7 migration steps</a>, which will most likely involve UI code changes</font></p><p><br></p><p><font size="4">For all steps mentioned above, I'm planning to make a patch, since step (3) requires deeper knowledge of GWTP/WebAdmin code.</font></p><p><br></p><p><font size="4"><br></font></p><p><font size="4">In addition, here are the extra steps to finalize the migration (these items are relevant long-term, can be skipped for now):</font></p><p><font size="4"><br></font></p><p><font size="4">4. remove HTML5 drag'n'drop classes (originally copied from GWT 2.4 trunk) by removing following WebAdmin packages:</font></p><ul><li><font size="4">com.google.gwt.dom.client</font></li><li><font size="4">com.google.gwt.event.dom.client</font></li></ul><p><font size="4">5. adjust UI code regarding GWT Editor framework, which is now capable of handling <a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=6040" target="_blank">primitive boolean is/has getter methods</a><br></font></p><br><br><p><font size="4">Vojtech<br></font></p><p><br></p><p><font size="4"><br></font></p><p><font size="4"><br></font></p><hr style="height: 4px;" id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Dustin Schoenbrun" <Dustin.Schoenbrun@netapp.com><br><b>To: </b>engine-devel@ovirt.org<br><b>Sent: </b>Tuesday, June 19, 2012 3:24:15 PM<br><b>Subject: </b>[Engine-devel] GWT 2.4.0 and the oVirt Engine<br><br>
<div>
<div>
<div>Hey All,</div>
<div><br>
</div>
<div>I was looking at doing some work with extending the oVirt Engine GUI but some of the functionality that I need (such as dynamic creation of tabs) is only supported in GWT 2.4.0. What sort of steps would have to be taken to update the Engine to GWT 2.4.0?
Also, what would be the easiest way of debugging and testing these updates through Eclipse, for example. Thanks in advance!</div>
<div><br>
</div>
<div>
<div>
<div>-- Dustin</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<br>_______________________________________________<br>Engine-devel mailing list<br>Engine-devel@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/engine-devel<br></div><br></div></body></html>