From: Srinivasa Rao Date: 2008-07-30T14:11:20+09:00 Subject: Antwrap problems Hi All, My Requirement: I need to execute ant tasks,then get the status whether task is executed success or failure. Exactly requirement get status of executed tasks send status in to the database. For that installed rjb and antwrap,Started working on antwrap. My code is below. ----------------- options = {:ant_home=>"D://apache-ant-1.7.1", :name=>'BotServer', :basedir=>"C://InstantRails-1.3a-with-PHP-5.1.4//InstantRails//rails_apps", :declarative=> true, :logger=> Logger.new(STDOUT), :loglevel=> Logger::DEBUG} puts "options------------------------------1" antProject = AntProject.new(options) antTask = AntTask.new('ws-run -DD=PRnnn', antProject, {:debug => 'on', :verbose => 'no', :fork => 'no'}) puts "before task------------------------------" antTask.execute() While executing code Error states in this this below manner ----------------------------------------------------------- exception uninitialized constant TestRunsController::AntProject @blamed_files Empty Array md nil msg nil origin_file nil origin_line nil Here TestRunsController is my controller. Could you please help me in this regard -- Posted via http://www.ruby-forum.com/.