Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Orion (Archived) » Orion.Project.Handler Documentation(Need clarification and direction on service usage)
Orion.Project.Handler Documentation [message #1702508] Wed, 22 July 2015 18:51
William Escobar is currently offline William EscobarFriend
Messages: 3
Registered: June 2015
Junior Member

I am trying to write a plugin that will create a new type of project in the orion workspace. This project will be preloaded with files that it is dependent on. I am trying to use the "orion.project.handler" service for this purpose, but I am having trouble implementing this part of the documentation "The function should initialize project in the workspace (including adding project.json to it) and return the project description containing at least ContentLocation"

How do I initialize a project??
How do I add a project.json file??

I have tried using the File and Workspace APIs but I get cross domain errors when trying to send GET and POST requests to

From a REST client I was able to make those request and create the projects and files but I need to be able to do it within the plugin.

If any one can please help me with this it would be much appreciated.
Previous Topic:orion.core.file service plugin disrupting orion
Next Topic:orion.edit.validator example not working
Goto Forum:

Current Time: Mon Feb 26 21:04:44 GMT 2024

Powered by FUDForum. Page generated in 0.01532 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top