I thought Scala 2.7.2 introduced a collaborative compilation mode to do just that?
What version of scalac are you using, and does this mode work in disconnected mode?
Edit: Wait a second when you say that scalac causes class A not to be found - did you realize that you still need to compile clean Java files using javac ? Scalac's collaborative compilation mode does not actually produce *.class output for Java files, but simply compiles the Scala classes against signing them. Therefore, you still need to compile Java files, although this should not be a problem for javac now that the Scala classes have been compiled.
source share