Although I'm still very interested to get an answer to my previous
post, I have just implemented the "temporary hack" that I mentioned,
and I actually would say that it's a good approach. I created a
"Build" gwt module, which has an entry point, and inherits the overlay
type library. I edited my ant file's gwt-compile target so that it
runs a gwt-compile on the "Build" module, and the gwt-compile
succeeded. There are 2 nice things about this approach...
1) The "make-jar" target can create a jar file which only contains
code from the library, and so I don't have to ship the build module.
2) The Build module's entry point actually is a nice space to write
some code which uses the library, as another set of tests. I haven't
done this yet, but in theory I could write some code which calls all
of the code in the library, and this would ensure that the intended
usage of the library is compliant with the GWT compiler as well.
However, perhaps this is redundant if the library has a suite of unit
tests.
Anyways, as I said, I'm still curious to know how I might be able to
run the gwt-compiler to execute only those compile steps which are
relevant to a library (as opposed to an application).
Cheers,
Mike