Sha256: 32fd18088aaeeda1460b6b151146bdeb36f26b2be04d604bbeec794b141bee89
Contents?: true
Size: 838 Bytes
Versions: 2
Compression:
Stored size: 838 Bytes
Contents
require_relative '../../feature/java/merge_jar' module IronWorkerNG module Code module Runtime module Java include IronWorkerNG::Feature::Common::MergeExec::InstanceMethods include IronWorkerNG::Feature::Java::MergeJar::InstanceMethods def runtime_run_code(local = false) classpath_array = [] @features.each do |f| if f.respond_to?(:code_for_classpath) classpath_array << f.send(:code_for_classpath) end end classpath = classpath_array.join(':') IronCore::Logger.info 'IronWorkerNG', "Collected '#{classpath}' classpath" <<RUN_CODE java -cp #{classpath} #{@exec.arg(:class, 0).nil? ? "-jar #{File.basename(@exec.path)}" : @exec.arg(:class, 0)} "$@" RUN_CODE end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iron_worker_ng-0.10.4 | lib/iron_worker_ng/code/runtime/java.rb |
iron_worker_ng-0.10.3 | lib/iron_worker_ng/code/runtime/java.rb |