RFR: 6889: Provide build script for making it easier to build JMC

Marcus Hirt hirt at openjdk.java.net
Thu Aug 20 13:35:18 UTC 2020


On Sat, 25 Jul 2020 16:17:18 GMT, Schalli1987 <github.com+11866488+Schalli1987 at openjdk.org> wrote:

> Second try, I signed the OCA last week (also I do not have any response).
> 
> This script provides an easy way to package JMC by just calling a single command.

We should ensure that the script works on both Mac and Linux. Check $OSTYPE. If it starts with darwin, then MacOS X.

One thing that I see beginners struggling with is running the built product. Perhaps adding a --run which simply launch
the latest build? And perhaps launch with -vm $JAVA_HOME/bin added?

For Mac:
target/products/org.openjdk.jmc/macosx/cocoa/x86_64/JDK\ Mission\ Control.app/Contents/MacOS/jmc -vm $JAVA_HOME/bin

For Linux:
target/products/org.openjdk.jmc/linux/gtk/x86_64/jmc -vm $JAVA_HOME/bin

-------------

Changes requested by hirt (Lead).

PR: https://git.openjdk.java.net/jmc/pull/100


More information about the jmc-dev mailing list