Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does GWT have its own notion of classpath?

Does the GWT compiler have a notion of its own "classpath" that is separate from the normal compile-time classpath? Does a GWT app (and its internal workings) have the notion of its own classpath that is separate from the normal JRE runtime classpath?

like image 622
IAmYourFaja Avatar asked Dec 22 '25 00:12

IAmYourFaja


1 Answers

GWT has the notion of modules. Each module does declare what packages are in its source path. Modules can extend other modules. Every Class the GWT compiles has to be in the source path of one module your main module extends from.

The notion of sourcepath combined with modules builds some kind of separate classpath just for the GWT Compiler. But it has nothing to do with the java classpath.

like image 59
Daniel Kurka Avatar answered Dec 23 '25 14:12

Daniel Kurka



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!