Update: Doesn't seem to be related to RJB after all. I get the same failure with RJB 1.3.7.
I don't get the failure if I run with JRuby -- only with CRuby. On Mon, May 28, 2012 at 5:58 PM, Alex Boisvert <[email protected]>wrote: > I can reproduce the failure ... will look into it. > > > On Mon, May 28, 2012 at 3:30 PM, Peter Donald <[email protected]>wrote: > >> Hi, >> >> I have yet to look into it but it seems like the RJB upgrade has >> caused tests to start to fail (at least o OSX). eg. >> >> peter-donalds-macbook-pro:buildr peter$ bundle exec rspec >> spec/java/pom_spec.rb >> .F >> >> Failures: >> >> 1) Buildr::POM should respect exclusions when computing transitive >> dependencies when the pom includes properties >> Failure/Error: pom.properties.should eql(specs) >> >> expected: {"a.version"=>"1.1", "b.version"=>"1.1", >> "project.groupId"=>"group", "pom.groupId"=>"group", >> "groupId"=>"group", "project.artifactId"=>"app", >> "pom.artifactId"=>"app", "artifactId"=>"app"} >> got: {"a.version"=>"[\"1.1\"]", "b.version"=>"1.1", >> "project.groupId"=>"group", "pom.groupId"=>"group", >> "groupId"=>"group", "project.artifactId"=>"app", >> "pom.artifactId"=>"app", "artifactId"=>"app"} >> >> (compared using eql?) >> >> Diff: >> @@ -1,4 +1,4 @@ >> -"a.version" => "1.1", >> +"a.version" => "[\"1.1\"]", >> "artifactId" => "app", >> "b.version" => "1.1", >> "groupId" => "group", >> # ./spec/java/pom_spec.rb:123:in `block (2 levels) in <top >> (required)>' >> >> Finished in 2.35 seconds >> 2 examples, 1 failure >> >> Failed examples: >> >> rspec ./spec/java/pom_spec.rb:120 # Buildr::POM should respect >> exclusions when computing transitive dependencies when the pom >> includes properties >> >> >> On Tue, May 29, 2012 at 7:15 AM, <[email protected]> wrote: >> > Author: boisvert >> > Date: Mon May 28 21:15:38 2012 >> > New Revision: 1343392 >> > >> > URL: http://svn.apache.org/viewvc?rev=1343392&view=rev >> > Log: >> > Upgrade to jekyll 0.11.2 (fix @substitutions@) >> > Upgrade to RJB 1.4.0 (avoid compile issue on Windows) >> > >> > Modified: >> > buildr/trunk/CHANGELOG >> > buildr/trunk/buildr.gemspec >> > >> > Modified: buildr/trunk/CHANGELOG >> > URL: >> http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=1343392&r1=1343391&r2=1343392&view=diff >> > >> ============================================================================== >> > --- buildr/trunk/CHANGELOG (original) >> > +++ buildr/trunk/CHANGELOG Mon May 28 21:15:38 2012 >> > @@ -65,7 +65,7 @@ >> > * Change: Move to Bundler to manage the project dependencies >> > * Change: BUILDR-548 Remove support for JTestR as it is no longer >> maintained (Antoine Toulme) >> > * Change: BUILDR-614 Buildr development - Using rvm, bundler and OSX >> installs the wrong rjb (Russell Teabeault) >> > -* Change: Upgrade to RJB 1.3.7 >> > +* Change: Upgrade to RJB 1.4.0 >> > * Fixed: ArtifactNamespace fails when using artifacts with classfier. >> > * Fixed: Buildr.artifacts() should handle any object with :to_spec >> method >> > (i.e., any object that ActsAsArtifact) >> > >> > Modified: buildr/trunk/buildr.gemspec >> > URL: >> http://svn.apache.org/viewvc/buildr/trunk/buildr.gemspec?rev=1343392&r1=1343391&r2=1343392&view=diff >> > >> ============================================================================== >> > --- buildr/trunk/buildr.gemspec (original) >> > +++ buildr/trunk/buildr.gemspec Mon May 28 21:15:38 2012 >> > @@ -63,7 +63,7 @@ for those one-off tasks, with a language >> > spec.add_dependency 'json_pure', '1.4.3' >> > spec.add_dependency 'rubyforge', '2.0.3' >> > spec.add_dependency 'hoe', '2.3.3' >> > - spec.add_dependency 'rjb', '1.3.7' if >> ($platform.to_s == 'x86-mswin32' || $platform.to_s == 'ruby') >> > + spec.add_dependency 'rjb', '1.4.0' if >> ($platform.to_s == 'x86-mswin32' || $platform.to_s == 'ruby') >> > spec.add_dependency 'atoulme-Antwrap', '~> 0.7.2' >> > spec.add_dependency 'diff-lcs', '1.1.3' >> > spec.add_dependency 'rspec-expectations', '2.9.0' >> > @@ -76,7 +76,7 @@ for those one-off tasks, with a language >> > >> > # The documentation is currently not generated whe building via jruby >> > unless $platform.to_s == 'java' >> > - spec.add_development_dependency 'jekyll', '0.11.0' >> > + spec.add_development_dependency 'jekyll', '0.11.2' >> > spec.add_development_dependency 'RedCloth', '4.2.9' >> > spec.add_development_dependency 'jekylltask', '1.1.0' >> > spec.add_development_dependency 'rdoc', '3.8' >> > >> > >> >> >> >> -- >> Cheers, >> >> Peter Donald >> > >
