- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Trouble Building the Plug-in
Sun, 2009-09-13, 13:24
Have followed all the instructions from the wiki (including getting a fresh
install of 3.5 with the correct plug-ins).
I've installed the Scala plug-in from 10th September and I'm having trouble
compiling the plug-in. The ant target "prepare" works fine but the
compliation of the plug-in fails in Eclipse.
It is failing to import anything from scala.tools.nsc - so I think it's
failing to pickup the reference to scala/scala-library properly.
Has anyone seen this before?
Sun, 2009-09-13, 18:47
#2
Re: Re: Trouble Building the Plug-in
On Sun, Sep 13, 2009 at 2:56 PM, Colin Howe wrote:
> Finally got everything working.
>
> For reference:
>
> Turn off Eclipse auto-building because it'll make everything slow and nasty
> Refresh scala-library and then build it
> Refresh scala-plugin-aspects and then build it
> Refresh scala-plugin and then build it
This is good advice for a first build ... thanks for posting.
However, I strongly recommend re-enabling auto-building after that first step.
Cheers,
Miles
Finally got everything working.
For reference:
If Eclipse appears to do nothing when you request a build then it has probably done nothing and thinks everything is built happily. Do a clean (just on the project) - and make sure Eclipse doesn't try to build the workspace automatically.
If your scala-library hasn't been built properly then you will have lots of errors in scala-plugin (particularly about failing to import anything from scala.tools.nsc)
If your scala-plugin-aspects hasn't been built properly then you will have only a few errors (<20) in scala-plugin (particularly about failing to import anything from scala.tools.eclipse.contribution)
Hope that helps someone else :-)
View this message in context: Re: Trouble Building the Plug-in
Sent from the Scala - Tools mailing list archive at Nabble.com.