[Engine-devel] GWT 2.4.0 and the oVirt Engine

Vojtech Szocs vszocs at redhat.com
Tue Jun 19 14:40:28 UTC 2012


Hi Dustin, 

here are the basic steps for migrating oVirt web applications to GWT 2.4 and GWTP 0.7: 

1. update gwt.version property value to 2.4.0 in following POM files: 

    • frontend/webadmin/modules/ gwt-common /pom.xml 
    • frontend/webadmin/modules/ gwt-extension /pom.xml 
    • frontend/webadmin/modules/ userportal-gwtp /pom.xml 
    • 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 consolidate GWT version definition later on. 



2. update gwtp.version property value to 0.7 in frontend/webadmin/modules/pom.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 items 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: 

    • com.google.gwt.dom.client 
    • com.google.gwt.event.dom.client 


5. adjust UI code regarding GWT Editor framework, which is now capable of handling primitive boolean is/has getter methods 



Vojtech 






----- Original Message -----

From: "Dustin Schoenbrun" <Dustin.Schoenbrun at netapp.com> 
To: engine-devel at 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 at ovirt.org 
http://lists.ovirt.org/mailman/listinfo/engine-devel 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20120619/cbda5f36/attachment-0002.html>


More information about the Devel mailing list