sources without package get recompiled each time

when you "make project", each and everytime you see
sources without package being recompiled.

is this non-fixable ?

Comment actions Permalink

I fixed this by adding the directories those files are in as source roots.

Our main source root is:


But we had some package-less classes under:


So I added src/com/mycomp/legacy as a source root, and that stopped them from making every time.

Comment actions Permalink

BTW, I think this is a problem with javac as well. Our ant build was doing the same thing, and we fixed it by excluding those directories from our main task, and adding additional ]]> tasks with the more specific src roots.


Please sign in to leave a comment.