scala-ide/scala-ide — comment on commit bf6de571469dcc92385c0f140ece0b2722cde42f
File:  line 0
By misto:

Good question; I think I'm quite confused today. I focused on `toolcp` because that's what I needed to set when running the plug-in from the command line.

Ok, let's start over. The compiler loads the plug-ins like this:

val compilerLoader = classOf[Plugin].getClassLoader
val jarurls = jarfiles map (_.toURL)
new URLClassLoader(jarurls.toArray, compilerLoader)

So my problem is that this classloader does not know about the scala-refactoring.jar. I suppose (need to check tomorrow, don't have the code here right now) that's because the compiler plug-in really doesn't know about scala-refactoring. Anyway, I'll check tomorrow.. thanks guys!