A quick and simple question:).
I have a .jar with allot of classes and I want to use them both in the Client (GWT) and server side.
If I add the .jar to the web server lib folder GWT compiler can’t reach it. And putting on the .shared folder also doesn’t work.
So what can I do to have access to the classes within the .jar container both in the server side and Java google web toolkit Client Code?
PS: I obviously don’t want to take out all the classes from the .jar container.
AFAIK in this case (shared classes) source must be compiled by GWT so you cannot just drop any .jar with precompiled classes. If you don’t want to unpack classes for example to separate project (for those source classes) and include to main project, you can include the source files in .jar. In either way you need source classes.