This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings-site.git
The following commit(s) were added to refs/heads/master by this push: new ac19857f OPENMEETINGS-2748 Sync website changes to reflect updated JDK17 build instructions. ac19857f is described below commit ac19857f03ef357203d0093efc05e6c7d85f26b8 Author: Sebastian Wagner <sebawag...@apache.org> AuthorDate: Sun Jul 31 10:53:04 2022 +1200 OPENMEETINGS-2748 Sync website changes to reflect updated JDK17 build instructions. --- BuildInstructions.html | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/BuildInstructions.html b/BuildInstructions.html index b617070b..801fd249 100644 --- a/BuildInstructions.html +++ b/BuildInstructions.html @@ -3,7 +3,7 @@ <!doctype html> <!-- - Generated by Apache Maven Doxia at 2022-05-18 Rendered using Reflow Maven Skin 2.3.0 (http://devacfr.github.io/reflow-maven-skin) + Generated by Apache Maven Doxia at 2022-07-31 Rendered using Reflow Maven Skin 2.3.0 (http://devacfr.github.io/reflow-maven-skin) --> <html xml:lang="en" lang="en"> <head> @@ -216,7 +216,7 @@ <main class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-8" role="main"> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> - <li class="publishDate version-date"> Last Published: 2022-05-18</li> + <li class="publishDate version-date"> Last Published: 2022-07-31</li> </ol> </nav> <section> @@ -230,8 +230,8 @@ <div> <p>To build a binary release of OpenMeetings you need: </p> <ul> - <li>Oracle JDK11</li> - <li>Apache Maven (minimum) 3.5.0</li> + <li>Oracle JDK17</li> + <li>Apache Maven (minimum) 3.6.0</li> <li>Git</li> </ul> </div> @@ -276,10 +276,25 @@ <h2 id="tips-and-gotchas">Tips and Gotchas</h2> <p>Eclipse ANSI colors plugin for colors in console</p> <div class="source"> - <pre>MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n' mvn clean -P allModules,quick,mysql jetty:run-exploded + <pre>MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n' mvn clean -P allModules,quick,mysql jetty:run-exploded -Dwicket.configuration=DEVELOPMENT -Dwicket.ioc.useByteBuddy=true #Quick rebuild and run -cd ..; mvn clean install -PallModules,quick,mysql -pl openmeetings-util,openmeetings-core; cd openmeetings-web; MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n' mvn clean -P allModules,quick,mysql jetty:run-exploded +cd ..; mvn clean install -PallModules,quick,mysql -pl openmeetings-util,openmeetings-core; cd openmeetings-web; MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n' mvn clean -P allModules,quick,mysql jetty:run-exploded -Dwicket.configuration=DEVELOPMENT -Dwicket.ioc.useByteBuddy=true + + </pre> + </div> + <p>Run OpenMeetings with Embedded Jetty for Development purpose in JDK17</p> + <div class="source"> + <pre># ANSI console colors and fix Hazelcast warnings for access +export MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n --add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED' + +# Just run Webapp, requires other modules to be compiled separated if changed +cd openmeetings-webapp +mvn install -P allModules,quick,mysql jetty:run-exploded -Dwicket.configuration=DEVELOPMENT -Dwicket.ioc.useByteBuddy=true + +# OpenMeetings logs for embedded jetty are in +cd openmeetings-webapp +tail -f -n 1000 target/openmeetings.log </pre> </div> @@ -310,7 +325,7 @@ cd ..; mvn clean install -PallModules,quick,mysql -pl openmeetings-util,openmeet <pre>cd openmeetings-web # Run NPM install on each of the packages (only required once unless you change dependency): mvn frontend:npm@main-install frontend:npm@chat-install frontend:npm@settings-install frontend:npm@room-install frontend:npm@wb-install -# Run NPM +# Run NPM mvn frontend:npm@main frontend:npm@chat frontend:npm@settings frontend:npm@room frontend:npm@wb # Minify CSS mvn minify:minify@theme-minify minify:minify@nettest-js