I'm working with one large gwt project. We have a related project that is a mixture of WebStart and an Applet. I'm trying to reuse some of the classes used to communicate between the applet and server on the client side of the gwt project. These classes are currently used on the server side of the gwt project by importing the jar from the applet project. But when I tried to add these classes to the GWT RPC objects, I got the compile error that it couldn't find the source code.
I'm fairly new to Netbeans. I tried Project Properties->Sources, adding the source folder there, since I have the source in the Applet project in the same workspace. But it gave me an error that the source was already included as a source folder in another project and couldn't be included in another. I also tried to include the applet proejct in Project Properties->Libraries->Compile tab, but it only included the jar from the AppletProject/dist.
Is there a way to set that Applet project to include its source in its jar?