blob: 0ad2018dbebcc1505cb1dae3c9063095630befc9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="git" nsURI="http://www.eclipse.org/oomph/setup/git/1.0" nsPrefix="git">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="schemaLocation" value="http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore"/>
</eAnnotations>
<eClassifiers xsi:type="ecore:EClass" name="GitCloneTask" eSuperTypes="http://www.eclipse.org/oomph/setup/1.0#//SetupTask">
<eAnnotations source="http://www.eclipse.org/oomph/setup/Enablement">
<details key="variableName" value="setup.git.p2"/>
<details key="repository" value="${oomph.update.url}"/>
<details key="installableUnits" value="org.eclipse.oomph.setup.git.feature.group"/>
</eAnnotations>
<eAnnotations source="http://www.eclipse.org/oomph/setup/Enablement">
<details key="variableName" value="setup.egit.p2"/>
<details key="repository" value="http://download.eclipse.org/egit/updates"/>
<details key="installableUnits" value="org.eclipse.egit.feature.group"/>
</eAnnotations>
<eAnnotations source="http://www.eclipse.org/emf/2002/EcoreXXX">
<details key="constraints" value="IDRequired LocationOptional"/>
</eAnnotations>
<eAnnotations source="http://www.eclipse.org/oomph/setup/ValidTriggers">
<details key="triggers" value="STARTUP MANUAL"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="location" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="">
<eAnnotations source="http://www.eclipse.org/oomph/setup/Variable">
<eAnnotations source="Choice">
<details key="value" value="${installation.location/git/}${@id.remoteURI|uriLastSegment}"/>
<details key="label" value="Located in installation location folder named git/<repo>"/>
</eAnnotations>
<eAnnotations source="Choice">
<details key="value" value="${user.home/git/}${@id.remoteURI|uriLastSegment}-${@id.checkoutBranch}"/>
<details key="label" value="Located in the user home folder named git/<repo>-<branch>"/>
</eAnnotations>
<eAnnotations source="Choice">
<details key="value" value="${user.home/git/}${@id.remoteURI|uriLastSegment}${file.separator}${@id.checkoutBranch}"/>
<details key="label" value="Located in the user home folder named git/<repo>/<branch>"/>
</eAnnotations>
<details key="type" value="STRING"/>
<details key="label" value="Git clone location"/>
<details key="description" value="Git clone location"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="remoteName" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="origin"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="remoteURI" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
<eAnnotations source="http://www.eclipse.org/oomph/setup/RemoteResource"/>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="pushURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="checkoutBranch" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="${scope.project.stream.name}"/>
</eClassifiers>
</ecore:EPackage>
|