--=_7087df4d-02a2-4f66-aae0-d145b4354ef0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi Dustin,
here are the basic steps for migrating oVirt web applications to GWT 2.4 an=
d GWTP 0.7:
1. update gwt.version property value to 2.4.0 in following POM files:
=E2=80=A2 frontend/webadmin/modules/ gwt-common /pom.xml
=E2=80=A2 frontend/webadmin/modules/ gwt-extension /pom.xml
=E2=80=A2 frontend/webadmin/modules/ userportal-gwtp /pom.xml
=E2=80=A2 frontend/webadmin/modules/ webadmin /pom.xml
Note: oVirt root POM still defines gwt.version with value 2.2.0 , which is =
effectively inherited by frontend and uicompat modules (located at frontend=
/webadmin/modules ). This shouldn't be an issue, however, we should consoli=
date GWT version definition later on.
2. update gwtp.version property value to 0.7 in frontend/webadmin/modules/p=
om.xml
3. follow GWTP 0.7 migration steps , which will most likely involve UI code=
changes
For all steps mentioned above, I'm planning to make a patch, since step (3)=
requires deeper knowledge of GWTP/WebAdmin code.
In addition, here are the extra steps to finalize the migration (these item=
s are relevant long-term, can be skipped for now):
4. remove HTML5 drag'n'drop classes (originally copied from GWT 2.4 trunk) =
by removing following WebAdmin packages:
=E2=80=A2 com.google.gwt.dom.client
=E2=80=A2 com.google.gwt.event.dom.client
5. adjust UI code regarding GWT Editor framework, which is now capable of h=
andling primitive boolean is/has getter methods
Vojtech
----- Original Message -----
From: "Dustin Schoenbrun" <Dustin.Schoenbrun(a)netapp.com>
To: engine-devel(a)ovirt.org
Sent: Tuesday, June 19, 2012 3:24:15 PM
Subject: [Engine-devel] GWT 2.4.0 and the oVirt Engine
Hey All,
I was looking at doing some work with extending the oVirt Engine GUI but so=
me of the functionality that I need (such as dynamic creation of tabs) is o=
nly supported in GWT 2.4.0. What sort of steps would have to be taken to up=
date the Engine to GWT 2.4.0? Also, what would be the easiest way of debugg=
ing and testing these updates through Eclipse, for example. Thanks in advan=
ce!
-- Dustin
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel
--=_7087df4d-02a2-4f66-aae0-d145b4354ef0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3D'text/css'>p { margin: 0;
}</style></head><body><=
div style=3D'font-family: Times New Roman; font-size: 12pt; color: #000000'=
<font size=3D"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=3D"4"><br>=
<br>1. update <em>gwt.version</em> property value to
<em>2.4.0</em> in foll=
owing POM files:</font><ul><li><font
size=3D"4">frontend/webadmin/modules/<=
strong>gwt-common</strong>/pom.xml</font></li><li><font
size=3D"4">frontend=
/webadmin/modules/<strong>gwt-extension</strong>/pom.xml</font></li><li><fo=
nt size=3D"4">frontend/webadmin/modules/<span style=3D"font-weight:
bold;">=
userportal-gwtp</span>/pom.xml</font></li><li><font
size=3D"4">frontend/web=
admin/modules/<span style=3D"font-weight:
bold;">webadmin</span>/pom.xml</f=
ont></li></ul><p><font size=3D"4">Note: oVirt root
POM still defines </font=
<font size=3D"4"><span style=3D"font-style:
italic;">gwt.version</span> wi=
th value <span
style=3D"font-style: italic;">2.2.0</span>, which is effecti=
vely inherited by <span style=3D"font-weight: bold;">frontend</span>
and <s=
pan style=3D"font-weight: bold;">uicompat</span> modules (located at
</font=
<font
size=3D"4">frontend/webadmin/modules</font><font
size=3D"4">). This =
shouldn't be an issue, however, we should
consolidate GWT version definitio=
n later on.</font></p><p><font
size=3D"4"></font></p><p><font
size=3D"4"><b=
r></font></p><p><font size=3D"4">2. update <span
style=3D"font-style: itali=
c;">gwtp.version</span> property value </font><font
size=3D"4">to <span sty=
le=3D"font-style: italic;">0.7</span> in</font><font
size=3D"4"> frontend/w=
ebadmin/modules/pom.xml</font></p><p><font
size=3D"4"><br></font></p><p><fo=
nt size=3D"4">3. follow <a
href=3D"http://code.google.com/p/gwt-platform/wi=
ki/PortingV1#V0.7" target=3D"_blank">GWTP 0.7 migration steps</a>,
which wi=
ll most likely involve UI code
changes</font></p><p><br></p><p><font size=
=3D"4">For all steps mentioned above, I'm planning to make a patch, since
s=
tep (3) requires deeper knowledge of GWTP/WebAdmin
code.</font></p><p><br><=
/p><p><font
size=3D"4"><br></font></p><p><font
size=3D"4">In addition, here=
are the extra steps to finalize the migration (these items are relevant lo=
ng-term, can be skipped for now):</font></p><p><font
size=3D"4"><br></font>=
</p><p><font size=3D"4">4. remove HTML5 drag'n'drop
classes (originally cop=
ied from GWT 2.4 trunk) by removing following WebAdmin packages:</font></p>=
<ul><li><font
size=3D"4">com.google.gwt.dom.client</font></li><li><font
siz=
e=3D"4">com.google.gwt.event.dom.client</font></li></ul><p><font
size=3D"4"=
5. adjust UI code regarding GWT Editor framework, which is now capable
of =
handling <a
href=3D"http://code.google.com/p/google-web-toolkit/issues/deta=
il?id=3D6040" target=3D"_blank">primitive boolean is/has getter
methods</a>=
<br></font></p><br><br><p><font
size=3D"4">Vojtech<br></font></p><p><br></p=
<p><font
size=3D"4"><br></font></p><p><font
size=3D"4"><br></font></p><hr =
style=3D"height: 4px;" id=3D"zwchr"><div
style=3D"color:#000;font-weight:no=
rmal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,san=
s-serif;font-size:12pt;"><b>From: </b>"Dustin Schoenbrun"
<Dustin.Schoen=
brun(a)netapp.com&gt;<br><b>To:
</b>engine-devel(a)ovirt.org<br><b>Sent: </b>Tu=
esday, 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 b=
ut 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 u=
pdates 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>
--=_7087df4d-02a2-4f66-aae0-d145b4354ef0--