Changeset 265
- Timestamp:
- 12/11/07 03:20:49 (9 months ago)
- Files:
-
- trunk/README (modified) (3 diffs)
- trunk/script/bdrb_test_helper.rb (added)
- trunk/tasks/backgroundrb_tasks.rake (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/README
r263 r265 38 38 39 39 | :backgroundrb: 40 | :ip: localhost40 | :ip: 0.0.0.0 41 41 | :port: 11006 42 42 | … … 59 59 60 60 | :backgroundrb: 61 | :ip: localhost61 | :ip: 0.0.0.0 62 62 | :port: 11006 63 63 | :schedules: … … 309 309 | :backgroundrb: 310 310 | :port: 11006 311 | :ip: localhost311 | :ip: 0.0.0.0 312 312 | :log: foreground 313 313 trunk/tasks/backgroundrb_tasks.rake
r217 r265 24 24 workers_dest = "#{RAILS_ROOT}/lib/workers" 25 25 unless File.exists?(workers_dest) 26 puts "Creating #{workers_dest}"27 FileUtils.mkdir(workers_dest)26 puts "Creating #{workers_dest}" 27 FileUtils.mkdir(workers_dest) 28 28 end 29 30 test_helper_dest = "#{RAILS_ROOT}/test/bdrb_test_helper.rb" 31 test_helper_src = File.dirname(__FILE__) + "/../script/bdrb_test_helper.rb" 32 unless File.exists?(test_helper_dest) 33 puts "Copying Worker Test helper file #{test_helper_dest}" 34 FileUtils.cp_r(test_helper_src,test_helper_dest) 35 end 36 29 37 end 30 38 … … 38 46 end 39 47 48 test_helper_src = "#{RAILS_ROOT}/test/bdrb_test_helper.rb" 49 if File.exists?(test_helper_src) 50 puts "Removing backgroundrb test helper.." 51 FileUtils.rm(test_helper_src,:force => true) 52 end 53 40 54 workers_dest = "#{RAILS_ROOT}/lib/workers" 41 55 if File.exists?(workers_dest) && Dir.entries("#{workers_dest}").size == 2
