You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2024/05/09 10:13:51 UTC
(tomcat-tck) branch main updated (a1cd7e1 -> 2657b05)
This is an automated email from the ASF dual-hosted git repository.
markt pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-tck.git
from a1cd7e1 Remove unnecessary duplicates
new e72b3a2 Update after further TCK refactoring
new 2657b05 Update TCK install instructions to use staged builds
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.md | 105 ++++++++++++++++++++++++++------------------------------
jsp-tck/pom.xml | 6 +---
2 files changed, 49 insertions(+), 62 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
(tomcat-tck) 02/02: Update TCK install instructions to use staged builds
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-tck.git
commit 2657b057228cbbb809c689af82b0dc895408bc2a
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu May 9 11:12:00 2024 +0100
Update TCK install instructions to use staged builds
---
README.md | 105 ++++++++++++++++++++++++++++----------------------------------
1 file changed, 48 insertions(+), 57 deletions(-)
diff --git a/README.md b/README.md
index afd14f6..95da705 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
This is a Maven project that can be used to run the refactored TCK (Jakarta 11 onwards) with Tomcat 11.
-At the moment, you will need to build the TCK locally (see below).
+At the moment, you will need to manually install the TCKs into your local Maven repository (see below).
### Running the EL TCK
@@ -38,59 +38,50 @@ At the moment, you will need to build the TCK locally (see below).
1. `mvn verify`
-### Running against a local build of the TCK
-
-1. Checkout the tckrefactor branch of the jakarta-tck repository to `$TCK`
-
-1. `cd $TCK`
-
-1. Install javatest into the local maven repository
- `mvn -e -ntp install:install-file -Dfile=./lib/javatest.jar -DgroupId=javatest -DartifactId=javatest -Dversion=5.0 -Dpackaging=jar`
-
-1. Install the top-level project Jakarta TCK POM
- `mvn --non-recursive install`
-
-1. Install the various libraries required by the TCKs Tomcat tests against
-```
- cd $TCK/libutil
- mvn install
-
- cd $TCK/runtime
- mvn install
-
- cd $TCK/common
- mvn install
-
- cd $TCK/assembly
- mvn install
-
- cd $TCK/webartifacts/servlet
- mvn install
-
- cd $TCK/webartifacts/jsp
- mvn install
-
- cd $TCK/signaturetest
- mvn install
-
- cd $TCK/user_guides
- mvn install
-```
-
-6. Install the TCKs Tomcat tests against
-```
- cd $TCK/el
- mvn install
-
- cd $TCK/servlet
- mvn install
-
- cd $TCK/jsp
- mvn install
-
- cd $TCK/websocket
- mvn install
-```
-
-7. Review the component TCK and Tomcat versions in `$TCK_TOMCAT/pom.xml` and edit as required. In particular, you'll
-need to configure the TCKs to use the SNAPSHOT versions you built in the previous steps.
+### Installing the TCKs
+
+#### Expression Language TCK
+
+1. Download the EL TCK from https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-expression-language-tck-6.0.0.zip
+
+1. Extract the contents
+
+1. `cd el-tck/artifacts`
+
+1. Install the TCK JAR into the local Maven repository
+ `mvn org.apache.Maven.plugins:Maven-install-plugin:3.1.1:install-file -Dfile=jakarta-expression-language-tck-6.0.0.jar`
+
+1. Edit the POM created in your local Maven repository to update the version for the parent (jakarta.tck:project) from 10.0.0-SNAPSHOT to 11.0.0-M1
+
+#### WebSocket TCK
+
+1. Download the WebSocket TCK from https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-websocket-tck-2.2.0.zip
+
+1. Extract the contents
+
+1. `cd websocket-tck/artifacts`
+
+1. Install the TCK JARs into the local Maven repository
+ `artifact-install.sh`
+
+#### Pages TCK
+
+1. Download the Pages TCK from https://download.eclipse.org/ee4j/pages/jakartaee11/staged/eftl/jakarta-pages-tck-4.0.0.zip
+
+1. Extract the contents
+
+1. `cd websocket-tck/artifacts`
+
+1. Install the TCK JARs into the local Maven repository
+ `mvn org.apache.Maven.plugins:Maven-install-plugin:3.1.1:install-file -Dfile=jakarta-pages-tck-4.0.0.jar`
+
+1. Check out the https://github.com/jakartaee/platform-tck repository
+
+1. `cd platform-tck\lib`
+
+1. Install the javatest JAR into the local Maven repository
+ `mvn install:install-file -Dfile=javatest.jar -DgroupId=javatest -DartifactId=javatest -Dversion=5.0 -Dpackaging=jar`
+
+#### Servlet TCK
+
+TBD.
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
(tomcat-tck) 01/02: Update after further TCK refactoring
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-tck.git
commit e72b3a2e4d4c5a39ffc16e0a349c976afe4562c6
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu May 9 10:02:21 2024 +0100
Update after further TCK refactoring
---
jsp-tck/pom.xml | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/jsp-tck/pom.xml b/jsp-tck/pom.xml
index 9ebde91..91ba6e3 100644
--- a/jsp-tck/pom.xml
+++ b/jsp-tck/pom.xml
@@ -110,10 +110,6 @@
</goals>
<configuration>
<dependenciesToScan>jakarta.tck:jakarta-pages-tck</dependenciesToScan>
- <excludes>
- <!-- Exclude platform tests -->
- <exclude>com/sun/ts/tests/jsp/spec/tagext/resource/**</exclude>
- </excludes>
<forkCount>5</forkCount>
<reuseForks>false</reuseForks>
<systemPropertyVariables>
@@ -122,7 +118,7 @@
<securedWebServicePort>8443</securedWebServicePort>
<ws_wait>5</ws_wait>
<junit.log.traceflag>true</junit.log.traceflag>
- <porting.ts.url.class.1>com.sun.ts.tests.jsp.lib.implementation.sun.common.SunRIURL</porting.ts.url.class.1>
+ <porting.ts.url.class.1>ee.jakarta.tck.pages.lib.implementation.sun.common.SunRIURL</porting.ts.url.class.1>
<sigTestClasspath>${settings.localRepository}/org/apache/tomcat/tomcat-jsp-api/${tomcat.version}/tomcat-jsp-api-${tomcat.version}.jar:${settings.localRepository}/org/apache/tomcat/tomcat-el-api/${tomcat.version}/tomcat-el-api-${tomcat.version}.jar:${settings.localRepository}/org/apache/tomcat/tomcat-servlet-api/${tomcat.version}/tomcat-servlet-api-${tomcat.version}.jar:${env.JAVA_HOME}/jmods/java.base</sigTestClasspath>
<user>j2ee</user>
<password>j2ee</password>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org