Affects Version/s: 0.9
Fix Version/s: 0.9-rc-1
When generating Eclipse project files for Scala projects, the Scala classpath container is not added to the .classpath config file. The only classpath container that is currently written to the .classpath file is the JRE classpath container (org.eclipse.jdt.launching.JRE_CONTAINER).
I see 2 possible solutions to solve this:
- add an extra property (eg classpathContainers) to the EclipseClasspath task which we can use to configure extra classpath containers. this solution doesn't automatically add the Scala classpath container, the user should configure this in his own build script, when needed.
- the 2nd solution builds upon the first solution and automatically adds the scala classpath container to the Eclipse classpath configuration when the project is a scala project (uses the scala plugin)
i have already implemented the 2nd solution for my own needs. if you want i can provide a patch.
you can also see the following message on the mailing lists for more info: http://old.nabble.com/scala-plugin-%2B-eclipse-plugin-ts28922577.html#a28922577