title: Netbeans scala plugin problems with ant
body: <p>I have installed NetBeans 7.3.1 on Mac OSX 10.8.4 with scala.</p>
  
  <p>Could not load definitions from resource scala/tools/ant/antlib.xml. It could not be found.
  init:
  deps-jar:
  /Users/.../NetBeansProjects/ScalaApplication2/nbproject/build-impl.xml:405: The following error occurred while executing this line:
  /Users/..../NetBeansProjects/ScalaApplication2/nbproject/build-impl.xml:238: Problem: failed to create task or type scalac
  Cause: The name is undefined.
  Action: Check the spelling.
  Action: Check that any custom tasks/types have been declared.
  Action: Check that any / declarations have taken place.
  BUILD FAILED (total time: 0 seconds)</p>
  
  <p>I have added J-Dscala.home=%SCALA_HOME% to the netbeans.conf file
  and on the mac terminal 
   echo $SCALA_HOME 
  gives
  /usr/local/Cellar/scala/2.10.1/libexec
  where 
  lib directory lives.</p>