pulse00 / Twig-Eclipse-Plugin

Eclipse plugin for the twig templating language.
twig.dubture.com
MIT License
107 stars 24 forks source link

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

Closed glhez closed 3 months ago

glhez commented 3 years ago

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:

And when/if those branch are merged:

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

glhez commented 3 years ago

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.

manoj-apare commented 2 years ago

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