project.properties revision 24:f67bf56495ca
1193323Sed# 2193323Sed# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 3193323Sed# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4193323Sed# 5193323Sed# This code is free software; you can redistribute it and/or modify it 6193323Sed# under the terms of the GNU General Public License version 2 only, as 7193323Sed# published by the Free Software Foundation. 8193323Sed# 9193323Sed# This code is distributed in the hope that it will be useful, but WITHOUT 10193323Sed# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11204642Srdivacky# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12193323Sed# version 2 for more details (a copy is included in the LICENSE file that 13193323Sed# accompanied this code). 14193323Sed# 15193323Sed# You should have received a copy of the GNU General Public License version 16193323Sed# 2 along with this work; if not, write to the Free Software Foundation, 17193323Sed# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18193323Sed# 19193323Sed# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20193323Sed# or visit www.oracle.com if you need additional information or have any 21193323Sed# questions. 22193323Sed# 23193323Sed 24193323Sedapplication.title=nashorn 25198090Srdivacky 26198090Srdivacky# location of JDK embedded ASM sources 27221345Sdimjdk.asm.src.dir=../jdk/src/share/classes/jdk/internal 28218893Sdim 29193323Sed# source and target levels 30195340Sedbuild.compiler=modern 31198090Srdivackyjavac.source=1.7 32195340Sedjavac.target=1.7 33194612Sed 34198090Srdivacky# nashorn version information 35193323Sednashorn.version=0.1 36193323Sednashorn.fullversion=0.1 37193323Sednashorn.product.name=Oracle Nashorn 38198090Srdivacky 39193323Sed# This directory is removed when the project is cleaned: 40198090Srdivackybuild.dir=build 41193323Sedbuild.classes.dir=${build.dir}/classes 42193323Sedbuild.zip=${build.dir}/nashorn.zip 43193323Sedbuild.gzip=${build.dir}/nashorn.tar.gz 44198090Srdivacky 45198090Srdivacky# nashorn Shell tool 46198090Srdivackynashorn.shell.tool=jdk.nashorn.tools.Shell 47198090Srdivacky 48212904Sdim# nasgen tool 49212904Sdimnasgen.tool=jdk.nashorn.internal.tools.nasgen.Main 50212904Sdim 51193323Sed# parallel test runner tool 52193323Sedparallel.test.runner=jdk.nashorn.internal.test.framework.ParallelTestRunner 53195098Sed 54195098Sed# test classes directory 55193323Sedbuild.test.classes.dir=${build.dir}/test/classes 56205407Srdivacky# test results directory 57212904Sdimbuild.test.results.dir=${build.dir}/test/reports 58212904Sdim 59205407Srdivacky# This directory is removed when the project is cleaned: 60205407Srdivackydist.dir=dist 61205407Srdivackydist.jar=${dist.dir}/nashorn.jar 62205407Srdivackydist.javadoc.dir=${dist.dir}/javadoc 63198090Srdivacky 64198090Srdivacky# jars refererred 65193323Sedfile.reference.testng.jar=test/lib/testng.jar 66198090Srdivacky 67198090Srdivacky# Set testng verbose level 68204642Srdivacky# From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed) 69198090Srdivacky# Actually, this is a lie: you can specify -1 and this will put TestNG in 70198090Srdivacky# debug mode (no longer slicing off stack traces and all)." 71198090Srdivacky 72193323Sedtestng.verbose=2 73193323Sed 74218893Sdim# TestNG listeners - we want to replace TestNG's own JUnit 75193323Sed# reporter, but want everything else provided by default 76221345Sdim# Unfortunately, we've to clone the other default reporters here. 77221345Sdim 78221345Sdimtestng.listeners=\ 79221345Sdim org.testng.reporters.SuiteHTMLReporter, \ 80221345Sdim org.testng.reporters.jq.Main, \ 81221345Sdim org.testng.reporters.FailedReporter, \ 82221345Sdim org.testng.reporters.XMLReporter \ 83221345Sdim org.testng.reporters.EmailableReporter, \ 84221345Sdim jdk.nashorn.internal.test.framework.JSJUnitReportReporter 85221345Sdim 86221345Sdim# Define the version of Dynalink that is used. Version types are either 87221345Sdim# 'snapshot' or 'release'. When it is 'snapshot', the version must have 88221345Sdim# "-SNAPSHOT" suffix and the jar version will have a timestamp in it. When 89221345Sdim# it's 'release', the version has no suffix, and the jar version is 90221345Sdim# identical to version - fun with Maven central. 91221345Sdimdynalink.version=0.5-SNAPSHOT 92221345Sdimdynalink.version.type=snapshot 93221345Sdimdynalink.jar.version=0.5-20130109.113843-12 94221345Sdimdynalink.dir.name=dynalink 95221345Sdimdynalink.dir=build/${dynalink.dir.name} 96221345Sdimdynalink.jar=${dynalink.dir}/dynalink.jar 97221345Sdim 98221345Sdimjavac.debug=true 99205407Srdivackyjavac.encoding=ascii 100205407Srdivackyjavac.classpath=\ 101193323Sed ${build.classes.dir}:\ 102193323Sed ${dynalink.jar} 103193323Sedjavac.test.classpath=\ 104193323Sed ${build.classes.dir}:\ 105193323Sed ${build.test.classes.dir}:\ 106218893Sdim ${file.reference.testng.jar} 107193323Sed 108193323Sedmeta.inf.dir=${src.dir}/META-INF 109193323Sed 110193323Sedrun.classpath=\ 111193323Sed ${build.classes.dir} 112193323Sed 113193323Sed# test scripts to run 114193323Sedtest.dir=test 115193323Sedtest.script.dir=test/script 116195098Sedtest.basic.dir=test/script/basic 117195098Sedtest.error.dir=test/script/error 118195098Sedtest.sandbox.dir=test/script/sandbox 119195098Sedtest.external.dir=test/script/external 120195098Sedtest262.dir=${test.external.dir}/test262 121193323Sedtest262.suite.dir=${test262.dir}/test/suite 122193323Sed 123193323Sedtest-sys-prop.test.dir=${test.dir} 124218893Sdimtest-sys-prop.test.js.roots=${test.basic.dir} ${test.error.dir} ${test.sandbox.dir} 125193323Sedtest-sys-prop.test262.suite.dir=${test262.suite.dir} 126193323Sedtest-sys-prop.es5conform.testcases.dir=${test.external.dir}/ES5Conform/TestCases 127193323Sedtest-sys-prop.test.basic.dir=${test.basic.dir} 128193323Sed 129193323Sed# framework root for our script tests 130193323Sedtest-sys-prop.test.js.framework=${test.script.dir}/assert.js 131212904Sdim 132212904Sdim# Control the verbosity of ParserTest 133212904Sdimtest-sys-prop.parsertest.verbose=false 134212904Sdim 135212904Sdim# turn on/off scripting mode for parser tests 136212904Sdimtest-sys-prop.parsertest.scripting=true 137212904Sdim 138212904Sdim# turn on/off test262 scripts for parser tests 139212904Sdimtest-sys-prop.parsertest.test262=false 140212904Sdim 141212904Sdim# Control the verbosity of the CompilerTest 142212904Sdimtest-sys-prop.compilertest.verbose=false 143212904Sdim 144212904Sdim# turn on/off scripting mode for compiler tests 145212904Sdimtest-sys-prop.compilertest.scripting=true 146193323Sed 147193323Sed# turn on/off test262 scripts for compiler tests 148193323Sedtest-sys-prop.compilertest.test262=false 149193323Sed 150193323Sed# test directory to be excluded. 151193323Sedtest-sys-prop.test.js.exclude.dir=${test.script.dir}/currently-failing ${test.external.dir} 152193323Sed 153193323Sed# run everything that's js in here, without checking file headers for test annotations 154193323Sedtest-sys-prop.test.js.unchecked.dir=${test262.dir} 155193323Sed 156193323Sed# test root for octane 157194710Sedoctane-test-sys-prop.test.js.roots=${test.external.dir}/octane/ 158193323Sed 159193323Sed# run octane benchmars in separate processes? 160193323Sedoctane-test-sys-prop.separate.process=true 161193323Sed 162193323Sed# framework root for octane 163193323Sedoctane-test-sys-prop.test.js.framework=${test.basic.dir}/run-octane.js 164193323Sed 165193323Sed# list of tests to be excluded 166193323Sed# mandreel excluded due to OOM 167193323Sedoctane-test-sys-prop.test.js.exclude.list=\ 168193323Sed base.js \ 169218893Sdim run.js \ 170218893Sdim mandreel.js 171218893Sdim 172218893Sdim# test root for sunspider 173218893Sdimsunspider-test-sys-prop.test.js.roots=${test.external.dir}/sunspider/tests/sunspider-1.0/ 174218893Sdim 175218893Sdim# framework root for sunspider 176218893Sdimsunspider-test-sys-prop.test.js.framework=${test.basic.dir}/runsunspider.js 177218893Sdim 178218893Sdim# list of tests to be excluded 179218893Sdimsunspider-test-sys-prop.test.js.exclude.list= 180218893Sdim 181218893Sdim# execute our script tests in shared nashorn context or not? 182218893Sdimtest-sys-prop.test.js.shared.context=false 183218893Sdim 184218893Sdim# execute test262 tests in shared nashorn context or not? 185218893Sdimtest262-test-sys-prop.test.js.shared.context=true 186221345Sdim 187221345Sdim# test262 test root 188221345Sdimtest262-test-sys-prop.test.js.roots=${test262.suite.dir} 189221345Sdim# test262 enable/disable strict mode tests 190221345Sdimtest262-test-sys-prop.test.js.enable.strict.mode=true 191221345Sdim 192221345Sdim# file containing test262 tests to be excluded 193221345Sdim# test262-test-sys-prop.test.js.excludes.file=${test262.dir}/test/config/excludelist.xml 194221345Sdim 195221345Sdim# list of test262 test dirs to be excluded 196221345Sdimtest262-test-sys-prop.test.js.exclude.dir=\ 197221345Sdim ${test262.suite.dir}/intl402/ 198221345Sdim 199221345Sdim# test262 test frameworks 200218893Sdimtest262-test-sys-prop.test.js.framework=\ 201193323Sed -timezone=PST \ 202193323Sed ${test.script.dir}/test262.js \ 203193323Sed ${test262.dir}/test/harness/framework.js \ 204193323Sed ${test262.dir}/test/harness/sta.js 205193323Sed 206193323Sedrun.test.classpath=\ 207193323Sed ${file.reference.testng.jar}:\ 208193323Sed ${build.test.classes.dir} 209193323Sedsrc.dir=src 210193323Sedtest.src.dir=test/src 211193323Sed 212202878Srdivacky# -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMethods 213212904Sdim# add '-Dtest.js.outofprocess' to run each test in a new sub-process 214193323Sedrun.test.jvmargs=-server -Xmx3G -XX:-TieredCompilation -esa -ea -Dnashorn.debug=true -Dfile.encoding=UTF-8 215193323Sed#-XX:+HeapDumpOnOutOfMemoryError -XX:-UseCompressedKlassPointers -XX:+PrintHeapAtGC -XX:ClassMetaspaceSize=300M 216193323Sedrun.test.jvmargs.octane=-Xms2G -Xmx2G ${run.test.jvmargs} 217193323Sed 218193323Sedrun.test.jvmsecurityargs=-Xverify:all -Djava.security.manager -Djava.security.policy=${basedir}/build/nashorn.policy 219193323Sed 220193323Sed# path of rhino.jar for benchmarks 221193323Sedrhino.jar= 222193323Sed 223204642Srdivackyv8.shell=d8 224193323Sed 225193323Sed#path to rhino jar file 226193323Sedoctaneperf-sys-prop.rhino.jar=${rhino.jar} 227202878Srdivacky 228202878Srdivacky#timeout for performance tests in minutes 229202878Srdivackyoctaneperf-sys-prop.timeout.value=10 230202878Srdivacky