We have an application that is broken into many modules on many layers, included code generation.
I am trying to set up my project, but always seem to have to set my classpath to the jars that store the .class files of the generated code, instead of getting it directly from the .java generated files, which are in my dependency list for those modules that need them.
Without the jars I am getting lost of red on the right side. I shouldn't have to point to the jars, it should use the dependency to the module I created that points to the generated code.
Anyone have any ideas? or IntelliJ IDEAs.