# # Copyright (c) 2012, 2021 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/jakarta.servlet.jsp.jar${pathsep} \ # ${webServerHome}/modules/jakarta.servlet.jsp-api.jar # # el.classes=${webServerHome}/modules/jakarta.el.jar # # jstl.classes=${webServerHome}/modules/jakarta.servlet.jsp.jstl.jar${pathsep}\ # ${webServerHome}/jakarta.servlet.jsp.jstl-api.jar # # ######################################################################### webServerHost=localhost webServerPort=8080 webServerHome=/ri/4.0/glassfish3/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/jakarta.servlet.jsp.jar${pathsep}${webServerHome}/modules/jakarta.servlet.jsp-api.jar el.classes=${webServerHome}/modules/jakarta.el-api.jar${pathsep}${webServerHome}/modules/jakarta.el.jar jstl.classes=${webServerHome}/modules/jakarta.servlet.jsp.jstl.jar ######################################################################## # # @jimage.dir: This property specifies the directory where Java 11+ # modules will be expanded by the jimage tool for use # in sigTestClasspath # # @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). # ######################################################################## jimage.dir=${ts.home}/tmp/jdk-bundles sigTestClasspath=${jspservlet.classes}${pathsep}${el.classes}${pathsep}${jimage.dir}/java.base${pathsep}${jimage.dir}/java.rmi${pathsep}${jimage.dir}/java.sql${pathsep}${jimage.dir}/java.naming ######################################################################## # 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 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