make/project.properties

changeset 3
da1e581c933b
child 7
5a1b0714df0e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/make/project.properties	Fri Dec 21 16:36:24 2012 -0400
     1.3 @@ -0,0 +1,223 @@
     1.4 +#
     1.5 +# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 +# 
     1.8 +# This code is free software; you can redistribute it and/or modify it
     1.9 +# under the terms of the GNU General Public License version 2 only, as
    1.10 +# published by the Free Software Foundation.
    1.11 +# 
    1.12 +# This code is distributed in the hope that it will be useful, but WITHOUT
    1.13 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.14 +# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.15 +# version 2 for more details (a copy is included in the LICENSE file that
    1.16 +# accompanied this code).
    1.17 +# 
    1.18 +# You should have received a copy of the GNU General Public License version
    1.19 +# 2 along with this work; if not, write to the Free Software Foundation,
    1.20 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.21 +# 
    1.22 +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.23 +# or visit www.oracle.com if you need additional information or have any
    1.24 +# questions.
    1.25 +#
    1.26 +
    1.27 +application.title=nashorn
    1.28 +
    1.29 +# source and target levels
    1.30 +build.compiler=modern
    1.31 +javac.source=1.7
    1.32 +javac.target=1.7
    1.33 +
    1.34 +# nashorn version information
    1.35 +nashorn.version=0.1
    1.36 +nashorn.fullversion=0.1
    1.37 +nashorn.product.name=Oracle Nashorn
    1.38 +
    1.39 +# This directory is removed when the project is cleaned:
    1.40 +build.dir=build
    1.41 +build.classes.dir=${build.dir}/classes
    1.42 +build.zip=${build.dir}/nashorn.zip
    1.43 +build.gzip=${build.dir}/nashorn.tar.gz
    1.44 +
    1.45 +# nashorn Shell tool
    1.46 +nashorn.shell.tool=jdk.nashorn.tools.Shell
    1.47 +
    1.48 +# nasgen tool
    1.49 +nasgen.tool=jdk.nashorn.internal.tools.nasgen.Main
    1.50 +
    1.51 +# parallel test runner tool
    1.52 +parallel.test.runner=jdk.nashorn.internal.test.framework.ParallelTestRunner
    1.53 +
    1.54 +# test classes directory
    1.55 +build.test.classes.dir=${build.dir}/test/classes
    1.56 +# test results directory
    1.57 +build.test.results.dir=${build.dir}/test/reports
    1.58 +
    1.59 +# This directory is removed when the project is cleaned:
    1.60 +dist.dir=dist
    1.61 +dist.jar=${dist.dir}/nashorn.jar
    1.62 +dist.javadoc.dir=${dist.dir}/javadoc
    1.63 +
    1.64 +# directory where asm project lives
    1.65 +asm.dir=../asm
    1.66 +asm.src.dir=${asm.dir}/src
    1.67 +
    1.68 +# jars refererred
    1.69 +file.reference.testng.jar=test/lib/testng.jar
    1.70 +
    1.71 +# Set testng verbose level
    1.72 +# From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed) 
    1.73 +# Actually, this is a lie: you can specify -1 and this will put TestNG in 
    1.74 +# debug mode (no longer slicing off stack traces and all)."
    1.75 +
    1.76 +testng.verbose=2
    1.77 +
    1.78 +# TestNG listeners - we want to replace TestNG's own JUnit
    1.79 +# reporter, but want everything else provided by default
    1.80 +# Unfortunately, we've to clone the other default reporters here.
    1.81 +
    1.82 +testng.listeners=\
    1.83 + org.testng.reporters.SuiteHTMLReporter, \
    1.84 + org.testng.reporters.jq.Main, \
    1.85 + org.testng.reporters.FailedReporter, \
    1.86 + org.testng.reporters.XMLReporter \
    1.87 + org.testng.reporters.EmailableReporter, \
    1.88 + jdk.nashorn.internal.test.framework.JSJUnitReportReporter
    1.89 +
    1.90 +# Define the version of Dynalink that is used. Version types are either
    1.91 +# 'snapshot' or 'release'. When it is 'snapshot', the version must have
    1.92 +# "-SNAPSHOT" suffix and the jar version will have a timestamp in it. When
    1.93 +# it's 'release', the version has no suffix, and the jar version is 
    1.94 +# identical to version - fun with Maven central.
    1.95 +dynalink.version=0.5-SNAPSHOT
    1.96 +dynalink.version.type=snapshot
    1.97 +dynalink.jar.version=0.5-20121218.140128-11
    1.98 +dynalink.dir.name=dynalink
    1.99 +dynalink.dir=build/${dynalink.dir.name}
   1.100 +dynalink.jar=${dynalink.dir}/dynalink.jar
   1.101 +
   1.102 +javac.debug=true
   1.103 +javac.encoding=ascii
   1.104 +javac.classpath=\
   1.105 +    ${build.classes.dir}:\
   1.106 +    ${dynalink.jar}
   1.107 +javac.test.classpath=\
   1.108 +    ${build.classes.dir}:\
   1.109 +    ${build.test.classes.dir}:\
   1.110 +    ${file.reference.testng.jar}
   1.111 +
   1.112 +meta.inf.dir=${src.dir}/META-INF
   1.113 +
   1.114 +run.classpath=\
   1.115 +    ${build.classes.dir}
   1.116 +
   1.117 +# test scripts to run
   1.118 +test.dir=test
   1.119 +test.script.dir=test/script
   1.120 +test.basic.dir=test/script/basic
   1.121 +test.error.dir=test/script/error
   1.122 +test.sandbox.dir=test/script/sandbox
   1.123 +test.external.dir=test/script/external
   1.124 +test262.dir=${test.external.dir}/test262
   1.125 +test262.suite.dir=${test262.dir}/test/suite
   1.126 +
   1.127 +test-sys-prop.test.dir=${test.dir}
   1.128 +test-sys-prop.test.js.roots=${test.basic.dir} ${test.error.dir} ${test.sandbox.dir}
   1.129 +test-sys-prop.test262.suite.dir=${test262.suite.dir}
   1.130 +test-sys-prop.es5conform.testcases.dir=${test.external.dir}/ES5Conform/TestCases
   1.131 +test-sys-prop.test.basic.dir=${test.basic.dir}
   1.132 +
   1.133 +# framework root for our script tests
   1.134 +test-sys-prop.test.js.framework=${test.script.dir}/assert.js
   1.135 +
   1.136 +# Control the verbosity of ParserTest
   1.137 +test-sys-prop.parsertest.verbose=false
   1.138 +
   1.139 +# turn on/off scripting mode for parser tests
   1.140 +test-sys-prop.parsertest.scripting=true
   1.141 +
   1.142 +# turn on/off test262 scripts for parser tests
   1.143 +test-sys-prop.parsertest.test262=false
   1.144 +
   1.145 +# Control the verbosity of the CompilerTest
   1.146 +test-sys-prop.compilertest.verbose=false
   1.147 +
   1.148 +# turn on/off scripting mode for compiler tests
   1.149 +test-sys-prop.compilertest.scripting=true
   1.150 +
   1.151 +# turn on/off test262 scripts for compiler tests
   1.152 +test-sys-prop.compilertest.test262=false
   1.153 +
   1.154 +# test directory to be excluded.
   1.155 +test-sys-prop.test.js.exclude.dir=${test.script.dir}/currently-failing ${test.external.dir}
   1.156 +
   1.157 +# run everything that's js in here, without checking file headers for test annotations
   1.158 +test-sys-prop.test.js.unchecked.dir=${test262.dir}
   1.159 +
   1.160 +# test root for octane
   1.161 +octane-test-sys-prop.test.js.roots=${test.external.dir}/octane/benchmarks
   1.162 +
   1.163 +# framework root for octane
   1.164 +octane-test-sys-prop.test.js.framework=${test.basic.dir}/run-octane.js
   1.165 +
   1.166 +# list of tests to be excluded
   1.167 +octane-test-sys-prop.test.js.exclude.list=base.js
   1.168 +
   1.169 +# test root for sunspider
   1.170 +sunspider-test-sys-prop.test.js.roots=${test.external.dir}/sunspider/
   1.171 +
   1.172 +# framework root for sunspider
   1.173 +sunspider-test-sys-prop.test.js.framework=${test.basic.dir}/runsunspider.js
   1.174 +
   1.175 +# list of tests to be excluded
   1.176 +sunspider-test-sys-prop.test.js.exclude.list=
   1.177 +
   1.178 +# execute our script tests in shared nashorn context or not?
   1.179 +test-sys-prop.test.js.shared.context=false
   1.180 +
   1.181 +# execute test262 tests in shared nashorn context or not?
   1.182 +test262-test-sys-prop.test.js.shared.context=true
   1.183 +
   1.184 +# test262 test root
   1.185 +test262-test-sys-prop.test.js.roots=${test262.suite.dir}
   1.186 +# test262 enable/disable strict mode tests
   1.187 +test262-test-sys-prop.test.js.enable.strict.mode=true
   1.188 +
   1.189 +# file containing test262 tests to be excluded
   1.190 +# test262-test-sys-prop.test.js.excludes.file=${test262.dir}/test/config/excludelist.xml
   1.191 +
   1.192 +# list of test262 test dirs to be excluded
   1.193 +test262-test-sys-prop.test.js.exclude.dir=\
   1.194 +    ${test262.suite.dir}/intl402/
   1.195 +
   1.196 +# test262 test frameworks
   1.197 +test262-test-sys-prop.test.js.framework=\
   1.198 +    -timezone=PST \
   1.199 +    ${test.script.dir}/test262.js \
   1.200 +    ${test262.dir}/test/harness/framework.js \
   1.201 +    ${test262.dir}/test/harness/sta.js
   1.202 +
   1.203 +run.test.classpath=\
   1.204 +    ${file.reference.testng.jar}:\
   1.205 +    ${build.test.classes.dir}
   1.206 +src.dir=src
   1.207 +test.src.dir=test/src
   1.208 +
   1.209 +#  -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMethods
   1.210 +# add '-Dtest.js.outofprocess' to run each test in a new sub-process
   1.211 +run.test.jvmargs=-server -Xmx3G -XX:-TieredCompilation -esa -ea -Dnashorn.debug=true -Dfile.encoding=UTF-8 
   1.212 +#-XX:+HeapDumpOnOutOfMemoryError -XX:-UseCompressedKlassPointers -XX:+PrintHeapAtGC -XX:ClassMetaspaceSize=300M  
   1.213 +run.test.jvmargs.octane=-Xms2G -Xmx2G ${run.test.jvmargs}
   1.214 +
   1.215 +run.test.jvmsecurityargs=-Xverify:all -Djava.security.manager -Djava.security.policy=${basedir}/build/nashorn.policy
   1.216 +
   1.217 +# path of rhino.jar for benchmarks
   1.218 +rhino.jar=
   1.219 +
   1.220 +v8.shell=d8
   1.221 +
   1.222 +#path to rhino jar file
   1.223 +octaneperf-sys-prop.rhino.jar=${rhino.jar}
   1.224 +
   1.225 +#timeout for performance tests in minutes
   1.226 +octaneperf-sys-prop.timeout.value=10

mercurial