9 # This code is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 # version 2 for more details (a copy is included in the LICENSE file that
13 # accompanied this code).
14 #
15 # You should have received a copy of the GNU General Public License version
16 # 2 along with this work; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 #
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 # or visit www.oracle.com if you need additional information or have any
21 # questions.
22 #
23
24 application.title=nashorn
25
26 # location of JDK embedded ASM sources
27 jdk.asm.src.dir=../jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm
28
29 # source and target levels
30 build.compiler=modern
31 javac.source=1.8
32 javac.target=1.8
33
34 # nashorn version information
35 nashorn.version=0.1
36 nashorn.fullversion=0.1
37 nashorn.product.name=Oracle Nashorn
38
39 # This directory is removed when the project is cleaned:
40 build.dir=build
41 build.classes.dir=${build.dir}/classes
42 build.zip=${build.dir}/nashorn.zip
43 build.gzip=${build.dir}/nashorn.tar.gz
44
45 # nashorn Shell tool
46 nashorn.shell.tool=jdk.nashorn.tools.Shell
47
48 # nasgen tool
95 # Unfortunately, we've to clone the other default reporters here.
96
97 testng.listeners=\
98 org.testng.reporters.SuiteHTMLReporter, \
99 org.testng.reporters.TestHTMLReporter, \
100 org.testng.reporters.jq.Main, \
101 org.testng.reporters.FailedReporter, \
102 org.testng.reporters.XMLReporter \
103 org.testng.reporters.EmailableReporter, \
104 jdk.nashorn.internal.test.framework.JSJUnitReportReporter
105
106 javac.debug=true
107 javac.encoding=ascii
108 javac.classpath=\
109 ${build.classes.dir}
110 javac.test.classpath=\
111 ${build.classes.dir}${path.separator}\
112 ${build.test.classes.dir}${path.separator}\
113 ${file.reference.testng.jar}
114
115 meta.inf.dir=${src.dir}/META-INF
116
117 run.classpath=\
118 ${build.classes.dir}
119
120 # test scripts to run
121 test.dir=test
122 test.nosecurity.dir=test/script/nosecurity
123 test.script.dir=test/script
124 test.basic.dir=test/script/basic
125 test.maptests.dir=test/script/maptests
126 test.error.dir=test/script/error
127 test.sandbox.dir=test/script/sandbox
128 test.trusted.dir=test/script/trusted
129 test.external.dir=test/script/external
130 test262.dir=${test.external.dir}/test262
131 test262.suite.dir=${test262.dir}/test/suite
132 testjfx.dir=${test.script.dir}/jfx
133 testmarkdown.dir=${test.script.dir}/markdown
134
135 test-sys-prop.test.dir=${test.dir}
249 file.reference.jemmyfx.jar=${test.lib}${file.separator}JemmyFX.jar
250 file.reference.jemmycore.jar=${test.lib}${file.separator}JemmyCore.jar
251 file.reference.jemmyawtinput.jar=${test.lib}${file.separator}JemmyAWTInput.jar
252 file.reference.jfxrt.jar=${java.home}${file.separator}lib${file.separator}ext${file.separator}jfxrt.jar
253 testjfx.run.test.classpath=\
254 ${file.reference.jemmyfx.jar}${path.separator}\
255 ${file.reference.jemmycore.jar}${path.separator}\
256 ${file.reference.jemmyawtinput.jar}${path.separator}\
257 ${file.reference.testng.jar}${path.separator}\
258 ${nashorn.internal.tests.jar}${path.separator}\
259 ${nashorn.api.tests.jar}
260
261 # testjfx VM options for script tests with @fork option
262 testjfx-test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} -cp ${testjfx.run.test.classpath}
263
264 run.test.classpath=\
265 ${file.reference.testng.jar}${path.separator}\
266 ${nashorn.internal.tests.jar}${path.separator}\
267 ${nashorn.api.tests.jar}
268
269 src.dir=src/jdk.scripting.nashorn/share/classes
270 test.src.dir=test/src
271
272 # -Xmx is used for all tests, -Xms only for octane benchmark
273 run.test.xmx=2G
274 run.test.xms=2G
275
276 # uncomment this jfr.args to enable light recordings. the stack needs to be cranked up to 1024 frames,
277 # or everything will as of the now drown in lambda forms and be cut off.
278 #
279 #jfr.args=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath="test_suite.jfr",stackdepth=1024 \
280
281 jfr.args=
282
283 run.test.user.language=tr
284 run.test.user.country=TR
285
286 run.test.jvmargs.common=\
287 -server \
288 -Dfile.encoding=UTF-8 \
289 -Duser.language=${run.test.user.language} \
|
9 # This code is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 # version 2 for more details (a copy is included in the LICENSE file that
13 # accompanied this code).
14 #
15 # You should have received a copy of the GNU General Public License version
16 # 2 along with this work; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 #
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 # or visit www.oracle.com if you need additional information or have any
21 # questions.
22 #
23
24 application.title=nashorn
25
26 # location of JDK embedded ASM sources
27 jdk.asm.src.dir=../jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm
28
29 # location of JDK embedded jline sources
30 jdk.jline.src.dir=../jdk/src/jdk.internal.le/share/classes
31
32 # source and target levels
33 build.compiler=modern
34 javac.source=1.8
35 javac.target=1.8
36
37 # nashorn version information
38 nashorn.version=0.1
39 nashorn.fullversion=0.1
40 nashorn.product.name=Oracle Nashorn
41
42 # This directory is removed when the project is cleaned:
43 build.dir=build
44 build.classes.dir=${build.dir}/classes
45 build.zip=${build.dir}/nashorn.zip
46 build.gzip=${build.dir}/nashorn.tar.gz
47
48 # nashorn Shell tool
49 nashorn.shell.tool=jdk.nashorn.tools.Shell
50
51 # nasgen tool
98 # Unfortunately, we've to clone the other default reporters here.
99
100 testng.listeners=\
101 org.testng.reporters.SuiteHTMLReporter, \
102 org.testng.reporters.TestHTMLReporter, \
103 org.testng.reporters.jq.Main, \
104 org.testng.reporters.FailedReporter, \
105 org.testng.reporters.XMLReporter \
106 org.testng.reporters.EmailableReporter, \
107 jdk.nashorn.internal.test.framework.JSJUnitReportReporter
108
109 javac.debug=true
110 javac.encoding=ascii
111 javac.classpath=\
112 ${build.classes.dir}
113 javac.test.classpath=\
114 ${build.classes.dir}${path.separator}\
115 ${build.test.classes.dir}${path.separator}\
116 ${file.reference.testng.jar}
117
118 meta.inf.dir=${nashorn.module.src.dir}/META-INF
119
120 run.classpath=\
121 ${build.classes.dir}
122
123 # test scripts to run
124 test.dir=test
125 test.nosecurity.dir=test/script/nosecurity
126 test.script.dir=test/script
127 test.basic.dir=test/script/basic
128 test.maptests.dir=test/script/maptests
129 test.error.dir=test/script/error
130 test.sandbox.dir=test/script/sandbox
131 test.trusted.dir=test/script/trusted
132 test.external.dir=test/script/external
133 test262.dir=${test.external.dir}/test262
134 test262.suite.dir=${test262.dir}/test/suite
135 testjfx.dir=${test.script.dir}/jfx
136 testmarkdown.dir=${test.script.dir}/markdown
137
138 test-sys-prop.test.dir=${test.dir}
252 file.reference.jemmyfx.jar=${test.lib}${file.separator}JemmyFX.jar
253 file.reference.jemmycore.jar=${test.lib}${file.separator}JemmyCore.jar
254 file.reference.jemmyawtinput.jar=${test.lib}${file.separator}JemmyAWTInput.jar
255 file.reference.jfxrt.jar=${java.home}${file.separator}lib${file.separator}ext${file.separator}jfxrt.jar
256 testjfx.run.test.classpath=\
257 ${file.reference.jemmyfx.jar}${path.separator}\
258 ${file.reference.jemmycore.jar}${path.separator}\
259 ${file.reference.jemmyawtinput.jar}${path.separator}\
260 ${file.reference.testng.jar}${path.separator}\
261 ${nashorn.internal.tests.jar}${path.separator}\
262 ${nashorn.api.tests.jar}
263
264 # testjfx VM options for script tests with @fork option
265 testjfx-test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} -cp ${testjfx.run.test.classpath}
266
267 run.test.classpath=\
268 ${file.reference.testng.jar}${path.separator}\
269 ${nashorn.internal.tests.jar}${path.separator}\
270 ${nashorn.api.tests.jar}
271
272 nashorn.module.src.dir=src/jdk.scripting.nashorn/share/classes
273 nashorn.shell.module.src.dir=src/jdk.scripting.nashorn.shell/share/classes
274
275 src.dir=${nashorn.module.src.dir}${path.separator}\
276 ${nashorn.shell.module.src.dir}${path.separator}\
277 ${jdk.jline.src.dir}
278
279 test.src.dir=test/src
280
281 # -Xmx is used for all tests, -Xms only for octane benchmark
282 run.test.xmx=2G
283 run.test.xms=2G
284
285 # uncomment this jfr.args to enable light recordings. the stack needs to be cranked up to 1024 frames,
286 # or everything will as of the now drown in lambda forms and be cut off.
287 #
288 #jfr.args=-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath="test_suite.jfr",stackdepth=1024 \
289
290 jfr.args=
291
292 run.test.user.language=tr
293 run.test.user.country=TR
294
295 run.test.jvmargs.common=\
296 -server \
297 -Dfile.encoding=UTF-8 \
298 -Duser.language=${run.test.user.language} \
|