buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toulm...@apache.org
Subject svn commit: r959862 - in /buildr/trunk: CHANGELOG lib/buildr/java/rjb.rb
Date Fri, 02 Jul 2010 05:30:55 GMT
Author: toulmean
Date: Fri Jul  2 05:30:54 2010
New Revision: 959862

URL: http://svn.apache.org/viewvc?rev=959862&view=rev
Log:
BUILDR-463 Setting a system property in the buildfile causes a NoClassDefFoundError

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/java/rjb.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=959862&r1=959861&r2=959862&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Fri Jul  2 05:30:54 2010
@@ -5,6 +5,7 @@
 * Fixed:  BUILDR-455 cc_spec.rb l 160 depends on time and thus fails intermittently
 * Fixed:  BUILDR-461 Packages with different ids collide
 * Fixed:  BUILDR-439 "The command line is too long" when running TestNG tests
+* Fixed:  BUILDR-463 Setting a system property in the buildfile causes a NoClassDefFoundError
 
 1.4.0 (2010-06-18)
 * Added:  BUILDR-405 Enhance the idea7x extension to supply a task to delete generated files

Modified: buildr/trunk/lib/buildr/java/rjb.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/java/rjb.rb?rev=959862&r1=959861&r2=959862&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/java/rjb.rb (original)
+++ buildr/trunk/lib/buildr/java/rjb.rb Fri Jul  2 05:30:54 2010
@@ -125,6 +125,7 @@ module Java
 
     def method_missing(sym, *args, &block) #:nodoc:
       raise ArgumentError, 'No arguments expected' unless args.empty?
+      Java.load # need to load RJB's classpath now!
       name = sym.to_s
       return ::Rjb.import(name) if name =~ /^[[:upper:]]/
       __package__ name



Mime
View raw message