Note: This is an exact repost of the same question on the Scala-IDE mailing list, where I got zero reply and gave up waiting after 5 days.
I'm writing a Scala Compiler Plugin. It's currently called scalawrapper (but I might find a better name later). I have the Typesafe Stack installed, and I put my plugin in it under:
C:\Program Files\typesafe-stack\misc\scala-devel\plugins
Now I can call scalac like this:
scalac -classpath ... -Xplugin-require:scalawrapper test\...
and it finds and uses my plugin automatically.
Unfortunately, I just can't get the Scala-IDE to use it. I always get
Missing required plugin: scalawrapper
. In the "Project Properties
\Scala Compiler (Use Project Settings)\Advanced" tab, I have entered
scalawrapper in the Xplugin-require field, and that works, since I get
the error. But nothing I can type in Xpluginsdir seem to have any
effect.
I have tried the absolute path given above, have tried with forward and backward slashes, have tried a temporary directory without spaces in it, have tried relative to project directory, have tried relative to workspace. It just will not use anything. I should also note that is is not specific to my own plugin, as I tried to use the ScalaCL plugin before in a previous version of the Scala-IDE, and failed for the exact same reason.
I have just updated today (15.10.2011) and so should have the latest version (it seems I can finally explicitly set the indentation to 4, but maybe I just overlooked the setting in the past).
Can someone tell me what it actually expects, and what is uses as default when I don't put anything in Xpluginsdir?