CodeServer and Compiler broken after "Redo file watching refactor." change

175 views
Skip to first unread message

Lars

unread,
Nov 10, 2015, 9:39:01 AM11/10/15
to GWT Contributors
After the "Redo file watching refactor." change (d746d952defbd42c81317ccbd5da0f1561b81d36) both CodeServer and Compiler are broken for my project and also for the following build in samples (see below).
What went wrong?
Btw. I'm using Windows7 and Java7...

Buildfile: C:\Projects2\gwt-git\samples\build.xml
build:
-do:
dynatable:
check.build.type:
source:
    [mkdir] Created dir: C:\Projects2\gwt-git\build\out\samples\DynaTable\src
     [copy] Copying 15 files to C:\Projects2\gwt-git\build\out\samples\DynaTable\src
    [mkdir] Created dir: C:\Projects2\gwt-git\build\out\samples\DynaTable\war
     [copy] Copying 4 files to C:\Projects2\gwt-git\build\out\samples\DynaTable\war
serverlibs:
    [mkdir] Created dir: C:\Projects2\gwt-git\build\out\samples\DynaTable\war\WEB-INF\lib
compile:
    [mkdir] Created dir: C:\Projects2\gwt-git\build\out\samples\DynaTable\war\WEB-INF\classes
[gwt.javac] Compiling 13 source files to C:\Projects2\gwt-git\build\out\samples\DynaTable\war\WEB-INF\classes
[gwt.javac] Note: Some input files use or override a deprecated API.
[gwt.javac] Note: Recompile with -Xlint:deprecation for details.
gwtc:
     [java] Compiling module com.google.gwt.sample.dynatable.DynaTable
     [java]    Ignored 78 units with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
     [java]    Finding entry point classes
     [java]       [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly

BUILD FAILED
C:\Projects2\gwt-git\samples\build.xml:58: The following error occurred while executing this line:
C:\Projects2\gwt-git\samples\build.xml:46: The following error occurred while executing this line:
C:\Projects2\gwt-git\samples\build.xml:10: The following error occurred while executing this line:
C:\Projects2\gwt-git\samples\common.ant.xml:143: Java returned: 1

Total time: 13 seconds

Buildfile: C:\Projects2\gwt-git\dev\codeserver\build.xml
compile:
build:
demo:
     [java] Turning off precompile in incremental mode.
     [java] Super Dev Mode starting up
     [java]    workDir: C:\Users\LGEMEI~1\AppData\Local\Temp\gwt-codeserver-8211969745799431939.tmp
     [java]    Loading Java files in com.google.gwt.sample.hello.Hello.
     [java]    Ignored 80 units with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
     [java]    Finding entry point classes
     [java]       [ERROR] Hint: Check that the type name 'com.google.gwt.sample.hello.client.Hello' is really what you meant
     [java]       [ERROR] Hint: Check that your classpath includes all required source roots

BUILD FAILED
C:\Projects2\gwt-git\dev\codeserver\build.xml:81: Java returned: 1

Total time: 11 seconds

Roberto Lublinerman

unread,
Nov 11, 2015, 12:40:07 AM11/11/15
to google-web-tool...@googlegroups.com
Could you run it with -Dgwt.watchFileChanges=false and let us know? That flag should turn of the file watching logic.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/e6734a71-0fe4-4cdb-b56a-ef45a690ff44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Goktug Gokdogan

unread,
Nov 11, 2015, 1:36:47 AM11/11/15
to google-web-toolkit-contributors
Also is this happening in any other configuration? Java8? windows 10?

I can't reproduce it with mac or linux.


Roberto Lublinerman

unread,
Nov 11, 2015, 2:30:53 AM11/11/15
to google-web-tool...@googlegroups.com
It happens in windows with or without the flag I think. I run it with logLevel DEBUG and -string and it was failing to find the sources for javax.validation. But it is a real pain to setup an environment in windows that runs our build. Elemental also fails to build.

Lars

unread,
Nov 11, 2015, 4:53:34 AM11/11/15
to GWT Contributors
It fails for Java 7 and 8 for Windows 7 and 8 ...
I checked also with the latest ant version and your flag "-Dgwt.watchFileChanges=true" and in addition with "-Dgwt.persistentunitcache=false" - but no success...

How can I help you? Because for me it's easy to run it on windows :-)

Btw. the issue is also within the 2.8.0-beta1 - this should break all the windows builds :-(

E:\gwt-2.8.0-beta1\samples>ant.bat build
Buildfile: E:\gwt-2.8.0-beta1\samples\build.xml

build:

-do:

libs:
     [copy] Copying 1 file to E:\gwt-2.8.0-beta1\samples\DynaTable\war\WEB-INF\lib
     [copy] Copying 1 file to E:\gwt-2.8.0-beta1\samples\DynaTable\war\WEB-INF\lib

javac:
    [javac] E:\gwt-2.8.0-beta1\samples\DynaTable\build.xml:31: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
     [copy] Copying 2 files to E:\gwt-2.8.0-beta1\samples\DynaTable\war\WEB-INF\classes


gwtc:
     [java] Compiling module com.google.gwt.sample.dynatable.DynaTable
     [java]    Finding entry point classes
     [java]       [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly

BUILD FAILED
E:\gwt-2.8.0-beta1\samples\build.xml:12: The following error occurred while executing this line:
E:\gwt-2.8.0-beta1\samples\build.xml:4: The following error occurred while executing this line:
E:\gwt-2.8.0-beta1\samples\DynaTable\build.xml:40: Java returned: 1

Total time: 11 seconds


Am Mittwoch, 11. November 2015 08:30:53 UTC+1 schrieb Roberto Lublinerman:
It happens in windows with or without the flag I think. I run it with logLevel DEBUG and -string and it was failing to find the sources for javax.validation. But it is a real pain to setup an environment in windows that runs our build. Elemental also fails to build.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.

Roberto Lublinerman

unread,
Nov 11, 2015, 8:58:47 PM11/11/15
to google-web-tool...@googlegroups.com
The fix for this issue is up for review at https://gwt-review.googlesource.com/#/c/13956

To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/cb98c0d3-2c2a-4033-9912-d2149f1a6c03%40googlegroups.com.

Lars

unread,
Nov 12, 2015, 4:59:14 AM11/12/15
to GWT Contributors
Works perfect! Thank you! :-)

We should build a beta2 version for gwt 2.8.0 to include this change and enable windows tests!
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages