I'd like to create a GWT (2.0.4) project but with my source in a common java directory that's not kept under the GWT project directory.
I did the following:
1) Created new project 'game' in package com.mycomp.project.game
. This worked fine, with its source under C:\java\Projects\game\src\com\mycomp\project\game.
2) Copied the code into C:\java\com\mycomp\project\game
3) Deleted the directories under C:\Projects\game\src\
4) File, New Folder, Advanced/Link to folder in filesystem to make a 'com' folder under src that links to C:\java\com.
This worked enough that I can see all the source under a com.mycomp.project.game
folder in Eclipse, but when I try to run my project I now get errors of "Unable to find type 'com.mycomp.project.game.client.Game'".
Does GWT just not work with these links to filesystem folders? Is there any way for me to keep my Java code somewhere outside of my project directory but still have it work in GWT?
Thanks.