Hi Sangeetha,

This is a very old post, and unfortunately it probably doesn't work anymore. When I need to do a GWT compile, I turn off checks and make sure the rest of the compile goes as fast as possible. Unfortunately, classic dev mode hasn't worked since Firefox 25 (super ancient), so we really don't have a debug or quick-compile method anymore :(

The command I typically use:

make install-dev PREFIX=/home/greg/ovirt-engine DEV_EXTRA_BUILD_FLAGS="-Danimal.sniffer.skip -Dcheckstyle.skip -Dgwt.compiler.localWorkers=1" DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.cssResourceStyle=pretty -Dgwt.userAgent=safari" BUILD_UT=0 BUILD_GWT=1 BUILD_LOCALES=0

We also recently added a 'SKIP_CHECKS=1' option that does roughly the same -- https://gerrit.ovirt.org/#/c/83961/

Hope this helps a little.

Best wishes,
Greg




On Thu, Sep 20, 2018 at 3:01 AM sangeetha r <sangee2cu@yahoo.co.in> wrote:
Hi Greg,

 I followed your post "oVirt Webadmin GWT Debug Quick Refresh" in Centos7.

I am able to get the SDM compile works. But changes are not reflecting in UI Chrome/Firefox.

I didn't  see any error in logs as well.


This is the GWT log output when I do compile

[INFO] The code server is ready at http://10.149.202.159:9876/
[INFO] GET /recompile/webadmin
[INFO]    Job org.ovirt.engine.ui.webadmin.WebAdmin_1_0
[INFO]       starting job: org.ovirt.engine.ui.webadmin.WebAdmin_1_0
[INFO]       binding: locale=en_US
[INFO]       binding: user.agent=safari
[INFO]       Compiling module org.ovirt.engine.ui.webadmin.WebAdmin
[INFO]          Computing all possible rebind results for 'com.gwtplatform.mvp.client.DesktopGinjector'
[INFO]             Rebinding com.gwtplatform.mvp.client.DesktopGinjector
[INFO]                Invoking generator com.google.gwt.inject.rebind.GinjectorGenerator
[INFO]                   [WARN] Class org.ovirt.engine.ui.gwtaop.AspectJLogHandler is used in Gin, but not available in GWT client code.
[INFO] info AspectJ Weaver Version 1.8.10 built on Monday Dec 12, 2016 at 19:07:48 GMT
[INFO] info register classloader com.google.gwt.inject.rebind.GinBridgeClassLoader@cbbe9df
[INFO] info using configuration file:/home/admin/.m2/repository/org/ovirt/engine/ui/gwt-aop/4.3.0-SNAPSHOT/gwt-aop-4.3.0-SNAPSHOT.jar!/META-INF/aop.xml
[INFO] info register aspect org.ovirt.engine.ui.gwtaop.DontPrune
[INFO] warning javax.* types are not being woven because the weaver option '-Xset:weaveJavaxPackages=true' has not been specified
[INFO]          Unification traversed 23500 fields and methods and 8802 types. 667 are considered part of the current module and 672 had all of their fields and methods traversed.
[INFO]          Compiling 1 permutation
[INFO]             Compiling permutation 0...
[INFO]             Linking per-type JS with 667 new/changed types.
[INFO]             Source Maps Enabled
[INFO]          Compile of permutations succeeded
[INFO]          Compilation succeeded -- 27.667s
[INFO]       Linking into /home/admin/git/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp/gwt-codeserver-671189326887964275.tmp/org.ovirt.engine.ui.webadmin.WebAdmin/compile-2/war/webadmin; Writing extras to /home/admin/git/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp/gwt-codeserver-671189326887964275.tmp/org.ovirt.engine.ui.webadmin.WebAdmin/compile-2/extras/webadmin
[INFO]          Link succeeded
[INFO]          Linking succeeded -- 4.482s
[INFO]       34.746s total -- Compile completed



Can you please help me on this issue.

Sangeetha S         

_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/E4S5QHSRT6HBPU3HSFE2XKQHSYGFIJ5R/


--

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

gshereme@redhat.com    IRC: gshereme