GWT is broken in version 1.7.0
See original GitHub issueLooks like the cause is the new GdxFileSystem. Here is the output that I get when trying to compile for GWT:
16:00:58.902 [QUIET] [system.out] Validating units:
16:00:58.906 [QUIET] [system.out] [ERROR] Errors in 'jar:file:/Users/baz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-ai/1.7.0/fedc63e153ddbd33ea94c1ed379f811c6688269d/gdx-ai-1.7.0-sources.jar!/com/badlogic/gdx/ai/GdxFileSystem.java'
16:00:58.906 [QUIET] [system.out] [ERROR] Line 41: No source code is available for type com.badlogic.gdx.assets.loaders.resolvers.AbsoluteFileHandleResolver; did you forget to inherit a required module?
16:00:58.906 [QUIET] [system.out] [ERROR] Line 49: No source code is available for type com.badlogic.gdx.assets.loaders.resolvers.LocalFileHandleResolver; did you forget to inherit a required module?
16:00:58.906 [QUIET] [system.out] [ERROR] Errors in 'jar:file:/Users/baz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-ai/1.7.0/fedc63e153ddbd33ea94c1ed379f811c6688269d/gdx-ai-1.7.0-sources.jar!/com/badlogic/gdx/ai/StandaloneFileSystem.java'
16:00:58.906 [QUIET] [system.out] [ERROR] Line 69: The constructor FileHandle(String, Files.FileType) is undefined
16:00:58.906 [QUIET] [system.out] [ERROR] Line 73: The constructor FileHandle(File, Files.FileType) is undefined
16:00:58.906 [QUIET] [system.out] [ERROR] Line 77: file cannot be resolved
16:00:58.906 [QUIET] [system.out] [ERROR] Line 77: type cannot be resolved to a variable
16:00:58.907 [QUIET] [system.out] [ERROR] Line 78: file cannot be resolved to a variable
16:00:58.907 [QUIET] [system.out] [ERROR] Line 78: type cannot be resolved to a variable
16:00:58.907 [QUIET] [system.out] [ERROR] Line 82: file cannot be resolved
16:00:58.907 [QUIET] [system.out] [ERROR] Line 83: file cannot be resolved
16:00:58.907 [QUIET] [system.out] [ERROR] Line 83: type cannot be resolved to a variable
16:00:58.907 [QUIET] [system.out] [ERROR] Line 87: file cannot be resolved
16:00:58.907 [QUIET] [system.out] [ERROR] Line 89: type cannot be resolved to a variable
16:00:58.907 [QUIET] [system.out] [ERROR] Line 94: type cannot be resolved to a variable
16:00:58.907 [QUIET] [system.out] [ERROR] Line 98: type cannot be resolved to a variable
16:00:58.908 [QUIET] [system.out] [ERROR] Line 98: file cannot be resolved
16:00:58.908 [QUIET] [system.out] [ERROR] Line 99: type cannot be resolved to a variable
16:00:58.908 [QUIET] [system.out] [ERROR] Line 99: file cannot be resolved
16:00:58.908 [QUIET] [system.out] [ERROR] Line 100: file cannot be resolved to a variable
16:00:58.908 [QUIET] [system.out] [ERROR] Errors in 'jar:file:/Users/baz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-ai/1.7.0/fedc63e153ddbd33ea94c1ed379f811c6688269d/gdx-ai-1.7.0-sources.jar!/com/badlogic/gdx/ai/btree/utils/DistributionAdapters.java'
16:00:58.909 [QUIET] [system.out] [ERROR] Line 463: The method countTokens() is undefined for the type StringTokenizer
16:00:58.950 [QUIET] [system.out] Removing invalidated units
16:00:59.004 [QUIET] [system.out] Compilation unit 'jar:file:/Users/baz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-ai/1.7.0/fedc63e153ddbd33ea94c1ed379f811c6688269d/gdx-ai-1.7.0-sources.jar!/com/badlogic/gdx/ai/btree/utils/BehaviorTreeParser.java' is removed due to invalid reference(s):
16:00:59.004 [QUIET] [system.out] com.badlogic.gdx.ai.btree.utils.DistributionAdapters
16:00:59.021 [QUIET] [system.out] Compilation unit 'jar:file:/Users/baz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-ai/1.7.0/fedc63e153ddbd33ea94c1ed379f811c6688269d/gdx-ai-1.7.0-sources.jar!/com/badlogic/gdx/ai/btree/utils/BehaviorTreeLibrary.java' is removed due to invalid reference(s):
16:00:59.022 [QUIET] [system.out] com.badlogic.gdx.ai.btree.utils.BehaviorTreeParser
16:00:59.022 [QUIET] [system.out] Compilation unit 'jar:file:/Users/baz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-ai/1.7.0/fedc63e153ddbd33ea94c1ed379f811c6688269d/gdx-ai-1.7.0-sources.jar!/com/badlogic/gdx/ai/btree/utils/BehaviorTreeLoader.java' is removed due to invalid reference(s):
16:00:59.022 [QUIET] [system.out] com.badlogic.gdx.ai.btree.utils.BehaviorTreeParser
16:00:59.041 [QUIET] [system.out] Compilation unit 'jar:file:/Users/baz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-ai/1.7.0/fedc63e153ddbd33ea94c1ed379f811c6688269d/gdx-ai-1.7.0-sources.jar!/com/badlogic/gdx/ai/btree/utils/BehaviorTreeLibraryManager.java' is removed due to invalid reference(s):
16:00:59.041 [QUIET] [system.out] com.badlogic.gdx.ai.btree.utils.BehaviorTreeLibrary
16:00:59.217 [QUIET] [system.out] Wrote 3854 units to persistent cache.
16:01:00.628 [QUIET] [system.out] Finding entry point classes
16:01:00.629 [QUIET] [system.out] [ERROR] Aborting compile due to errors in some input files
Issue Analytics
- State:
- Created 8 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
GWT Release Notes
Note, however, that this release is version 1.7.0 rather than version 1.6.5 to signify a potentially breaking change for libraries that use deferred...
Read more >Resolving broken source in Maven central repository
I've downloaded the source from Sourceforge and placed it in .m2/repository/org/moxieapps/gwt/ but Maven still tries to download it from the ...
Read more >google-web-toolkit - issue #1720
This appears to be broken still in GWT 2.1 RC1. The previous patch that has been updated for GWT 2.0.x doesn't not work...
Read more >GWT Highcharts Version 1.7.0 Released - SourceForge
We're pleased to announce that version 1.7.0 of the GWT Highcharts library has now been released and is ready to use. The version...
Read more >Broken installation. for build.sh ? - Google Groups
The command is: java -cp <classpath> com.google.gwt.dev.Compiler -ea -war <outputdir> tsd.Queryui where the classpath lists all of the jars, the TSD source and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done!
@davebaol thanks man! That solved it! I had to make some changes to the htmlLauncher but that wasn’t hard. 💃