[Engine-devel] GWT 2.4.0 and the oVirt Engine

Vojtech Szocs vszocs at redhat.com
Mon Jun 25 15:14:53 UTC 2012


Hi everyone,

there are patches available for basic UI migration steps described in my previous email:

Move to GWT 2.4  : http://gerrit.ovirt.org/5613
Move to GWTP 0.7 : http://gerrit.ovirt.org/5684

Let me know if you have any questions.

Vojtech


----- Original Message -----
From: "Vojtech Szocs" <vszocs at redhat.com>
To: engine-devel at ovirt.org
Sent: Tuesday, June 19, 2012 4:40:28 PM
Subject: Re: [Engine-devel] GWT 2.4.0 and the oVirt Engine



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 











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 


_______________________________________________
Engine-devel mailing list
Engine-devel at ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel



More information about the Devel mailing list