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

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

by Ilya Sergey (JetBrains) :: Rate this Message:

Reply to Author | View in Thread

Seth,

I also used nightly builds to compile our cross-language Java/Scala
project. And I also find several bugs, and as I know, all of them but
one were fixed after my reports.

With best regards,
Ilya

2008/8/19 Seth Tisue <seth@...>:

>
> I posted before about how I have a fairly large (about 150 KLOC)
> codebase that now contains a mixture of interdependent Scala and Java,
> and how I was building it with a complicated Ant setup that invoked
> scalac and javac many times, in alternation.
>
> 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.
>
> I encountered and reported a series of bugs along the way (both
> compile-time problems and run-time problems), but the good news is,
> nearly all of them were fixed promptly by EPFL (thank you all!), and the
> remaining few are minor and easily worked around.  So as of yesterday,
> my app now works when compiled the new way -- all tests pass and the GUI
> seems to work).  Hooray!
>
> What puzzles me is, even though I found quite a few bugs, I seem to be
> almost the only one reporting such bugs.  Is no one else even trying out
> this new mixing support...?  If you've thought about trying it, now
> would be a good time, since
> - it's in much better shape than it was a month ago, in fact, good
>  enough shape to work with a pretty large codebase with many
>  dependencies in both directions between the two languages
> - 2.7.2 is coming soon and if there are any more bugs lurking it would
>  be great to have the bug reports come in before 2.7.2 ships
>
> Check it out,
>
> --
> Seth Tisue / http://tisue.net
> lead developer, NetLogo: http://ccl.northwestern.edu/netlogo/
>
> !DSPAM:52,48aae12e183932051017194!
>
>

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