buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boisv...@apache.org
Subject svn commit: r965908 - /buildr/trunk/lib/buildr/java/commands.rb
Date Tue, 20 Jul 2010 16:57:29 GMT
Author: boisvert
Date: Tue Jul 20 16:57:29 2010
New Revision: 965908

URL: http://svn.apache.org/viewvc?rev=965908&view=rev
Log:
BUILDR-482 Javadoc: cannot load class java.com.sun.tools.javadoc.Main

Modified:
    buildr/trunk/lib/buildr/java/commands.rb

Modified: buildr/trunk/lib/buildr/java/commands.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/java/commands.rb?rev=965908&r1=965907&r2=965908&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/java/commands.rb (original)
+++ buildr/trunk/lib/buildr/java/commands.rb Tue Jul 20 16:57:29 2010
@@ -52,6 +52,8 @@ module Java
 
         cmd_args = [path_to_bin('java')]
         classpath = classpath_from(options)
+        tools = Java.tools_jar
+        classpath << tools if tools
         cmd_args << '-classpath' << classpath.join(File::PATH_SEPARATOR) unless
classpath.empty?
         options[:properties].each { |k, v| cmd_args << "-D#{k}=#{v}" } if options[:properties]
         cmd_args += (options[:java_args] || (ENV['JAVA_OPTS'] || ENV['JAVA_OPTIONS']).to_s.split).flatten



Mime
View raw message