Author: djspiewak
Date: Tue Jun 23 00:05:49 2009
New Revision: 787480
URL: http://svn.apache.org/viewvc?rev=787480&view=rev
Log:
Added rebel.dirs property to JavaRebel invoke
Modified:
buildr/trunk/lib/buildr/scala/shell.rb
Modified: buildr/trunk/lib/buildr/scala/shell.rb
URL:
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/scala/shell.rb?rev=787480&r1=787479&r2=787480&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/scala/shell.rb (original)
+++ buildr/trunk/lib/buildr/scala/shell.rb Tue Jun 23 00:05:49 2009
@@ -30,16 +30,19 @@
}
cmd_args = if rebel_home
+ trace 'Running Scala shell with JavaRebel'
+
+ props['rebel.dirs'] = project.path_to(:target, :classes)
+
[
'-noverify',
"-javaagent:#{rebel_home}"
]
else
+ trace 'Running Scala shell'
[]
end
- trace "Detected JavaRebel #{rebel_home}"
-
Java::Commands.java 'scala.tools.nsc.MainGenericRunner', {
:properties => props,
:classpath => cp,