lib/development/repositories/jasper_report_repo.rb
# Get the version of jruby_jasper and jasperreports in use.
Get the version of jruby_jasper and jasperreports in use.
Get the version of jruby_jasper and jasperreports in use .
def jasper_version
      DRb.start_service
      remote_object = DRbObject.new_with_uri("druby://#{AppConst::JRUBY_JASPER_HOST_PORT}")
      ver = remote_object.version
      DRb.stop_service
      ver
    rescue DRb::DRbConnError => e
      DRb.stop_service 
      msg = if e.cause
              e.cause.message
            else
              e.message
            end
      raise Crossbeams::FrameworkError, "The Jasper service is not reachable at #{AppConst::JRUBY_JASPER_HOST_PORT} : #{msg}"
    end
def jasper_version DRb . start_service remote_object = DRbObject . new_with_uri ( "druby://#{AppConst::JRUBY_JASPER_HOST_PORT}" ) ver = remote_object . version DRb . stop_service ver rescue DRb :: DRbConnError => e DRb . stop_service msg = if e . cause e . cause . message else e . message end raise Crossbeams :: FrameworkError , "The Jasper service is not reachable at #{AppConst::JRUBY_JASPER_HOST_PORT} : #{msg}" end
Get the version of jruby_jasper and jasperreports in use.
Get the version of jruby_jasper and jasperreports in use .
# as ensure?