Antwrap problems

S

Srinivasa Rao

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Problem with creating FileHandler 0
ANT FTP task Does not work 1
ANN main-4.4.0 0
[ANN] main-4.0.0 (for avdi) 0
[ANN] main-3.0.1 0
[ANN] main-2.5.0 4
[ANN] main-2.0.0 6
[ANN] main-2.8.3 2

Members online

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,662
Latest member
sxarexu

Latest Threads

Top