Aspose.Tasks Java For Ruby
Rjb - Ruby Java Bridge
RJB is a bridge program that connect between Ruby and Java with Java Native Interface. Rake + Rjb is the more powerful and useful build tool than both Maven and Ant. You can test your Java business logic class itself with Rjb’s mock. It helps to migrate Struts’s Model Object into your RoR application. But beware to buildSwing application, Ruby (and Rjb) doesn’t consider JVM’s native threads handling.
Aspose.Tasks for Java
Aspose.Tasks for Java is a project management API that enables Java application developers to provide Microsoft Project® document manipulation capability in their applications – all without using Microsoft Project®. With this powerful API, developers can control various stages of project management, such as project planning, definition and tracking.
Aspose.Tasks Java for Ruby
Project Aspose.Tasks Java for Ruby shows how different tasks can be performed using Aspose.Tasks Java APIs in Ruby. This project is aimed to provide useful examples for Ruby developers who want to utilize Aspose.Tasks for Java in their Ruby Projects using Rjb (Ruby Java Bridge).
System Requirements and Supported Platforms
Following are the system requirements to use Aspose.Tasks Java for Ruby:
- Rjb Gem is configured
- Downloaded Aspose.Tasks component
Following are the supported platforms:
- Ruby 2.2.x or above and respective DevKit.
- Java 1.5 or above
Download Required Libraries
Download required libraries mentioned below. These are the required for executing Aspose.Tasks Java for Ruby examples.
Download Examples from Social Coding Sites
Following releases of running examples are available to download on below mentioned social coding sites:
Installation And Usage
It is very simple and easy to install Aspose.Tasks Java for Ruby gem, please follow these simple steps:
- Run following command.
$ gem install aspose-tasksjava
- Download required Aspose.Tasks for Java Component from following link. http://www.aspose.com/community/files/72/java-components/aspose.tasks-for-java/default.aspx
- Create “jars” folder at root of the Aspose.Tasks Java for Ruby gem and copy downloaded component into it.
Include the required files to get project version.
require File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/aspose-tasksjava' include Asposetasksjava include Asposetasksjava::ProjectVersion initialize_aspose_tasks
Let’s understand the above code.
- The first line makes sure that the Aspose.Tasks is loaded and available.
- Include the files that are required to access the Aspose.Tasks.
- Initialize the libraries. The aspose JAVA classes are loaded from the path provided in the aspose.yml file
Support, Extend and Contribute
From the very first days of Aspose, we knew that just giving our customers good products would not be enough. We also needed to deliver good service. We are developers ourselves and understand how frustrating it is when a technical issue or a quirk in the software stops you from doing what you need to do. We’re here to solve problems, not create them.
This is why we offer free support. Anyone who uses our product, whether they have bought them or are using an evaluation, deserves our full attention and respect.
You can log any issues or suggestions related to Aspose.Tasks Java for Ruby using any of the following platforms:
Extend and Contribute
Aspose.Tasks Java for Ruby is open source and its source code is available on the major social coding websites listed below. Developers are encouraged to download the source code and contribute by suggesting or adding new feature or improving the existing ones, so that others could also benefit from it.
You can get the latest source code from one of the following locations:
Sample Code Examples
This section includes the following topics:
- Download and Configure Aspose.Tasks in Ruby
- Ruby Programmers Guide
- Working with Projects in Ruby
- Creating an Empty Project File in Ruby
- Currency Properties in Ruby
- Default Project Properties in Ruby
- Determining Project Version in Ruby
- Fiscal Year Properties in Ruby
- General Project Properties in Ruby
- Get Number of Pages in Project in Ruby
- Microsoft Project MPP File Update in Ruby
- Reading Group Definition Data in Ruby
- Reading Table Data from MPP files in Ruby
- Saving a Project as PDF in Ruby
- Saving Project Data to CSV and Text Formats in Ruby
- Saving Project Data to Excel Format in Ruby
- Setting Attributes for New Tasks in Ruby
- Verifying Project Structure in Ruby
- Weekday Properties in Ruby
- Working with Filter Data from MPP files in Ruby
- Working with Calendars in Ruby
- Working with Calendar Exceptions in Ruby
- Working with Tasks in Ruby
- Actual Properties in Ruby
- Calculate Task Duration in Different Units in Ruby
- Change Progress of a Task in Ruby
- General Properties in Ruby
- Handling Critical and Effort-driven Tasks in Ruby
- Handling Priorities in Ruby
- Managing Durations in Ruby
- Managing Task Costs in Ruby
- Outline Properties in Ruby
- Parent and Child Tasks in Ruby
- Percentage Complete Calculations in Ruby
- Read a Task’s Timephased Data in Ruby
- Rendering Task Sheet View in Ruby
- Rendering Task Usage View in Ruby
- Retrieve a Task’s Budget Work and Cost Values in Ruby
- Split Tasks in Ruby
- Stop and Resume a Task in Ruby
- WBS Associated with a Task in Ruby
- Working with Task Links in Ruby
- Working with Task Baselines in Ruby
- Working with Resources in Ruby
- Working with Resource Assignments in Ruby
- Working with Currencies in Ruby
- Working with Projects in Ruby
- Support, Extend and Contribute to Aspose.Tasks in Ruby