I have a GWT application, foo, that imports a jar (bar) I previously made that is solely
Java. In the jar, I have a folder src/ in the top level that contains all of the source code. Yet, when I try to build foo, I get the error:
[java] [ERROR] Line 185: No source code is available for type bar; did you forget to inherit a required module?
Since bar is not a GWT application, I don't know what to do. I know using an "inherit" tag would help in foo's foo.gwt.xml, but bar isn't GWT. What to do to get it to work? I've scoured the web and this forum for a solution but have yet to find anything. Is there a way to tell the GWT compilier that the source is located in bar.jar's src/ folder?
Any help is greatly appreciated!