WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit cd906b0e authored by John Zhang's avatar John Zhang
Browse files

modified README and build.xml for environment setup

parent b248aaa1
Pipeline #2063 canceled with stage
......@@ -44,7 +44,8 @@ The suite is built using ant 1.9 (1.10 and later will fail for many of the bench
1. A number of benchmarks including trade and tomcat do not reliably _build_ under Java 6 (all run under Java 6). Therefore you must explicitly use a Java 5 VM at build time (see below).
1. PMD 6.1.0 requires JDK 9 for building; but it can run with JDK 7+
2. JDK 7 is required by Geronimo 3.0.0 to run DayTrader
**IMPORTANT:** before trying to build the suite:
......@@ -53,7 +54,7 @@ The suite is built using ant 1.9 (1.10 and later will fail for many of the bench
2. Copy `default.properties` to `local.properties` and edit it for your environment.
* Specifically, you must set `java14.lib` to point to a Java 1.4 installation and `java14.compile.classpath` to correctly capture the libraries for that installation(otherwise derby will not build correctly)
* Specifically, you must set `jdk9home` to point to a Java 9 installation.
For more information, run `ant -p` in the benchmarks directory.
......@@ -23,8 +23,8 @@ DEPENDENCIES:
- ant1.9 (http://ant.apache.org) # note that builds will fail if ant 1.10 or later are used
- csv (http:/www.nongnu.org/cvs/)
- svn (http://subversion.apache.org)
For convinience, both are included in the tools directory:
For convinience, javacc and maven are included in the tools directory:
......@@ -47,32 +47,16 @@ BUILDING:
export ANT_OPTS="-Dhttp.proxyHost=xxx.xxx.xxx.xxx -Dhttp.proxyPort=3128"
When the Java6 runtime is invoked to build Tomcat, it may have incorrect/broken
cacerts, which stop files from being downloaded by ant. This can be addressed
by pointing to cacerts in your 1.8 JVM:
export ANT_OPTS="-Djavax.net.ssl.trustStore=${JAVA-8-HOME}/jre/lib/security/cacerts"
3. Copy default.properties to local.properties and edit local.properties
for your environment.
4. You may need to modify your local maven settings in order to get the trade benchmarks
to build. In particular, you may need to edit the file:
and change the version numbers near line 2423:
5. Run ant:
4. Run ant:
ant [builds all benchmarks]
ant dist [builds all benchmarks, this is the default]
ant source [builds a source distribution including benchmarks and tools]
ant bm [builds a specific benchmark, bm]
6. A log of each directory is created under this benchmark directory
5. A log of each directory is created under this benchmark directory
for benchmark build status and build success or failure files
to be stored. The directory log directory is normally of the
......@@ -15,10 +15,5 @@ make=/usr/bin/make
# file.
# Building some of the benchmarks requires jdk 1.6 and its librariess.
# If you have any of these JVMs in standard locations, Derby should
# automatically find them and compile successfully. If you have them
# in non-standard locations, Derby needs to be told where to find the
# class files. It should be sufficient to have a 1.6 JVM.
# JDK 9 is required for building PMD 6.1.0, but it can run with JDK 7+
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment