From 559e843516e4451b8af6dd2f41321baa3ef12471 Mon Sep 17 00:00:00 2001 From: Dmitry Gusev Date: Wed, 2 Mar 2022 02:40:18 +0000 Subject: [PATCH] Updated installation and build instructions in README --- README.md | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 63c1ef4..87ee384 100644 --- a/README.md +++ b/README.md @@ -192,19 +192,30 @@ This is still work in progress and is subject to change. ### Install +Download plugin update site archive to your local machine +from the releases page. + In Eclipse go to *Help* -> *Install New Software...* -> *Add...* -Use this update site URL: +Click "Archive..." and select downloaded update site. + +### How to build + +1. Download "Eclipse IDE for Enterprise Java and Web Developers" + from Eclipse.org +2. Clone this project and import via *File* -> *Import...* -> *General / Existing Projects into Workspace* +3. Open `update-site/target-platform.target` and click *Set as Active Target Platform* +4. Right click `update-site/site.xml` and select *Plug-in Tools* -> *Build Site* +5. That's it, the `update-site` folder will contain the build and be used for local installation. - https://dl.bintray.com/anjlab/eclipse-tapestry5-plugin + Alternatively, you can run `update-site/package.sh` to create a ZIP file with content of update site. -Or drag & drop this icon into a running Eclipse: +To build a new release with new version: - - - +1. Use Find and Replace in all projects to change all occurrences of current version with new value. +2. Delete `features`, `plugins`, `artifacts.jar`, and `content.jar` files from the `update-site` folder. +3. Repeat steps 4 and 5 from above. -**Note:** Not sure if this is an Eclipse Marketplace bug, but for some reason when you install the plugin using drag & drop you will only see one feature (Basic). If you install using update site then you should see all 3 features available. ### Thanks To