Skip to content

Making an update to JRE features, locally hosted

Simon Leischnig edited this page Oct 27, 2019 · 11 revisions

This is a quick draft, will be expanded when the p2 site arrives at their "real" hosting site.

Clone

  • best is to clone it next to JCT/core which should be linked from or have the name core. Alternatively, to make version bumping work, export JCT_CORE_HOME=... to your environment.
git clone https://github.com/simlei/org.jcryptool.thirdparty --depth=1
cd org.jcryptool.thirdparty

Scripts

The scripts are pretty self-explanatory. E.g. bin/build-jre-and-p2 is just two mvn -pl <project-list> -am clean package [install] calls. To use a localhost-ed site, you have to change {JCT-core}/o.j.target/o.j.target.target accordingly (look for a "jre" url and change to http://localhost:8080/site . )

bin/build-jre-and-p2          # builds JRE features in /projects and their respective p2 site in /releng

bin/publish-p2local-jre       # hosts the JRE p2 site on locahost:8080/site (alternatively, -Djetty.port={port})

bin/bump/jre-version-allplatforms  # guides you through a version bump for the JRE in o.j.thirdparty and ../core (by default). Only targets specific files, no depth dearch mess. it does 'sed -i {}' however, so use common sense
Clone this wiki locally