<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">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="margin-left: 40px; font-family: courier new,courier,monaco,monospace,sans-serif;"><font size="3">$ cd <OVIRT_HOME><br></font><font size="3">$ mvn clean install -Psetup,dep,gwt-admin,gwt-user -Dmaven.test.skip</font><br></div><font size="4"><br>2. upgrade your local PostgreSQL <em>engine</em> database:<br><br></font><div style="margin-left: 40px;"><font size="4"><font size="3"><span style="font-family: courier new,courier,monaco,monospace,sans-serif;">$ cd </span></font></font><font size="4"><font size="3"><span style="font-family: courier new,courier,monaco,monospace,sans-serif;"><OVIRT_HOME>/backend/manager/dbscripts/</span></font></font><br style="font-family: courier new,courier,monaco,monospace,sans-serif;"><font size="4"><font size="3"><span style="font-family: courier new,courier,monaco,monospace,sans-serif;">$ ./upgrade.sh -u postgres</span></font></font><br></div><font size="4"><br>3. start your JBoss AS 7.1.1 server instance (running in standalone mode):<br><br></font><div style="margin-left: 40px;"><font size="4"><font size="3"><span style="font-family: courier new,courier,monaco,monospace,sans-serif;">$ cd <JBOSS_HOME>/bin/</span></font></font><br style="font-family: courier new,courier,monaco,monospace,sans-serif;"><font size="4"><font size="3"><span style="font-family: courier new,courier,monaco,monospace,sans-serif;">$ ./standalone.sh</span></font></font><br></div><font size="4"><br>4. invoke GWT development mode for WebAdmin module (using GWT Maven plugin):<br><br></font><div style="margin-left: 40px;"><font size="4"><font style="font-family: courier new,courier,monaco,monospace,sans-serif;" size="3">$ cd </font></font><font style="font-family: courier new,courier,monaco,monospace,sans-serif;" size="3"><OVIRT_HOME>/frontend/webadmin/modules/webadmin/</font><br><font style="font-family: courier new,courier,monaco,monospace,sans-serif;" size="3">$ mvn gwt:debug -Pgwtdev,gwt-admin -Dgwt.noserver=true</font><br></div><font size="4"><br>5. in your Eclipse IDE, create new <span style="font-style: italic;">Remote Java Application</span> debug configuration (port 8000)</font><font size="4"> and start the debug session<br><br>6. your Eclipse IDE will connect to GWT development mode and GWT development window will show up<br><br>7. access WebAdmin using browser at <span style="font-style: italic;">http://127.0.0.1:8080/webadmin/webadmin/WebAdmin.html?gwt.codesvr=127.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="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>