Now writing for Scala Blogs...

December 23rd, 2008

Yesterday Jorge Ortiz invited me to join the team at scala-blogs.org – obviously I was delighted, and now I will be sharing my adventures in scala both through this blog, and on scala-blogs.

For my first article I’ll be writing about the PayPal integration I created with David Pollak for Lift.

Watch this space boys and girls, and dont forget to check out scala-blogs.org

If your using the scala-maven plugin and need to enable some of the cool extra functionality then check out these pom.xml snippets:

To enable launchers which let you do

mvn scala:run

use an XML snippet like:



<configuration>
  <scalaVersion>${scala.version}</scalaVersion>
  <args>
    <arg>-target:jvm-1.5</arg>
    <arg>-unchecked</arg>
   </args>
   <launchers>
     <launcher>
       <id>main-launcher</id>
       <mainClass>com.myproj.TheMainClass</mainClass>
       <args>
         <arg>/some/intial/argument</arg>
       </args>
     </launcher>
  </launchers>
</configuration>

Also note the “-unchecked” compiler argument… this will then prompt you if you have any deprection warnings and suggest how you could go about fixing them.