Twig-Eclipse-Plugin icon indicating copy to clipboard operation
Twig-Eclipse-Plugin copied to clipboard

Use gh-pages to store P2 repository + Java 11/Eclipse 2021.06/Tycho 2.3.0

Open glhez opened this issue 3 years ago • 2 comments

Hello,

Since PDT no longer reference Twig Editor Plugin in its P2 update site, and that http://twig.dubture.com/? does not work or sometime point to bintray - which no longer work -, this PR will attempt to fix that:

  1. The Eclipse minimal version become 2021.06
  2. The Java minimal/compile version become Java 11
  3. Maven version become 3.8.1 and Maven Wrapper is used to avoid download it.
  4. Upgrade tycho to 2.3.0 (latest at date)
  5. Two actions / workflow are added: one that build on each pull request, one that manually publish to gh-pages using https://github.com/JamesIves/github-pages-deploy-action

The repository is then consumable at: https://glhez.github.io/eclipse-indexing-framework/

When this branch is merged, the repository should be accessible using https://pulse00.github.io/eclipse-indexing-framework/ but it requires you (the repository owner) to enable GitHub Pages and select gh-pages as branch.

Note: this is a two part pull request. The second being done on the Twig Editor plugin repo.

This is the second part:

  1. It needs to be done after merging of this PR : https://github.com/pulse00/eclipse-indexing-framework/pull/5
  2. Fixing the <indexing.url> to use pulse00 rather than glhez.

For those that want to use this plugin in Oomph - or in Eclipse - you may then add these repositories:

  • https://p2.pdt-extensions.org/
  • https://glhez.github.io/Twig-Eclipse-Plugin/
  • https://glhez.github.io/eclipse-indexing-framework/

And when/if those branch are merged:

  • https://p2.pdt-extensions.org/
  • https://pulse00.github.io/Twig-Eclipse-Plugin/
  • https://pulse00.github.io/eclipse-indexing-framework/

Note that GitHub also provides us "package", but sadly it does not work with P2 Update Site.

glhez avatar Jun 19 '21 18:06 glhez

Do note that the github page stuff is completely unrelated to Java 11/Eclipse 2021.06/Maven stuff. Only the Github Workflow is really required, as well as fixing the URL that point to invalid repo.

glhez avatar Jun 19 '21 18:06 glhez

New to Eclipse. Can someone list out the steps or guide me on how to install the twig plugin using this PR

manoj-apare avatar Nov 26 '21 19:11 manoj-apare