You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by vb...@apache.org on 2009/07/30 01:53:30 UTC

svn commit: r799133 - /buildr/trunk/lib/buildr/core/shell.rb

Author: vborja
Date: Wed Jul 29 23:53:30 2009
New Revision: 799133

URL: http://svn.apache.org/viewvc?rev=799133&view=rev
Log:
Added compile.target to shell classpath. Need specs for shell feature.

Modified:
    buildr/trunk/lib/buildr/core/shell.rb

Modified: buildr/trunk/lib/buildr/core/shell.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/shell.rb?rev=799133&r1=799132&r2=799133&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/shell.rb (original)
+++ buildr/trunk/lib/buildr/core/shell.rb Wed Jul 29 23:53:30 2009
@@ -29,8 +29,8 @@
         end
       end
       
-      def launch        
-        cp = project.compile.dependencies + [Buildr.artifact(BeanShell.artifact)]
+      def launch
+        cp = project.compile.dependencies + [project.path_to(:target, :classes), Buildr.artifact(BeanShell.artifact)]
         Java::Commands.java 'bsh.Console', {
           :properties => rebel_props(project),
           :classpath => cp,