-
Notifications
You must be signed in to change notification settings - Fork 381
Description
GWT compiler uses classloader of executing thread. Such implementation provides great flexibility of callers to provide new possibilities of loading resources. Compilation with custom classloader could enable loading of artefacts not only from local paths but also from absolute paths or other locations or memory.
Due to the implementation of ResourceLoaders there is no way to fully utilize classloader and for example load sources from any location desired. Limitation comes from:
| Sets.newLinkedHashSet(Splitter.on(File.pathSeparatorChar).split(JAVA_CLASS_PATH.value())); |
There are probably several ways to lift this limitation:
a) Simple property adding new locations to classpathentries would probably help.
b) Ability to provide own implementation of resource loader could be a cleaner way
and someone with better understanding of GWT architecture would probably generate better options.