IAmYourFaja
IAmYourFaja

Reputation: 56912

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?

Upvotes: 3

Views: 408

Answers (1)

Daniel Kurka
Daniel Kurka

Reputation: 7985

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.

Upvotes: 3

Related Questions