Sha256: 2ad99cd10c2ce87ca7a84dce5320387ccbf52bf61b0c8aa0a64551651b45872e
Contents?: true
Size: 898 Bytes
Versions: 3
Compression:
Stored size: 898 Bytes
Contents
require 'fedux_org/stdlib/logging/logger' begin require 'command_exec' rescue LoadError => e $stderr.puts "You need to install the following gems to make it work: \"command_exec\"." exit 1 end module FeduxOrg module Stdlib module Project module Generators class Taskjuggler def generate_report( directory, plan_file ) FeduxOrg::Stdlib::Project.logger.debug "Start generating report." CommandExec::Command.new( :tj3 , :parameter => "-o #{directory} #{plan_file}" ).run FeduxOrg::Stdlib::Project.logger.info "Generating report succeeded." rescue Exception => e FeduxOrg::Stdlib::Project.logger.fatal "Generating report failed. Maybe you forgot to install \"the taskjuggler\"-gem or it is not available in PATH? The error message was: #{e.message}" end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems