Sure - but the problem of introducing Scala is keep it at first as much as possible like Java.
I don't need to be convinced any more. It's the others ! :-) On Wed, Jun 1, 2011 at 10:48, Kevin Wright <[email protected]> wrote: > > is it possible to modify an existing pom.xml file so it can compile and >>> run both Java and Scala code ? >>> >> >> It sure is! >> >> http://scala-tools.org/mvnsites/maven-scala-plugin/example_java.html >> >> > > Interestingly, this is something I've done even on pure Java projects, so > that I can use the REPL for exploratory coding. I also much prefer the > BDD-oriented DSLs available in ScalaTest and Specs over JUnit or TestNG > (again, even when the non-test code is all pure Java). Both frameworks can > also expose their tests via JUnit interfaces, to surefire integration isn't > a problem here. > > It's also possible to manage a Java project with SBT, which still gives you > some of the nice continuous compilation/testing/deployment behaviour, as > well as the REPL. > > -- > Kevin Wright > > gtalk / msn : [email protected] > <[email protected]>mail: [email protected] > vibe / skype: kev.lee.wright > quora: http://www.quora.com/Kevin-Wright > twitter: @thecoda > > "My point today is that, if we wish to count lines of code, we should not > regard them as "lines produced" but as "lines spent": the current > conventional wisdom is so foolish as to book that count on the wrong side of > the ledger" ~ Dijkstra > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
