Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Antwrap problems
Srinivasa Rao
7/30/2008 5:11:00 AM
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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Antwrap problems
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password