make/project.properties

Thu, 24 May 2018 16:39:31 +0800

author
aoqi
date
Thu, 24 May 2018 16:39:31 +0800
changeset 1959
61ffdd1b89f2
parent 1742
fe6ef89d9c04
parent 1490
d85f981c8cf8
permissions
-rw-r--r--

Merge

aoqi@0 1 #
mhaupt@1391 2 # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
aoqi@0 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
aoqi@0 4 #
aoqi@0 5 # This code is free software; you can redistribute it and/or modify it
aoqi@0 6 # under the terms of the GNU General Public License version 2 only, as
aoqi@0 7 # published by the Free Software Foundation.
aoqi@0 8 #
aoqi@0 9 # This code is distributed in the hope that it will be useful, but WITHOUT
aoqi@0 10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
aoqi@0 11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
aoqi@0 12 # version 2 for more details (a copy is included in the LICENSE file that
aoqi@0 13 # accompanied this code).
aoqi@0 14 #
aoqi@0 15 # You should have received a copy of the GNU General Public License version
aoqi@0 16 # 2 along with this work; if not, write to the Free Software Foundation,
aoqi@0 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
aoqi@0 18 #
aoqi@0 19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
aoqi@0 20 # or visit www.oracle.com if you need additional information or have any
aoqi@0 21 # questions.
aoqi@0 22 #
aoqi@0 23
aoqi@0 24 application.title=nashorn
aoqi@0 25
aoqi@0 26 # location of JDK embedded ASM sources
aoqi@0 27 jdk.asm.src.dir=../jdk/src/share/classes/jdk/internal/org/objectweb/asm
aoqi@0 28
aoqi@0 29 # source and target levels
aoqi@0 30 build.compiler=modern
aoqi@0 31 javac.source=1.7
aoqi@0 32 javac.target=1.7
sundar@1550 33 test.javac.source=1.8
sundar@1550 34 test.javac.target=1.8
mhaupt@1391 35
sundar@1742 36 javadoc.option=-tag "implSpec:a:Implementation Requirements:"
aoqi@0 37
aoqi@0 38 # nashorn version information
aoqi@0 39 nashorn.version=0.1
aoqi@0 40 nashorn.fullversion=0.1
aoqi@0 41 nashorn.product.name=Oracle Nashorn
aoqi@0 42
aoqi@0 43 # This directory is removed when the project is cleaned:
aoqi@0 44 build.dir=build
aoqi@0 45 build.classes.dir=${build.dir}/classes
aoqi@0 46 build.zip=${build.dir}/nashorn.zip
aoqi@0 47 build.gzip=${build.dir}/nashorn.tar.gz
aoqi@0 48
aoqi@0 49 # nashorn Shell tool
aoqi@0 50 nashorn.shell.tool=jdk.nashorn.tools.Shell
aoqi@0 51
aoqi@0 52 # nasgen tool
aoqi@0 53 nasgen.tool=jdk.nashorn.internal.tools.nasgen.Main
aoqi@0 54
aoqi@0 55 # parallel test runner tool
aoqi@0 56 parallel.test.runner=jdk.nashorn.internal.test.framework.ParallelTestRunner
aoqi@0 57
aoqi@0 58 # test classes directory
aoqi@0 59 build.test.classes.dir=${build.dir}/test/classes
attila@963 60
aoqi@0 61 # nashorn test jar - internal tests jar and api tests jar
aoqi@0 62 nashorn.internal.tests.jar=${build.dir}/nashorn-internal-tests.jar
aoqi@0 63 nashorn.api.tests.jar=${build.dir}/nashorn-api-tests.jar
aoqi@0 64
aoqi@0 65 # test results directory
aoqi@0 66 build.test.results.dir=${build.dir}/test/reports
aoqi@0 67 build.nosecurity.test.results.dir=${build.dir}/test/nosecurity/reports
attila@963 68 build.nooptimistic.test.results.dir=${build.dir}/test/nooptimistic/reports
aoqi@0 69
aoqi@0 70 # This directory is removed when the project is cleaned:
aoqi@0 71 dist.dir=dist
aoqi@0 72 dist.jar=${dist.dir}/nashorn.jar
aoqi@0 73 dist.javadoc.dir=${dist.dir}/javadoc
aoqi@0 74
aoqi@0 75 # nashorn javafx shell
aoqi@0 76 fxshell.tool = jdk.nashorn.tools.FXShell
aoqi@0 77 fxshell.classes.dir = ${build.dir}/fxshell/classes
aoqi@0 78 fxshell.dir = tools/fxshell
aoqi@0 79 fxshell.jar = ${dist.dir}/nashornfx.jar
aoqi@0 80
attila@963 81 # configuration for java flight recorder
attila@963 82 run.test.jvmargs.jfr=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=${build.dir},stackdepth=128
attila@963 83
mhaupt@1391 84 # test library location
mhaupt@1391 85 test.lib=${basedir}${file.separator}test${file.separator}lib
mhaupt@1391 86
aoqi@0 87 # jars refererred
mhaupt@1741 88 file.reference.testng.jar=${test.lib}${file.separator}testng-6.8.jar
mhaupt@1741 89 file.reference.jcommander.jar=${test.lib}${file.separator}jcommander-1.27.jar
mhaupt@1741 90 file.reference.bsh.jar=${test.lib}${file.separator}bsh-2.0b4.jar
mhaupt@1741 91 file.reference.snakeyaml.jar=${test.lib}${file.separator}snakeyaml-1.6.jar
mhaupt@1741 92
mhaupt@1741 93 # TestNG ant task classpath
mhaupt@1741 94 testng.ant.classpath=\
mhaupt@1741 95 ${file.reference.testng.jar}${path.separator}\
mhaupt@1741 96 ${file.reference.jcommander.jar}${path.separator}\
mhaupt@1741 97 ${file.reference.bsh.jar}${path.separator}\
mhaupt@1741 98 ${file.reference.snakeyaml.jar}${path.separator}
aoqi@0 99
aoqi@0 100 # Set testng verbose level
aoqi@0 101 # From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed)
aoqi@0 102 # Actually, this is a lie: you can specify -1 and this will put TestNG in
aoqi@0 103 # debug mode (no longer slicing off stack traces and all)."
aoqi@0 104
aoqi@0 105 testng.verbose=2
aoqi@0 106
aoqi@0 107 # TestNG listeners - we want to replace TestNG's own JUnit
aoqi@0 108 # reporter, but want everything else provided by default
aoqi@0 109 # Unfortunately, we've to clone the other default reporters here.
aoqi@0 110
aoqi@0 111 testng.listeners=\
aoqi@0 112 org.testng.reporters.SuiteHTMLReporter, \
aoqi@0 113 org.testng.reporters.TestHTMLReporter, \
aoqi@0 114 org.testng.reporters.jq.Main, \
aoqi@0 115 org.testng.reporters.FailedReporter, \
aoqi@0 116 org.testng.reporters.XMLReporter \
aoqi@0 117 org.testng.reporters.EmailableReporter, \
aoqi@0 118 jdk.nashorn.internal.test.framework.JSJUnitReportReporter
aoqi@0 119
aoqi@0 120 javac.debug=true
aoqi@0 121 javac.encoding=ascii
aoqi@0 122 javac.classpath=\
aoqi@0 123 ${build.classes.dir}
aoqi@0 124 javac.test.classpath=\
mhaupt@1353 125 ${build.classes.dir}${path.separator}\
mhaupt@1353 126 ${build.test.classes.dir}${path.separator}\
mhaupt@1741 127 ${file.reference.testng.jar}${path.separator}\
mhaupt@1741 128 ${file.reference.jcommander.jar}${path.separator}\
mhaupt@1741 129 ${file.reference.bsh.jar}${path.separator}\
mhaupt@1741 130 ${file.reference.snakeyaml.jar}
aoqi@0 131
aoqi@0 132 meta.inf.dir=${src.dir}/META-INF
aoqi@0 133
aoqi@0 134 run.classpath=\
aoqi@0 135 ${build.classes.dir}
aoqi@0 136
aoqi@0 137 # test scripts to run
aoqi@0 138 test.dir=test
aoqi@0 139 test.nosecurity.dir=test/script/nosecurity
aoqi@0 140 test.script.dir=test/script
aoqi@0 141 test.basic.dir=test/script/basic
aoqi@0 142 test.maptests.dir=test/script/maptests
aoqi@0 143 test.error.dir=test/script/error
aoqi@0 144 test.sandbox.dir=test/script/sandbox
aoqi@0 145 test.trusted.dir=test/script/trusted
aoqi@0 146 test.external.dir=test/script/external
aoqi@0 147 test262.dir=${test.external.dir}/test262
aoqi@0 148 test262.suite.dir=${test262.dir}/test/suite
aoqi@0 149 testjfx.dir=${test.script.dir}/jfx
attila@963 150 testmarkdown.dir=${test.script.dir}/markdown
aoqi@0 151
aoqi@0 152 test-sys-prop.test.dir=${test.dir}
aoqi@0 153 test-sys-prop.test.js.roots=${test.basic.dir} ${test.maptests.dir} ${test.error.dir} ${test.sandbox.dir} ${test.trusted.dir}
aoqi@0 154 test-sys-prop.test262.suite.dir=${test262.suite.dir}
aoqi@0 155 test-sys-prop.es5conform.testcases.dir=${test.external.dir}/ES5Conform/TestCases
aoqi@0 156 test-sys-prop.test.basic.dir=${test.basic.dir}
aoqi@0 157
aoqi@0 158 test-sys-prop-no-security.test.dir=${test.dir}
aoqi@0 159 test-sys-prop-no-security.test.js.roots=${test.nosecurity.dir}
aoqi@0 160
aoqi@0 161 # framework root for our script tests
aoqi@0 162 test-sys-prop.test.js.framework=${test.script.dir}/assert.js
aoqi@0 163 test-sys-prop-no-security.test.js.framework=${test.script.dir}/assert.js
aoqi@0 164
aoqi@0 165 # Control the verbosity of ParserTest
aoqi@0 166 test-sys-prop.parsertest.verbose=false
aoqi@0 167
aoqi@0 168 # turn on/off scripting mode for parser tests
aoqi@0 169 test-sys-prop.parsertest.scripting=true
aoqi@0 170
aoqi@0 171 # turn on/off test262 scripts for parser tests
aoqi@0 172 test-sys-prop.parsertest.test262=false
aoqi@0 173
aoqi@0 174 # Control the verbosity of the CompilerTest
aoqi@0 175 test-sys-prop.compilertest.verbose=false
aoqi@0 176
aoqi@0 177 # turn on/off scripting mode for compiler tests
aoqi@0 178 test-sys-prop.compilertest.scripting=true
aoqi@0 179
aoqi@0 180 # turn on/off test262 scripts for compiler tests
aoqi@0 181 test-sys-prop.compilertest.test262=false
aoqi@0 182
aoqi@0 183 # test directory to be excluded.
aoqi@0 184 test-sys-prop.test.js.exclude.dir=${test.script.dir}/currently-failing ${test.external.dir}
aoqi@0 185
aoqi@0 186 # run everything that's js in here, without checking file headers for test annotations
aoqi@0 187 test-sys-prop.test.js.unchecked.dir=${test262.dir}
aoqi@0 188
aoqi@0 189 # test root for octane
aoqi@0 190 octane-test-sys-prop.test.js.roots=${test.external.dir}/octane/
aoqi@0 191
attila@963 192 # run octane benchmars in separate processes? (recommended)
aoqi@0 193 octane-test-sys-prop.separate.process=true
aoqi@0 194
aoqi@0 195 # framework root for octane
aoqi@0 196 octane-test-sys-prop.test.js.framework=${test.basic.dir}/run-octane.js
aoqi@0 197
aoqi@0 198 # test root for sunspider
attila@963 199 sunspider-test-sys-prop.test.js.roots=${test.external.dir}/sunspider/tests/sunspider-1.0.2/
aoqi@0 200
aoqi@0 201 # framework root for sunspider
aoqi@0 202 sunspider-test-sys-prop.test.js.framework=${test.basic.dir}/runsunspider.js
aoqi@0 203
aoqi@0 204 # list of tests to be excluded
aoqi@0 205 sunspider-test-sys-prop.test.js.exclude.list=
aoqi@0 206
aoqi@0 207 # execute our script tests in shared nashorn context or not?
aoqi@0 208 test-sys-prop.test.js.shared.context=false
aoqi@0 209
aoqi@0 210 # execute test262 tests in shared nashorn context or not?
aoqi@0 211 test262-test-sys-prop.test.js.shared.context=true
aoqi@0 212
aoqi@0 213 # test262 test root
aoqi@0 214 test262-test-sys-prop.test.js.roots=${test262.suite.dir}
attila@963 215
aoqi@0 216 # test262 enable/disable strict mode tests
aoqi@0 217 test262-test-sys-prop.test.js.enable.strict.mode=true
aoqi@0 218
aoqi@0 219 # file containing test262 tests to be excluded
aoqi@0 220 # test262-test-sys-prop.test.js.excludes.file=${test262.dir}/test/config/excludelist.xml
aoqi@0 221
aoqi@0 222 # list of test262 test dirs to be excluded
aoqi@0 223 test262-test-sys-prop.test.js.exclude.dir=\
aoqi@0 224 ${test262.suite.dir}/intl402/ \
attila@963 225 ${test262.suite.dir}/bestPractice/
aoqi@0 226
aoqi@0 227 test262-test-sys-prop.test.failed.list.file=${build.dir}/test/failedTests
aoqi@0 228
aoqi@0 229 # test262 test frameworks
aoqi@0 230 test262-test-sys-prop.test.js.framework=\
aoqi@0 231 --class-cache-size=10 \
aoqi@0 232 --no-java \
aoqi@0 233 --no-typed-arrays \
aoqi@0 234 -timezone=PST \
aoqi@0 235 ${test.script.dir}/test262.js \
aoqi@0 236 ${test262.dir}/test/harness/framework.js \
aoqi@0 237 ${test262.dir}/test/harness/sta.js
aoqi@0 238
attila@963 239 # testmarkdown test root
attila@963 240 testmarkdown-test-sys-prop.test.js.roots=${testmarkdown.dir}
attila@963 241
attila@963 242 # execute testmarkdown tests in shared nashorn context or not?
attila@963 243 testmarkdown-test-sys-prop.test.js.shared.context=false
attila@963 244
attila@963 245 # framework root for markdown script tests
attila@963 246 testmarkdown-test-sys-prop.test.js.framework=\
attila@963 247 ${test.script.dir}${file.separator}markdown.js
attila@963 248
aoqi@0 249 # testjfx test root
attila@963 250 testjfx-test-sys-prop.test.js.roots=${testjfx.dir}
aoqi@0 251
aoqi@0 252 # execute testjfx tests in shared nashorn context or not?
aoqi@0 253 testjfx-test-sys-prop.test.js.shared.context=false
aoqi@0 254
aoqi@0 255 # framework root for our script tests
aoqi@0 256 testjfx-test-sys-prop.test.js.framework=\
aoqi@0 257 -fx \
aoqi@0 258 ${test.script.dir}${file.separator}jfx.js
aoqi@0 259
mhaupt@1391 260 file.reference.jemmyfx.jar=${test.lib}${file.separator}JemmyFX.jar
mhaupt@1391 261 file.reference.jemmycore.jar=${test.lib}${file.separator}JemmyCore.jar
mhaupt@1391 262 file.reference.jemmyawtinput.jar=${test.lib}${file.separator}JemmyAWTInput.jar
aoqi@0 263 file.reference.jfxrt.jar=${java.home}${file.separator}lib${file.separator}ext${file.separator}jfxrt.jar
aoqi@0 264 testjfx.run.test.classpath=\
aoqi@0 265 ${file.reference.jemmyfx.jar}${path.separator}\
aoqi@0 266 ${file.reference.jemmycore.jar}${path.separator}\
aoqi@0 267 ${file.reference.jemmyawtinput.jar}${path.separator}\
aoqi@0 268 ${file.reference.testng.jar}${path.separator}\
mhaupt@1741 269 ${file.reference.jcommander.jar}${path.separator}\
mhaupt@1741 270 ${file.reference.bsh.jar}${path.separator}\
mhaupt@1741 271 ${file.reference.snakeyaml.jar}${path.separator}\
aoqi@0 272 ${nashorn.internal.tests.jar}${path.separator}\
aoqi@0 273 ${nashorn.api.tests.jar}
aoqi@0 274
aoqi@0 275 # testjfx VM options for script tests with @fork option
aoqi@0 276 testjfx-test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} -cp ${testjfx.run.test.classpath}
aoqi@0 277
aoqi@0 278 run.test.classpath=\
mhaupt@1353 279 ${file.reference.testng.jar}${path.separator}\
mhaupt@1741 280 ${file.reference.jcommander.jar}${path.separator}\
mhaupt@1741 281 ${file.reference.bsh.jar}${path.separator}\
mhaupt@1741 282 ${file.reference.snakeyaml.jar}${path.separator}\
mhaupt@1353 283 ${nashorn.internal.tests.jar}${path.separator}\
aoqi@0 284 ${nashorn.api.tests.jar}
aoqi@0 285
aoqi@0 286 src.dir=src
aoqi@0 287 test.src.dir=test/src
aoqi@0 288
aoqi@0 289 # -Xmx is used for all tests, -Xms only for octane benchmark
aoqi@0 290 run.test.xmx=2G
aoqi@0 291 run.test.xms=2G
aoqi@0 292
attila@963 293 # uncomment this jfr.args to enable light recordings. the stack needs to be cranked up to 1024 frames,
attila@963 294 # or everything will as of the now drown in lambda forms and be cut off.
attila@963 295 #
attila@963 296 #jfr.args=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath="test_suite.jfr",stackdepth=1024 \
attila@963 297
attila@963 298 jfr.args=
attila@963 299
aoqi@0 300 run.test.user.language=tr
aoqi@0 301 run.test.user.country=TR
aoqi@0 302
attila@963 303 run.test.jvmargs.common=\
attila@963 304 -server \
attila@963 305 -Dfile.encoding=UTF-8 \
attila@963 306 -Duser.language=${run.test.user.language} \
attila@963 307 -Duser.country=${run.test.user.country} \
attila@963 308 -Dnashorn.typeInfo.cacheDir=${build.dir}${file.separator}test${file.separator}type_info_cache \
attila@963 309 ${jfr.args} \
attila@963 310 -XX:+HeapDumpOnOutOfMemoryError
aoqi@0 311
aoqi@0 312 # turn on assertions for tests
aoqi@0 313 run.test.jvmargs.main=${run.test.jvmargs.common} -ea
aoqi@0 314
lagergren@1036 315 # Extra jvmargs that might be useful for debugging
lagergren@1036 316 # and performance improvements/monitoring
attila@963 317 #
attila@963 318 # -XX:+UnlockDiagnosticVMOptions
attila@963 319 #
attila@963 320 # turn off compressed class pointers in metaspace
attila@963 321 # -XX:-UseCompressedKlassPointers
attila@963 322 #
attila@963 323 # dump the heap after every GC
attila@963 324 # -XX:+PrintHeapAtGC
attila@963 325 #
attila@963 326 # manually set a metaspace size for class data
attila@963 327 # -XX:ClassMetaspaceSize=300M
attila@963 328 #
attila@963 329 # print out methods compiled
attila@963 330 # -XX:+PrintCompilation
attila@963 331 #
attila@963 332 # print all compiled nmethods with oopmaps and lots of other info
attila@963 333 # -XX:+PrintNMethods
lagergren@1036 334 #
lagergren@1036 335 # activate the generic "UseNewCode" flag to test whatever functionality
lagergren@1036 336 # lies behind it. This is the preferred way to test a, yet flagless,
lagergren@1036 337 # feature in HotSpot - for example, the uncommon trap placement fix
lagergren@1036 338 # was hidden behind this flag before it became the default
lagergren@1036 339 #
lagergren@1036 340 # -XX:+UnlockDiagnosticVMOptions -XX:+UseNewCode
lagergren@1036 341 #
lagergren@1036 342 # Crank up the type profile level to 222, which has some warmup
lagergren@1036 343 # penalties, but produces much better code for JavaScript, where better
lagergren@1036 344 # and more intrusive type profiling is required to get rid of
lagergren@1036 345 # a large amount of unnecessary guard code, that could not otherwise
lagergren@1036 346 # be eliminated
lagergren@1036 347 #
lagergren@1036 348 # -XX:TypeProfileLevel=222
lagergren@1036 349 #
aoqi@0 350
attila@963 351 # Use best known performance options for octane
lagergren@1036 352 run.test.jvmargs.octane.main=${run.test.jvmargs.common} -XX:TypeProfileLevel=222
attila@963 353
attila@963 354 # Security manager args - make sure that we run with the nashorn.policy that the build creates
attila@963 355 run.test.jvmsecurityargs=-Xverify:all -Djava.security.manager -Djava.security.policy=${build.dir}/nashorn.policy
aoqi@0 356
aoqi@0 357 # VM options for script tests with @fork option
aoqi@0 358 test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -cp ${run.test.classpath}
hannesw@1341 359 # VM options for no-security script tests with @fork option - same as above but without jvmsecurityargs
hannesw@1341 360 test-sys-prop-no-security.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} -cp ${run.test.classpath}
aoqi@0 361
aoqi@0 362 # path of rhino.jar for benchmarks
attila@963 363 rhino.dir=
attila@963 364 rhino.jar=${rhino.dir}/js.jar
aoqi@0 365
aoqi@0 366 v8.shell=d8
aoqi@0 367
attila@963 368 # How many iterations should 'ant octane' run for each
attila@963 369 # benchmark
attila@963 370 octane.iterations=25
attila@963 371
attila@963 372 # List of octane tests to run, as properties prefixed with
attila@963 373 # "octane.benchmark." mapping to the benchmark name in
attila@963 374 # the test harness
attila@963 375 #
attila@963 376 # Octane tests that are disabled should have their entire line
attila@963 377 # commented out Tests may be disabled for functionality reasons when
attila@963 378 # they have bugs or when the runtime doesn't handle them (yet)
attila@963 379 octane.benchmark.box2d=box2d
attila@963 380 #octane.benchmark.code-load=code-load
attila@963 381 octane.benchmark.crypto=crypto
attila@963 382 octane.benchmark.deltablue=deltablue
attila@963 383 octane.benchmark.earley-boyer=earley-boyer
attila@963 384 octane.benchmark.gbemu=gbemu
attila@963 385 octane.benchmark.navier-stokes=navier-stokes
attila@963 386 octane.benchmark.mandreel=mandreel
attila@963 387 octane.benchmark.pdfjs=pdfjs
attila@963 388 octane.benchmark.raytrace=raytrace
attila@963 389 octane.benchmark.regexp=regexp
attila@963 390 octane.benchmark.richards=richards
attila@963 391 octane.benchmark.splay=splay
attila@963 392 #octane.benchmark.typescript=typescript
attila@963 393 #octane.benchmark.zlib=zlib
attila@963 394
aoqi@0 395 #path to rhino jar file
aoqi@0 396 octaneperf-sys-prop.rhino.jar=${rhino.jar}
aoqi@0 397
aoqi@0 398 #timeout for performance tests in minutes
aoqi@0 399 octaneperf-sys-prop.timeout.value=10
aoqi@0 400
attila@963 401 #how many iterations to run sunspider after warmup
attila@963 402 sunspider.iterations=3000
attila@963 403
attila@963 404 #################
attila@963 405 # code coverage #
attila@963 406 #################
attila@963 407
attila@963 408 #enable/disable code coverage; please redifine in the ${user.home}/.nashorn.project.local.properties
aoqi@0 409 make.code.coverage=false
attila@963 410
attila@963 411 #type of codecoverage; one of static or dynamic. Now only dynamic is supported
aoqi@0 412 jcov=dynamic
attila@963 413
attila@963 414 #naming of CC results
attila@963 415 #NB directory specified in the cc.dir will be cleaned up!!!
aoqi@0 416 cc.dir=${basedir}/../Codecoverage_Nashorn
aoqi@0 417 cc.result.file.name=CC_${jcov}_nashorn.xml
attila@963 418
attila@963 419 #dynamic CC parameters; please redefine in the ${user.home}/.nashorn.project.local.properties
aoqi@0 420 jcov2.lib.dir=${basedir}/../jcov2/lib
aoqi@0 421 jcov.jar=${jcov2.lib.dir}/jcov.jar
aoqi@0 422 cc.include=jdk\.nashorn\.*
aoqi@0 423 cc.exclude=jdk\.nashorn\.internal\.scripts\.*
aoqi@0 424 cc.dynamic.genereate.template=true
aoqi@0 425 cc.template=${cc.dir}/CC_template.xml
aoqi@0 426 cc.dynamic.args=-javaagent:${jcov.jar}=include=${cc.include},exclude=${cc.exclude},type=all,verbose=0,file=${cc.dir}/${cc.result.file.name}

mercurial