Sha256: 3d0f52e74e7a8504157d4297808f7432ab523d7f3fee555b76dbd2ebe8bc7a10

Contents?: true

Size: 514 Bytes

Versions: 1

Compression:

Stored size: 514 Bytes

Contents

module Asposetasksjava
  module CreateTaskBaseline
    def initialize()
        data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/'
                
        # Instantiate project object
        project = Rjb::import('com.aspose.tasks.Project').new(data_dir + 'test_tasks.mpp')
		
    	# Set baseline for the entire project
    	project.setBaseline(Rjb::import('com.aspose.tasks.BaselineType').Baseline)

    	puts "Set baseline for the project."
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asposetasksjava-0.0.1 lib/asposetasksjava/TaskBaselines/createtaskbaseline.rb