0 | I have a GWT application http://islamart.tn which fails on google crawling : The 'fetch as google' feature fails with a 'partial' status saying that it can't find undefined.cache.js After some research, I found that this js is the app js when the user.agent is not recognized I therefore changed my
enum value for gecko to recgnize google bot:
In my core GWT module I naturally added the line :
I installed 'Chrome UA spoofer" to emulate the Googlebot user.agent request, and what happened is that now I have a warning at startup saying that the runtime value safari is different than the compile time gecko_18 I still see some checking runtime code in the generated js
but those files are very large, and I don't know from which classes they are generated. Additionally, I had to fall back to the version 2.6.1 since compilation with 2.8.0RC2 and 2.7.0 don't finish the job (for some reasons I don't have the time to investigate now) Any ideas please?... I need an answer to one of these questions :
p.s : I posted this message on http://stackoverflow.com/questions/39796166/gwt-application-crawler-error-undefined-cache-js |
Have you tried set-property-fallback?
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsub...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
I was using this
APP_DIR=/var/lib/tomcat8/webapps/vizit/vizit; sudo ln -s `ls $APP_DIR/*.cache.js | head -n 1` $APP_DIR/undefined.cache.js; ls -lt $APP_DIR/
On Fri, Sep 30, 2016 at 9:36 PM, Zied Hamdi <zha...@gmail.com> wrote:
Hi Thomas,Thanks for the fast reply :), it's been a while we didn't exchange !I tried set-property-fallback, but this means I have to migrate to a newer gwt version (2.7 or 2.8). The issue is that the compiler for those two versions stops unexpectedly without any error message (it only writes "linking succeeded"). In addition, when it succeeds in compilation, I can't run the app in standard mode : the compiler of the super-dev-mode triggers even if I launch the app in standard mode (and I need to see what happens with the production js)With all these issues and because the bug is critical to fix as fast as possible, I decided to downgrade back to 2.6.1 where I don't have these unexpected compiling failure without errors ... :-/Actually I need to find a solution for the 2.6.1 version (where set-property-fallback doesn't apply), I will have more time to understand what happens with the new GWT compilers when this bug will be workarounded...
On Friday, September 30, 2016 at 7:05:06 PM UTC+1, Thomas Broyer wrote:Have you tried set-property-fallback?
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsub...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--Vassilis Virvilis