I have this scenario:
I have a project (maven) that has it's own dependencies.
From project structure, I added two projects (maven) as modules, I deleted old maven dependencies and moved up the modules in the dependencies list.
It correctly compiles and works, but I have a problem when I make a unit test with gwt test. Running the test it gives this error:
2014-05-15 01:00:23 ERROR GwtTreeLogger:58 - Unable to find type 'my.package.MyClass'
2014-05-15 01:00:23 ERROR GwtTreeLogger:58 - Hint: Check that the type name 'my.package.MyClass' is really what you meant
2014-05-15 01:00:23 ERROR GwtTreeLogger:58 - Hint: Check that your classpath includes all required source roots
Looking at the classpath it doesn't seem to include src path, and gwt test needs the sources.
I added the dir to classpath manually copying the classpath from junit output, in run configuration for the test, and it works, but it's not so confortable.
Is there a way so IDEA includes sources in classpath by itself?
Thanks for help