Getting started with Oomph [message #1767866] |
Tue, 11 July 2017 13:37  |
Eclipse User |
|
|
|
I currently use a p2f file to install required features and a psf file to clone repos and import projects. I am investigating if I can switch to an oomph setup and have a couple of questions. I tried to find answers in the existing docs but was not successful.
1. Does it matter where the setup file is stored? The overall project is in 5 git repos that all need to be cloned and projects need to be imported from them.
2. I was able to use a task to clone a git repo. How do I import the projects? There seems to be a project import task but elsewhere I found the recommendation to use a target task (by the way, what IS a targlet?)
3. Assume someone has already installed eclipse from a zip file. How can a setup be added to this existing installation?
4. Assume I add a new plugin project or a new git repo to my project. I assume that I need to update the setup accordingly, but what happens now? How is this change propagated to other developers such that the new project shows up in their workspaces?
5. What is the best way to find out which tasks are available and what they actually do? I'm trying to avoid reading the source code.
Thanks.
|
|
|
|
|
Re: Getting started with Oomph [message #1768425 is a reply to message #1768416] |
Tue, 18 July 2017 10:05  |
Eclipse User |
|
|
|
Sorry, I misdirected with mention of a Redirection task... You could have such a task as this:<?xml version="1.0" encoding="UTF-8"?>
<setup:EclipseIniTask
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
option="-Doomph.redirection.emf.setup"
value="=http://git.eclipse.org/c/emf/org.eclipse.emf.git/plain/releng/org.eclipse.emf.releng/EMF.setup->${emf.git.clone.location|uri}/releng/org.eclipse.emf.releng/EMF.setup"
vm="true"/>
and yes, when this is processed, the code checks that are resource at target URI actually exists. So in this case, when the clone doesn't exist yet, the remote version is used. Once the clone task creates the clone, subsequent performs will use the version in the clone itself.
|
|
|
Powered by
FUDForum. Page generated in 0.25828 seconds