Test src getting compiled to non-test output dir

Hi all,

I'm using Idea 9.0.1.

I have Spring config files under both src (<module>/src/conf) and test (<module>/test/conf.)  In my Idea module, I mark the former dir as a src dir and the latter as a test dir.  The compiler output paths are separate also: <module>/target/classes for src and <module>/target/test-classes for test.  However, if I "compile" (ctrl-shift-f9) one of my Spring test config files with Idea, it's moved to <module>/target/classes instead of <module>/target/test-classes.  I've verified that it's not my maven build that is doing this. This goofs up my jar file because it gets the wrong configs in it.

Any idea what's wrong?



Please sign in to leave a comment.