Sha256: 747e1e523fbb6acd2ac946d76f7917574b36958a4edf22f7bf06b512c246579d

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

module Asposetasksjava
  module CreatingTasks
    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')

        task = project.getRootTask().getChildren().add("Summary1")
        subtask = task.getChildren().add("Subtask1")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asposetasksjava-0.0.1 lib/asposetasksjava/Tasks/creatingtasks.rb