From talrep at gmail.com Fri Aug 10 20:19:36 2007 From: talrep at gmail.com (Dmitry Verkhovsky) Date: Fri, 10 Aug 2007 20:19:36 -0400 Subject: [Cruisecontrolrb-developers] cc.rb under JRuby Message-ID: Hi All, I just finished tweaking JRuby to get 100% of cc.rb test passed. Since my patches were accepted and applied, cc.rb should be now working under JRuby starting from trunk revision 4135. Ta-da! However, there is one small patch to be applied to cc.rb itself, see the attachment. It works well on my mac, so far. Haven't tried with any other os yes. Cheers, D. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070810/60145ce8/attachment-0001.html -------------- next part -------------- Index: app/models/build.rb =================================================================== --- app/models/build.rb (revision 523) +++ app/models/build.rb (working copy) @@ -140,7 +140,7 @@ # in_clean_environment__with_local_copy() changes current working directory. Replacing it with RAILS_ROOT doesn't # fail any tests, because in test environment (unlike production) RAILS_ROOT is already absolute. # --nosearch flag here prevents CC.rb from building itself when a project has no Rakefile - %{ruby -e "require 'rubygems' rescue nil; require 'rake'; load '#{ABSOLUTE_RAILS_ROOT}/tasks/cc_build.rake'; ARGV << '--nosearch'#{CruiseControl::Log.verbose? ? " << '--trace'" : ""} << 'cc:build'; Rake.application.run"} + %{#{Config::CONFIG['RUBY_INSTALL_NAME']} -e "require 'rubygems' rescue nil; require 'rake'; load '#{ABSOLUTE_RAILS_ROOT}/tasks/cc_build.rake'; ARGV << '--nosearch'#{CruiseControl::Log.verbose? ? " << '--trace'" : ""} << 'cc:build'; Rake.application.run"} end def in_clean_environment_on_local_copy(&block) Index: test/integration/builder_integration_test.rb =================================================================== --- test/integration/builder_integration_test.rb (revision 523) +++ test/integration/builder_integration_test.rb (working copy) @@ -145,7 +145,7 @@ def test_builder_should_be_transparent_to_RAILS_ENV with_project('project_with_cruise_and_default_tasks') do |project, sandbox| - project.build_command = 'rake cruise RAILS_ENV=foo' + project.build_command = "#{Config::CONFIG['RUBY_INSTALL_NAME']} -S rake cruise RAILS_ENV=foo" build = project.build build_log = File.read("#{build.artifacts_directory}/build.log") From thewoolleyman at gmail.com Wed Aug 22 00:35:43 2007 From: thewoolleyman at gmail.com (Chad Woolley) Date: Tue, 21 Aug 2007 21:35:43 -0700 Subject: [Cruisecontrolrb-developers] cctray? Message-ID: Hi, The docs [1] mention that cctray works, but when I give it a URL for a cc.rb rss feed, it says "there is an error in XML document (1, 2)" It also doesn't seem to work with the firefox plugin. What am I missing? Thanks, -- Chad [1] http://cruisecontrolrb.thoughtworks.com/documentation/docs From joe.poon at gmail.com Wed Aug 22 01:00:19 2007 From: joe.poon at gmail.com (Joe Poon) Date: Tue, 21 Aug 2007 23:00:19 -0600 Subject: [Cruisecontrolrb-developers] cctray? In-Reply-To: References: Message-ID: Hi Chad, Instead of using the rss feed url, point CCTray to the build server instance. For example, to monitor a project on the demo site, specify: http://cruisecontrolrb.thoughtworks.com/XmlStatusReport.aspx - Joe On 8/21/07, Chad Woolley wrote: > > Hi, > > The docs [1] mention that cctray works, but when I give it a URL for a > cc.rb rss feed, it says "there is an error in XML document (1, 2)" > > It also doesn't seem to work with the firefox plugin. What am I missing? > > Thanks, > -- Chad > > [1] http://cruisecontrolrb.thoughtworks.com/documentation/docs > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070821/e51e86c5/attachment.html From thewoolleyman at gmail.com Wed Aug 22 01:06:15 2007 From: thewoolleyman at gmail.com (Chad Woolley) Date: Tue, 21 Aug 2007 22:06:15 -0700 Subject: [Cruisecontrolrb-developers] cctray? In-Reply-To: References: Message-ID: Thanks, that seems to work! On 8/21/07, Joe Poon wrote: > Hi Chad, > > Instead of using the rss feed url, point CCTray to the build server > instance. > > For example, to monitor a project on the demo site, specify: > http://cruisecontrolrb.thoughtworks.com/XmlStatusReport.aspx > > - Joe > > > On 8/21/07, Chad Woolley wrote: > > > > Hi, > > > > The docs [1] mention that cctray works, but when I give it a URL for a > > cc.rb rss feed, it says "there is an error in XML document (1, 2)" > > > > It also doesn't seem to work with the firefox plugin. What am I missing? > > > > Thanks, > > -- Chad > > > > [1] > http://cruisecontrolrb.thoughtworks.com/documentation/docs > > _______________________________________________ > > Cruisecontrolrb-developers mailing list > > Cruisecontrolrb-developers at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > > >