Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Commit a2f953f

Browse files
committed
Changed the publication location and the update site in the model.
1 parent d8feae5 commit a2f953f

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="download" nsURI="http://www.example.org/task-download/1.0" nsPrefix="com.github.maybeec.oomph.task">
4+
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
5+
<details key="schemaLocation" value="https://raw.githubusercontent.com/maybeec/oomph-task-download/master/task-download-updatesite/model/Oomph-task-download.ecore"/>
6+
</eAnnotations>
7+
<eClassifiers xsi:type="ecore:EClass" name="downloadTask" eSuperTypes="http://www.eclipse.org/oomph/setup/1.0#//SetupTask">
8+
<eAnnotations source="http://www.eclipse.org/oomph/setup/Enablement">
9+
<details key="variableName" value="p2.download"/>
10+
<details key="repository" value="https://maybeec.github.io/oomph-task-download/update"/>
11+
<details key="installableUnits" value="task-download.feature.group"/>
12+
</eAnnotations>
13+
<eAnnotations source="http://www.eclipse.org/oomph/setup/ValidTriggers">
14+
<details key="triggers" value="BOOTSTRAP STARTUP MANUAL"/>
15+
</eAnnotations>
16+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceLocation" lowerBound="1"
17+
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
18+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isURL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
19+
defaultValueLiteral="false"/>
20+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="connectionTimeout" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
21+
defaultValueLiteral="1000"/>
22+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="readTimeout" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
23+
defaultValueLiteral="1500"/>
24+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="destinationPath" lowerBound="1"
25+
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral=""/>
26+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="destinationFile" lowerBound="1"
27+
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
28+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="priority" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
29+
defaultValueLiteral="500"/>
30+
<eStructuralFeatures xsi:type="ecore:EAttribute" name="estimatedSize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
31+
defaultValueLiteral="-1"/>
32+
</eClassifiers>
33+
</ecore:EPackage>

task-download/model/download.ecore

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="download" nsURI="http://www.example.org/task-download/1.0" nsPrefix="com.github.maybeec.oomph.task">
44
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
5-
<details key="schemaLocation" value="https://raw.githubusercontent.com/maybeec/oomph-task-download/master/task-download-updatesite/model/Task-download-1.0.ecore"/>
5+
<details key="schemaLocation" value="https://raw.githubusercontent.com/maybeec/oomph-task-download/master/task-download-updatesite/model/Oomph-task-download.ecore"/>
66
</eAnnotations>
77
<eClassifiers xsi:type="ecore:EClass" name="downloadTask" eSuperTypes="platform:/plugin/org.eclipse.oomph.setup/model/Setup.ecore#//SetupTask">
88
<eAnnotations source="http://www.eclipse.org/oomph/setup/Enablement">
99
<details key="variableName" value="p2.download"/>
10-
<details key="repository" value="http://download.example.org/task-download/updates"/>
10+
<details key="repository" value="https://maybeec.github.io/oomph-task-download/update"/>
1111
<details key="installableUnits" value="task-download.feature.group"/>
1212
</eAnnotations>
1313
<eAnnotations source="http://www.eclipse.org/oomph/setup/ValidTriggers">

task-download/model/download.genmodel

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
extensibleProviderFactory="true"
2525
childCreationExtenders="true"
2626
fileExtensions="setup"
27-
publicationLocation="/task-download-updatesite/model/Task-download-1.0.ecore"
27+
publicationLocation="/oomph-task-download/task-download-updatesite/model/Oomph-task-download.ecore"
2828
ecorePackage="download.ecore#/">
2929
<genClasses ecoreClass="download.ecore#//downloadTask">
3030
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute download.ecore#//downloadTask/resourceLocation"/>

0 commit comments

Comments
 (0)