-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjspts.jte
241 lines (223 loc) · 10.8 KB
/
jspts.jte
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
#
# Copyright (c) 2012, 2018 Oracle and/or its affiliates. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0, which is available at
# http://www.eclipse.org/legal/epl-2.0.
#
# This Source Code may also be made available under the following Secondary
# Licenses when the conditions for such availability set forth in the
# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
# version 2 with the GNU Classpath Exception, which is available at
# https://www.gnu.org/software/classpath/license.html.
#
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
#
#
#########################################################################
#
# JavaTest Environment file for JSP Compatibility Test Suite
#
# Environment specific properties in this file will likely
# have to be modified prior to running the JSP TCK. Instructions
# for modifying these properties are contained in this file.
#
#########################################################################
#########################################################################
## @jte.version This version denotes the bundle this JTE was
## originally included with. The version matches the ID
## in the bundle name. It can be used to identify a
## mismatched JTE file. This value is filled in during
## the build process as part of sanitizing the jte file.
#########################################################################
jte.version=@JTE_VERSION@
#########################################################################
# The following properties MUST be set prior to running the
# TCK for JavaServer Pages.
# ---------------------------------
# webServerHost - Specifies the host of the target container
# webServerPort - Specifies the port the container is bound
# webServerHome - Specifies the installation directory of the container
#
# The web.deployment.handler property must refer to an ANT file containing
# at least a single target named 'deploy'. When 'ant deploy' is invoked,
# this target will be invoked to handle the deployment of the web
# applications to the target server.
#
# If using a custom handler, copy the handler to TS_HOME/bin/deploy and
# provide only the filename as the property value.
#
# The JSP TCK includes 3 handlers:
# - none (no deployment occurs)
# - glassfish (deployment to SJSAS/Glassfish)
# - tomcat (Tomcat)
#
# jspservlet.classes - Specifies the path to the Serlvet API classes
(used for building)
# jstl.classes - Specifies the Java Standard Tag library jar files.
# el.classes - Specifies the jars for the version of the Expression Language.
#
# For an example of property settings one might use, assuming we are using
# Glassfish 4.0.
# webServerHost=localhost
# webServerPort=8080
# webServerHome=/ri/glassfish4/glassfish
# impl.vi=glassfish
# impl.vi.deploy.dir=${webServerHome}/domains/domain1/autodeploy
# impl.deploy.timeout.multiplier=30
# jspservlet.classes=${webServerHome}/modules/jakarta.servlet-api.jar${pathsep} \
# ${webServerHome}/modules/javax.servlet.jsp.jar${pathsep} \
# ${webServerHome}/modules/jakarta.servlet.jsp-api.jar
#
# el.classes=${webServerHome}/modules/jakarta.el.jar
#
# jstl.classes=${webServerHome}/modules/javax.servlet.jsp.jstl.jar${pathsep}\
# ${webServerHome}/jakarta.servlet.jsp.jstl-api.jar
#
#
#########################################################################
webServerHost=localhost
webServerPort=8080
webServerHome=@WORKSPACE@/jetty-home/target/jetty-home
impl.vi=
impl.vi.deploy.dir=
impl.deploy.timeout.multiplier=
jspservlet.classes=${ts.home}/lib/servlet-api.jar${pathsep}${ts.home}/lib/jsp-api.jar
el.classes=${ts.home}/lib/el-api.jar
jstl.classes=
########################################################################
#
# @sigTestClasspath: This property must be set when running signature
# tests. This property should be set to a list of
# jar files and/or directories which contain your
# Java EE and Java SE classes. Paths must be
# separated by the appropriate path separator
# (';' windows, ':' Unixes).
#
# Example:(Mac OSX)
# sigTestClasspath=${jspservlet.classes}${pathsep}\
# /System/Library/Frameworks/JavaVM.framework/Versions/1.7.0/Classes/classes.jar
# Example:(Solaris)
# sigTestClasspath=${jspservlet.classes}${pathsep}${JAVA_HOME}/lib/rt.jar
#
########################################################################
sigTestClasspath==
########################################################################
# These properties must be set to tell the Javatest harness the
# class names of your porting class implementations. By default
# the property settings below point to Sun RI specific classes.
########################################################################
porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL
########################################################################
# Javatest batch mode work directory and report directory, and policy for
# handling existing work and report directories. These properties affect
# runclient and report targets, but not gui target.
# To disable generating test report, unset report.dir, or set it to "none"
# either here or from command line, as in the following command:
# ant runclient -Dreport.dir="none"
#
# if.existing.work.report.dirs specifies how existing work.dir and
# report.dir will be handled, and it must be one of the following values:
# overwrite overwrites all content in work.dir and report.dir
# backup moves all content in work.dir and report.dir to
# work.dir_time_day_bak and report.dir_time_day_bak,
# respectively
# append reuses and preserves the existing work.dir and report.dir
########################################################################
#work.dir=/tmp/JTwork_JSP
#report.dir=/tmp/JTreport_JSP
work.dir=@WORKSPACE@/JTWork
report.dir=@WORKSPACE@/JTReport
if.existing.work.report.dirs=overwrite
########################################################################
## Common environment for both ts_unix and ts_win32
#
# @command.testExecute - This command is used to execute any test
# clients which are not run inside an
# application client container. For example,
# any URL clients or standalone java clients
# would be executed with this command. Some
# test directories which make use of this command
# are servlet and jsp.
########################################################################
command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd \
CLASSPATH=${JAVA_HOME}/lib/rt.jar${pathsep}\
${LOCAL_CLASSES} \
HOME="${user.home}" \
windir=${windir} \
SYSTEMROOT=${SYSTEMROOT} \
${JAVA_HOME}/bin/java \
${JAVA_OPTIONS} $testExecuteClass $testExecuteArgs
########################################################################
# Environment ts_unix
########################################################################
env.ts_unix.menu=true
########################################################################
# Environment ts_win32
########################################################################
env.ts_win32.menu=true
##########################################################################
# Include the TS harness libs - tsharness.jar,
# javatest.jar - the test classes and any tck specific jars.
# DO NOT EDIT
##########################################################################
local.classes=${ts.home}/lib/tsharness.jar${pathsep}\
${ts.home}/lib/jsptck.jar${pathsep}\
${ts.home}/lib/javatest.jar${pathsep}\
${ts.home}/classes${pathsep}\
${jspservlet.classes}${pathsep}\
${el.classes}${pathsep}\
${ts.home}/lib/commons-httpclient-3.1.jar${pathsep}\
${ts.home}/lib/commons-logging-1.1.3.jar${pathsep}\
${ts.home}/lib/commons-codec-1.9.jar${pathsep}\
${ts.home}/lib/sigtest.jar
##########################################################################
# Final classpath
# DO NOT EDIT
##########################################################################
ts.classpath=${local.classes}${pathsep}${ant.home}/lib/ant.jar
ts.harness.classpath=${ts.classpath}
javatest.timeout.factor=1.0
########################################################################
# These properties are used by the harness. "harness.log.port"
# specifies the port that server components use to send logging
# output back to JavaTest. If the default port # is not available
# on the machine running JavaTest, then you can set it here.
#
# "harness.log.traceflag" is used to turn on/off verbose debugging output
# for the tests.
#
# "harness.executeMode" is used to run the harness in the following modes
# of execution (DO NOT EDIT):
# 2 - run only
########################################################################
harness.temp.directory=${ts.home}/tmp
harness.log.port=2000
harness.log.mode=silent
harness.log.traceflag=true
harness.executeMode=2
harness.log.delayseconds=1
harness.socket.retry.count=10
ts_home=${TS_HOME}
########################################################################
# This property specifies the type of archive that is generated.
# DO NOT EDIT
########################################################################
build.level=2
##########################################################################
# The alt.schema.dir and alt.dtd.dir properties specify the location of
# the Schemas used to package the TCK tests (web, javaee, etc). These
# properties need not be set if only running the tests.
# DO NOT EDIT
##########################################################################
alt.dtd.dir=${ts.home}/lib/dtds
alt.schema.dir=${ts.home}/lib/schemas
##########################################################################
# Set your local timezone. For valid values, consult your Operating System
# documentation.
##########################################################################
tz=US/Eastern
##########################################################################
# Needed for building/packaging
##########################################################################
deliverable.class=com.sun.ts.lib.deliverable.tck.TCKDeliverable