--=_feec9252-ae06-4ec7-8546-5006673925ab
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Forgot the debugging question :)
To apply and test your changes using GWT development mode (emulated JS runtime
environment):
1. perform full oVirt Maven build:
$ cd <OVIRT_HOME>
$ mvn clean install -Psetup,dep,gwt-admin,gwt-user -Dmaven.test.skip
2. upgrade your local PostgreSQL engine database:
$ cd <OVIRT_HOME>/backend/manager/dbscripts/
$ ./upgrade.sh -u postgres
3. start your JBoss AS 7.1.1 server instance (running in standalone mode):
$ cd <JBOSS_HOME>/bin/
$ ./standalone.sh
4. invoke GWT development mode for WebAdmin module (using GWT Maven plugin):
$ cd <OVIRT_HOME>/frontend/webadmin/modules/webadmin/
$ mvn gwt:debug -Pgwtdev,gwt-admin -Dgwt.noserver=true
5. in your Eclipse IDE, create new Remote Java Application debug configuration (port 8000)
and start the debug session
6. your Eclipse IDE will connect to GWT development mode and GWT development window will
show up
7. access WebAdmin using browser at
http://127.0.0.1:8080/webadmin/webadmin/WebAdmin.html?gwt.codesvr=127.0.0...
8. in case you don't have GWT developer plugin installed in your browser, you will be
prompted to install it
9. after any code change, you need to refresh (F5) WebAdmin browser window
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 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!
-- Dustin
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel
--=_feec9252-ae06-4ec7-8546-5006673925ab
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">Forgot the debugging question
:)<br><br>To apply and test=
your changes using GWT development mode
(emulated JS runtime environment):=
<br><br>1. perform full oVirt Maven
build:<br><br></font><div style=3D"marg=
in-left: 40px; font-family: courier new,courier,monaco,monospace,sans-serif=
;"><font size=3D"3">$ cd
<OVIRT_HOME><br></font><font size=3D"3">$ mv=
n clean install -Psetup,dep,gwt-admin,gwt-user -Dmaven.test.skip</font><br>=
</div><font size=3D"4"><br>2. upgrade your local PostgreSQL
<em>engine</em>=
database:<br><br></font><div style=3D"margin-left:
40px;"><font size=3D"4"=
<font size=3D"3"><span style=3D"font-family:
courier new,courier,monaco,mo=
nospace,sans-serif;">$ cd
</span></font></font><font size=3D"4"><font size=
=3D"3"><span style=3D"font-family: courier
new,courier,monaco,monospace,san=
s-serif;"><OVIRT_HOME>/backend/manager/dbscripts/</span></font></font=
<br style=3D"font-family: courier
new,courier,monaco,monospace,sans-serif;=
"><font
size=3D"4"><font size=3D"3"><span
style=3D"font-family: courier new=
,courier,monaco,monospace,sans-serif;">$ ./upgrade.sh -u
postgres</span></f=
ont></font><br></div><font size=3D"4"><br>3.
start your JBoss AS 7.1.1 serv=
er instance (running in standalone mode):<br><br></font><div
style=3D"margi=
n-left: 40px;"><font size=3D"4"><font
size=3D"3"><span style=3D"font-family=
: courier new,courier,monaco,monospace,sans-serif;">$ cd
<JBOSS_HOME>=
/bin/</span></font></font><br style=3D"font-family: courier
new,courier,mon=
aco,monospace,sans-serif;"><font size=3D"4"><font
size=3D"3"><span style=
=3D"font-family: courier new,courier,monaco,monospace,sans-serif;">$ ./stan=
dalone.sh</span></font></font><br></div><font
size=3D"4"><br>4. invoke GWT =
development mode for WebAdmin module (using GWT Maven
plugin):<br><br></fon=
t><div style=3D"margin-left: 40px;"><font
size=3D"4"><font style=3D"font-fa=
mily: courier new,courier,monaco,monospace,sans-serif;" size=3D"3">$ cd
</f=
ont></font><font style=3D"font-family: courier
new,courier,monaco,monospace=
,sans-serif;"
size=3D"3"><OVIRT_HOME>/frontend/webadmin/modules/webad=
min/</font><br><font style=3D"font-family: courier
new,courier,monaco,monos=
pace,sans-serif;" size=3D"3">$ mvn gwt:debug -Pgwtdev,gwt-admin
-Dgwt.noser=
ver=3Dtrue</font><br></div><font size=3D"4"><br>5.
in your Eclipse IDE, cre=
ate new <span style=3D"font-style: italic;">Remote Java
Application</span> =
debug configuration (port 8000)</font><font size=3D"4"> and start
the debug=
session<br><br>6. your Eclipse IDE will connect to GWT development mode an=
d GWT development window will show up<br><br>7. access WebAdmin using brows=
er at <span style=3D"font-style:
italic;">http://127.0.0.1:8080/webadmin/we=
badmin/WebAdmin.html?gwt.codesvr=3D127.0.0.1:9997</span><br><br>8. in
case =
you don't have GWT developer plugin installed in your browser, you will be =
prompted to install it<br><br>9. after any code change, you need to refresh=
(F5) WebAdmin browser
window<br><br>Vojtech<br><br><br></font><hr style=
=3D"height: 4px;" id=3D"zwchr"><div
style=3D"color:#000;font-weight:normal;=
font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-ser=
if;font-size:12pt;"><b>From: </b>"Dustin Schoenbrun"
<Dustin.Schoenbrun@=
netapp.com><br><b>To:
</b>engine-devel(a)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 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>
--=_feec9252-ae06-4ec7-8546-5006673925ab--