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.1:9997
 

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" <[email protected]> 
To: [email protected] 
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 
[email protected] 
http://lists.ovirt.org/mailman/listinfo/engine-devel 

_______________________________________________
Engine-devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-devel

Reply via email to