-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Dmitry Gusev edited this page Mar 5, 2022
·
3 revisions
This Wiki is used primarily to host the Eclipse update site for the plugin:
https://raw.githubusercontent.com/wiki/anjlab/eclipse-tapestry5-plugin/update-site
You won't find anything if you click the above link in a browser, but it contains all necessary files for Eclipse to find and install the plugin and its features.
update-site/
|
+- artifacts.jar // These are the index files
+- content.jar // which point to hardcoded latest version
| // these files get replaced every release
+- <version-name-1>
| |
| +- artifacts.jar // Local index files point to this version only
| +- content.jar // you can install specific version by appending release folder to update site URL
| +- plugins/ // e.g. https://raw.githubusercontent.com/wiki/anjlab/eclipse-tapestry5-plugin/update-site/2.13.6
| +- features/
...
+- <version-name-X>
|
+- artifacts.jar
+- content.jar
+- plugins/
+- features/
Prerequisites:
You know How to build
You cloned this Wiki Git repository:
git clone git@github.com:anjlab/eclipse-tapestry5-plugin.wiki.git
- Use Find and Replace in all projects to change all occurrences of the current version with a new value
- Delete
features
,plugins
,artifacts.jar
, andcontent.jar
files from theupdate-site
folder - Right-click
update-site/site.xml
and select Plug-in Tools -> Build Site - Run
./update-site/package.sh
, this should produce 2 files and 1 folder in theupdate-site
folder:artifacts.jar
,content.jar
,<version-name>/
- Move above 2 files and 1 folder with its content to the wiki's
update-site
folder, overwritingartifacts.jar
andcontent.jar
files - Commit and push both source code and the wiki repository