I have a “core” project that is mavenized. I also have a game project that uses the "core". The design of the game is also shy. Thus, there is a parent maven project that manages both submodules. It works fine with maven (mvn install, mvn compile ...) But when I launch the game and reload the browser page, the compiler fails because it does not find the "main" project. This is normal because I have to add something to indicate where to look for the "main" project. I tried to add a project dependency, but the "core" should be in the modules folder of the playback project, and I don't want this.
How can I point to play in order to compile the sources of the “main” project, or at least indicate where to look for the “main” project classes?
thank
Thanks for the answer. But I already tried many things that I found on the network about setting up sbt (for example, redefine unmanagedClasses), but I was not able to get it to work ...
Do you have a complete example of how to configure sbt to compile an external source?
(I don't know how sbt works and the syntax is neither sbt nor scala, so a comet sample that works will be very useful)
source
share