Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Import projects from Git repository into the workspace
Import projects from Git repository into the workspace [message #1387026] Mon, 23 June 2014 14:40 Go to next message
Guillaume Coutable is currently offline Guillaume CoutableFriend
Messages: 15
Registered: May 2014
Junior Member

Hi,

Today I wanted to upgrade my Oomph installer and when I try to use my
setup file my projects do not appear in my workspace.

After some checks, the reason is that the item "import into workspace"
(or something like that) is not supported anymore.

I have looked into the Oomph setup file to find an other way to import
my projects into the workspace, but I did not find anything convincing.

So, how can I import my projects into the workspace with Oomhp?

Regards,

Guillaume Coutable, Obeo


Guillaume Coutable - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Import projects from Git repository into the workspace [message #1387028 is a reply to message #1387026] Mon, 23 June 2014 14:51 Go to previous messageGo to next message
Abel Hegedus is currently offline Abel HegedusFriend
Messages: 197
Registered: September 2015
Senior Member
As far as I know, you should use Targlets and add Source locators inside.
You can check the prvided setup models in the setups project under the Setup working set (if you have a Oomph product deployed).
Re: Import projects from Git repository into the workspace [message #1387038 is a reply to message #1387028] Mon, 23 June 2014 16:17 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Abel,

Yes, generally the targlets task is used to import projects as well as
to populate the target platform with the projects' dependencies. There
is also the Projects Import task. I use this in EMF.setup to import a
feature whose dependencies I don't want to have fully resolved as part
of the target platform. (I.e., there is an emf.all feature that
includes the emf.sdk, oda.sdk, and rap.sdk, but I want each of those to
be handled as a separate subproject.)


On 23/06/2014 4:51 PM, Abel Hegedus wrote:
> As far as I know, you should use Targlets and add Source locators inside.
> You can check the prvided setup models in the setups project under the
> Setup working set (if you have a Oomph product deployed).


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Import projects from Git repository into the workspace [message #1387110 is a reply to message #1387038] Tue, 24 June 2014 08:31 Go to previous messageGo to next message
Abel Hegedus is currently offline Abel HegedusFriend
Messages: 197
Registered: September 2015
Senior Member
Yes, I can see that there is a Project Imports in the EMF.setup, but it is not in the Create Child menu, so the editor cannot be used to create such an item in a user model. At least, I could not find it and I imagine that Guillaume found the same issue.

[Updated on: Tue, 24 June 2014 08:33] by Moderator

Report message to a moderator

Re: Import projects from Git repository into the workspace [message #1387116 is a reply to message #1387038] Tue, 24 June 2014 09:07 Go to previous messageGo to next message
Guillaume Coutable is currently offline Guillaume CoutableFriend
Messages: 15
Registered: May 2014
Junior Member

Hi,

my problem is solved.
I have looked to EMF setup file and added the item "Import project".
When I added it, this item was not supported, but during the
installation, Oomph installer asked me to restart eclipse and installed
some plugins related to Oomph and then the item is supported now.

Guillaume Coutable, Obeo


Guillaume Coutable - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Import projects from Git repository into the workspace [message #1387125 is a reply to message #1387116] Tue, 24 June 2014 10:05 Go to previous messageGo to next message
Abel Hegedus is currently offline Abel HegedusFriend
Messages: 197
Registered: September 2015
Senior Member
I can see that for example the Oomph Setup Projects feature is not installed in my Oomph development Eclipse.
Can someone explain exactly how to get Oomph to install it?
Re: Import projects from Git repository into the workspace [message #1387130 is a reply to message #1387125] Tue, 24 June 2014 10:15 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Guys,

Please have a look at the following feature request:

437983: Provide discovery of task packages for model authors
https://bugs.eclipse.org/bugs/show_bug.cgi?id=437983

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Am 24.06.2014 12:05, schrieb Abel Hegedus:
> I can see that for example the Oomph Setup Projects feature is not installed in my Oomph development Eclipse.
> Can someone explain exactly how to get Oomph to install it?


Re: Import projects from Git repository into the workspace [message #1387141 is a reply to message #1387130] Tue, 24 June 2014 11:45 Go to previous messageGo to next message
Abel Hegedus is currently offline Abel HegedusFriend
Messages: 197
Registered: September 2015
Senior Member
Thanks, I installed the additional features from the update site listed on https://wiki.eclipse.org/Eclipse_Oomph_Installer (was http://download.eclipse.org/oomph/updates at the time of this post) and now I can use the additional tasks.
Re: Import projects from Git repository into the workspace [message #1388623 is a reply to message #1387141] Thu, 26 June 2014 18:26 Go to previous messageGo to next message
Julian Enoch is currently offline Julian EnochFriend
Messages: 24
Registered: January 2014
Junior Member
This is may be the simplest way, but you could also add a p2 task to your user.setup for o.e.oomph.setup.projects and run Perform setup tasks. Just a more "Oomph" way of doing the same thing ;)

It has also the advantage of you not having to do it manually for another installation.
Re: Import projects from Git repository into the workspace [message #1389059 is a reply to message #1388623] Fri, 27 June 2014 09:14 Go to previous message
Guillaume Coutable is currently offline Guillaume CoutableFriend
Messages: 15
Registered: May 2014
Junior Member

Le 26/06/2014 20:26, Julian Enoch a écrit :
> This is may be the simplest way, but you could also add a p2 task to
> your user.setup for o.e.oomph.setup.projects and run Perform setup
> tasks. Just a more "Oomph" way of doing the same thing ;)
>
> It has also the advantage of you not having to do it manually for
> another installation.

My problem is now solved.
I don't know how, but when I launched the Oomph installer with my setup
file again, Oomph has downloaded the missing oomph.setup.projects. And
now the setup work well.

I will follow your advice to add a p2 task for oomph.setup.project, to
be sure that work every time.

Thanks for helping,

Guillaume Coutable, Obeo


Guillaume Coutable - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:"File name too long" in oomph.p2/cache
Next Topic:Could not figure out how to create a mylyn query task
Goto Forum:
  


Current Time: Fri Apr 19 06:51:06 GMT 2024

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

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

Back to the top