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

Marcus Hirt hirt at openjdk.java.net
Mon Sep 14 12:09:57 UTC 2020


On Sat, 12 Sep 2020 18:46:28 GMT, Schalli1987 <github.com+11866488+Schalli1987 at openjdk.org> wrote:

>> Hi @Schalli1987! Just wanted to check if you need any assistance with bringing this one home.
>
> Sorry it's been a while...
> Finally I added OSTYPE checks (can someone with a MAC confirm that its working?) and some preconditions for java and
> maven. Also a --run option was added that can be called after --packageJmc.
> Since JAVA_HOME is no longer set in JDK 11 and above, I'd use the system executable java instead.

Tried running on Mac:
14:06:23 building p2:site - logging output to
/Users/marcus.hirt/git/myrepos/jmcreviews/Schalli1987/jmc/target/build_20200914140619.1.p2_site.log WARNING: An illegal
reflective access operation has occurred WARNING: Illegal reflective access by
org.codehaus.groovy.reflection.CachedClass
(file:/Users/marcus.hirt/.m2/repository/org/codehaus/groovy/groovy-all/2.4.8/groovy-all-2.4.8.jar) to method
java.lang.Object.finalize() WARNING: Please consider reporting this to the maintainers of
org.codehaus.groovy.reflection.CachedClass WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations WARNING: All illegal access operations will be denied in a future release 14:06:33 run
jetty - logging output to
/Users/marcus.hirt/git/myrepos/jmcreviews/Schalli1987/jmc/target/build_20200914140619.2.jetty.log ps: illegal
option -- - usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
          [-g grp[,grp...]] [-u [uid,uid...]]
          [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
       ps [-L]

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

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


More information about the jmc-dev mailing list