« Return to Thread: [scala] Mixing Scala and Java in the same project

Re: [scala] Mixing Scala and Java in the same project

by Miles Sabin :: Rate this Message:

Reply to Author | View in Thread

On Tue, Aug 19, 2008 at 3:57 PM, Seth Tisue <seth@...> wrote:
> Since the new Scala/Java mixing support was announced, I've been trying
> to get it to work with my project.  You pass all of your source (both
> Java and Scala) to scalac, then you run javac with just your Java
> sources.  Or, if you're using Eclipse, you include both the Scala
> builder and the Java builder in your project.

Careful here, if you're using the very latest nightly build (or the
soon-to-be-released 2.7.2) then please *don't* included the Java
builder in your .project file. See my posting in this thread,

  http://www.nabble.com/eclipse-plug-in-nightly-build-no-class-files-td19046123.html

Cheers,


Miles

 « Return to Thread: [scala] Mixing Scala and Java in the same project