Skip to content

Commit

Permalink
introduce update site location markers in xml, inf files
Browse files Browse the repository at this point in the history
  • Loading branch information
simlei committed Dec 6, 2021
1 parent f610d3b commit d6572f3
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 8 deletions.
14 changes: 14 additions & 0 deletions notes_updatesitelocations.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
org.jcryptool.product/jcryptool.p2.inf|7| org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:https${#58}//www.cryptool.org/jct/update,name:JCrypTool);\

org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:https${#58}//www.cryptool.org/jct/update,name:JCrypTool);\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:https${#58}//www.cryptool.org/jct/update,name:JCrypTool);
-> replace encoded (${#<charnum>}) in "addRepository(type:\d*,location:<location>,name:<name>)"
? what does type mean?

in feature.xmls:
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/> <!-- url_update:plugins --> <!-- do not remove comment -->
-> replace url attribute


TODO: ssh transport to update site does not work yet; "repository" inside

2 changes: 1 addition & 1 deletion org.jcryptool.core.dependencies.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ litigation.
</license>

<url>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/> <!-- url_update:plugins --> <!-- do not remove comment -->
</url>

<includes
Expand Down
2 changes: 1 addition & 1 deletion org.jcryptool.core.dependencies.nl_de.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ litigation.
</license>

<url>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/> <!-- url_update:plugins --> <!-- do not remove comment -->
</url>

<requires>
Expand Down
2 changes: 1 addition & 1 deletion org.jcryptool.core.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ litigation.
</license>

<url>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/> <!-- url_update:plugins --> <!-- do not remove comment -->
</url>

<plugin
Expand Down
2 changes: 1 addition & 1 deletion org.jcryptool.crypto.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ litigation.
</license>

<url>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/> <!-- url_update:plugins --> <!-- do not remove comment -->
</url>

<plugin
Expand Down
2 changes: 1 addition & 1 deletion org.jcryptool.crypto.flexiprovider.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ litigation.
</license>

<url>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/> <!-- url_update:plugins --> <!-- do not remove comment -->
</url>

<plugin
Expand Down
2 changes: 1 addition & 1 deletion org.jcryptool.editors.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ litigation.
</license>

<url>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/> <!-- url_update:plugins --> <!-- do not remove comment -->
</url>

<plugin
Expand Down
1 change: 1 addition & 0 deletions org.jcryptool.product/jcryptool.p2.inf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ instructions.configure=\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:https${#58}//www.cryptool.org/jct/update,name:JCrypTool);\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:https${#58}//www.cryptool.org/jct/update,name:JCrypTool);


instructions.install=mkdir(path:${installFolder}/dropins);

requires.0.namespace=org.eclipse.equinox.p2.iu
Expand Down
2 changes: 1 addition & 1 deletion org.jcryptool.providers.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ litigation.
</license>

<url>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/> <!-- url_update:plugins --> <!-- do not remove comment -->
</url>

<plugin
Expand Down
2 changes: 1 addition & 1 deletion org.jcryptool.views.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ litigation.
</license>

<url>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/>
<update label="JCrypTool.org" url="https://www.cryptool.org/jct/update"/> <!-- url_update:plugins --> <!-- do not remove comment -->
</url>

<plugin
Expand Down

0 comments on commit d6572f3

Please sign in to comment.