diff --git a/NOTICE.md b/NOTICE.md index 40f7f3859..4dcaf9174 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -250,6 +250,12 @@ progressbar * Homepage: https://github.com/ctongfei/progressbar * More information in folder: doc/3rd-party-licenses/progressbar +saxon-he + + * License: Mozilla Public License 2.0 + * Homepage: https://www.saxonica.com/ + * More information in folder: doc/3rd-party-licenses/saxon-he + selenium-java * License: Apache License 2.0 @@ -298,18 +304,6 @@ websocket-client * Homepage: https://www.eclipse.org/jetty/ * More information in folder: doc/3rd-party-licenses/websocket-client -xalan - - * License: Apache License 2.0 - * Homepage: https://xml.apache.org/xalan-j/ - * More information in folder: doc/3rd-party-licenses/xalan - -xerces - - * License: Apache License 2.0 - * Homepage: http://xerces.apache.org/xerces2-j/ - * More information in folder: doc/3rd-party-licenses/xerces - xstream * License: BSD 3-Clause License diff --git a/bin/update_scorecard.cmd b/bin/update_scorecard.cmd new file mode 100644 index 000000000..ee5456ce5 --- /dev/null +++ b/bin/update_scorecard.cmd @@ -0,0 +1,31 @@ +@echo off +setlocal enabledelayedexpansion + +:: setup basic paths +set CWD=%CD% +cd /d %~dp0\.. +set XLT_HOME=%CD% +cd /d %CWD% + +if not defined XLT_CONFIG_DIR set XLT_CONFIG_DIR=%XLT_HOME%\config + +:: setup Java class path +set CLASSPATH=%XLT_HOME%\target\classes;%XLT_HOME%\lib\* + +:: setup other Java options +set JAVA_OPTIONS= +set JAVA_OPTIONS=%JAVA_OPTIONS% -Xmx4g +set JAVA_OPTIONS=%JAVA_OPTIONS% -XX:+UseStringDeduplication +set JAVA_OPTIONS=%JAVA_OPTIONS% -Dcom.xceptance.xlt.home="%XLT_HOME%" +set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlog4j2.configurationFile="%XLT_CONFIG_DIR%\reportgenerator.properties" +rem set JAVA_OPTIONS=%JAVA_OPTIONS% -agentlib:jdwp=transport=dt_socket,address=localhost:6666,server=y,suspend=n +set JAVA_OPTIONS=%JAVA_OPTIONS% -cp "%CLASSPATH%" + +:: append options to suppress illegal access warnings for Java 9+ +set PACKAGES=java.base/java.lang.reflect java.base/java.text java.base/java.util java.desktop/java.awt.font +for %%p in (%PACKAGES%) do set JAVA_OPTIONS=!JAVA_OPTIONS! --add-opens=%%p=ALL-UNNAMED +set JAVA_OPTIONS=%JAVA_OPTIONS% -XX:+IgnoreUnrecognizedVMOptions +rem set JAVA_OPTIONS=%JAVA_OPTIONS% --illegal-access=debug + +:: run Java +java %JAVA_OPTIONS% com.xceptance.xlt.report.scorecard.UpdateMain %* diff --git a/bin/update_scorecard.sh b/bin/update_scorecard.sh new file mode 100755 index 000000000..3ba2d7976 --- /dev/null +++ b/bin/update_scorecard.sh @@ -0,0 +1,47 @@ +#!/bin/sh + +# setup basic paths +CWD=`pwd` +cd "`dirname "$0"`/.." +XLT_HOME=`pwd` +cd "$CWD" +export XLT_HOME + +if [ -z "$XLT_CONFIG_DIR" ]; then + XLT_CONFIG_DIR=$XLT_HOME/config + export XLT_CONFIG_DIR +fi + +# setup Java class path +CLASSPATH="$XLT_HOME"/target/classes:"$XLT_HOME"/lib/* + +# setup other Java options +JAVA_OPTIONS= +JAVA_OPTIONS="$JAVA_OPTIONS -Xmx4g" +JAVA_OPTIONS="$JAVA_OPTIONS -XX:+UseStringDeduplication" +JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.xceptance.xlt.home=\"$XLT_HOME\"" +JAVA_OPTIONS="$JAVA_OPTIONS -Dlog4j2.configurationFile=\"$XLT_CONFIG_DIR/reportgenerator.properties\"" +JAVA_OPTIONS="$JAVA_OPTIONS -Djava.awt.headless=true" +#JAVA_OPTIONS="$JAVA_OPTIONS -agentlib:jdwp=transport=dt_socket,address=localhost:6666,server=y,suspend=n" +#JAVA_OPTIONS="$JAVA_OPTIONS -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints -XX:FlightRecorderOptions=stackdepth=1024" +#JAVA_OPTIONS="$JAVA_OPTIONS -XX:+UnlockDiagnosticVMOptions -XX:+PrintCompilation -XX:+PrintInlining" +#JAVA_OPTIONS="$JAVA_OPTIONS -XX:MaxInlineSize=128 -XX:FreqInlineSize=1024" + +JAVA_OPTIONS="$JAVA_OPTIONS -cp \"$CLASSPATH\"" + +# append options to suppress illegal access warnings for Java 9+ +PACKAGES="java.base/java.lang.reflect java.base/java.text java.base/java.util java.desktop/java.awt.font" +for p in $PACKAGES; do JAVA_OPTIONS="$JAVA_OPTIONS --add-opens=$p=ALL-UNNAMED"; done +JAVA_OPTIONS="$JAVA_OPTIONS -XX:+IgnoreUnrecognizedVMOptions" +#JAVA_OPTIONS="$JAVA_OPTIONS --illegal-access=debug" + +# run Java +CMD="java $JAVA_OPTIONS com.xceptance.xlt.report.scorecard.UpdateMain" +ARGS="" +I=1 +while [ $I -le $# ]; do + eval x=\${$I} + ARGS="$ARGS \"$x\"" + I=$((I+1)) +done +eval $CMD "$ARGS" diff --git a/config/xsl/common/sections/header.xsl b/config/xsl/common/sections/header.xsl index 62edaf42e..672eb528d 100644 --- a/config/xsl/common/sections/header.xsl +++ b/config/xsl/common/sections/header.xsl @@ -8,11 +8,19 @@ + + + + + + + +