• Aspose.Tasks Cloud SDK for Java - v1.0.0

Setup Aspose.Tasks Cloud SDK for Java is also available as released artifacts in the [Aspose Maven Repository][3]. You can bypass GitHub source code repository and depend directly on the released artifacts from Aspose Maven Repository by adding the following repository and dependency to development environments like Eclipse or Apache Maven: Aspose Maven Repository

        <name>Aspose Maven Repository</name>
```**Maven Dependency**

//Instantiate Aspose Storage Cloud API SDK StorageApi storageApi = new StorageApi(apiKey, appSID,true);

//Instantiate Aspose Tasks Cloud API SDK TasksApi tasksApi = new TasksApi(apiKey, appSID,true);

//set input file name String name = “sample-project”; String fileName = name + “.mpp”; String format = “pdf”; String storage = “”; String folder = “”;

//upload files to aspose cloud storage storageApi.PutCreate(fileName, “”, storage, new File(this.getClass().getResource("/" + fileName).toURI()));

//invoke Aspose.Tasks Cloud SDK API to convert project document to other formats ResponseMessage apiResponse = tasksApi.GetTaskDocumentWithFormat(fileName, format, storage, folder);

if(apiResponse!=null && apiResponse.getStatus().equals(“OK”)){
//download converted doc from api response
InputStream responseStream = apiResponse.getInputStream(); final Path destination = Paths.get(“c:\temp" + name + “.” + format); Files.copy(responseStream, destination, StandardCopyOption.REPLACE_EXISTING); }

 }catch(Exception e){

*   [Working With Project Documents](http://www.aspose.com/docs/display/taskscloud/Working+with+Project+Documents)
*   [Working With Tasks](http://www.aspose.com/docs/display/taskscloud/Working+with+Tasks)
*   [Working With Task Links](http://www.aspose.com/docs/display/taskscloud/Working+With+Resources)
*   [Working With Resources Working With Assignments](http://www.aspose.com/docs/display/taskscloud/Working+with+Assignments)
*   [Working With Calendars](http://www.aspose.com/docs/display/taskscloud/Working+with+Calendars)
*   [Working With Outline Codes And Extended Attributes](http://www.aspose.com/docs/display/taskscloud/Working+with+Outline+Codes+and+Extended+Attributes)

## Start a Free Trial TodayStart a free trial today – all you need is to [sign up][6] with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.

[1]: http://www.aspose.com/docs/display/taskscloud/Home
[2]: http://www.aspose.com/cloud/project-management-api.aspx
[3]: http://maven.aspose.com/artifactory/simple/ext-release-local/
[4]: http://www.aspose.com/docs/display/taskscloud/Home
[5]: http://www.aspose.com/docs/display/taskscloud/Programmers+Guide
[6]: http://dashboard.aspose.cloud/