- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Sbteclipse - skip some source entries in the Eclipse project
Tue, 2012-02-07, 14:47
Hello everyone,
I have a newbie question about sbteclipse: In the project I am working on, there are Scala sources but no Java sources at all. Is there a way to configure sbteclipse not to generate project source entries for Java?
The things I tried, without success:
- setting the javaSources in {Compile. Test} to Nil -- the setting expects a java.io.File, and will only settle for that
- messing with the sbteclipse createSrc setting, which either selects all sources or none
Is there a way to instruct sbteclipse to skip the Java sources in the Eclipse project?
Thanks,
Vlad
I have a newbie question about sbteclipse: In the project I am working on, there are Scala sources but no Java sources at all. Is there a way to configure sbteclipse not to generate project source entries for Java?
The things I tried, without success:
- setting the javaSources in {Compile. Test} to Nil -- the setting expects a java.io.File, and will only settle for that
- messing with the sbteclipse createSrc setting, which either selects all sources or none
Is there a way to instruct sbteclipse to skip the Java sources in the Eclipse project?
Thanks,
Vlad
I received a great answer to my question on the sbt mailing list, so anyone interested in this question (or a quick sbt dependency lesson), please read the thread on the sbt mailing list.
Cheers,
Vlad
On Tue, Feb 7, 2012 at 2:46 PM, Vlad Ureche <vlad.ureche@gmail.com> wrote: