Skip to content

Commit 6ec3127

Browse files
author
Robert Wenzel
committed
upgrade zats 4.0.0, jetty 11, zk 9.6.0-jakarta, remove obsolete modules
1 parent faece00 commit 6ec3127

File tree

93 files changed

+260
-4168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+260
-4168
lines changed

prepare-upload.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,3 @@ cp zats/target/zats-mimic-$VERSION.zip $BIN_FOLDER
1717

1818
cp zats-common/target/zats-common-$VERSION-bundle.jar $MVN_FOLDER
1919
cp zats-mimic/target/zats-mimic-$VERSION-bundle.jar $MVN_FOLDER
20-
cp zats-mimic-ext6/target/zats-mimic-ext6-$VERSION-bundle.jar $MVN_FOLDER
21-
cp zats-mimic-ext7/target/zats-mimic-ext7-$VERSION-bundle.jar $MVN_FOLDER
22-
cp zats-mimic-ext96/target/zats-mimic-ext96-$VERSION-bundle.jar $MVN_FOLDER

upVer

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,9 @@ if [ "$Zats" = "" ] ; then
3535
if [ ! -d "./zats-mimic" ] ; then
3636
echo "zats-mimic path is not found!!"
3737
fi
38-
if [ ! -d "./zats-mimic-ext6" ] ; then
39-
echo "zats-mimic-ext6 path is not found!!"
40-
fi
4138
if [ ! -d "./zats-mimic-ext7" ] ; then
4239
echo "zats-mimic-ext7 path is not found!!"
4340
fi
44-
if [ ! -d "./zats-mimic-ext96" ] ; then
45-
echo "zats-mimic-ext96 path is not found!!"
46-
fi
4741
Zats=$maindir
4842
fi
4943

@@ -102,7 +96,4 @@ upVer zats
10296
upVer zats-common
10397
upVer zats-example
10498
upVer zats-mimic
105-
upVer zats-mimic-ext6
10699
upVer zats-mimic-ext7
107-
upVer zats-mimic-ext96
108-
upVer zats-example

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.0
1+
4.0.0

zats-common/pom.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.zkoss.zats</groupId>
55
<artifactId>zats-common</artifactId>
6-
<version>3.0.0-SNAPSHOT</version>
6+
<version>4.0.0-SNAPSHOT</version>
77
<name>ZK Application Test Suite - Common</name>
88
<description>ZK Application Test Suite - Common</description>
99
<url>https://www.zkoss.org/zats</url>
@@ -44,6 +44,16 @@
4444
<properties>
4545
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4646
</properties>
47+
<repositories>
48+
<repository>
49+
<id>ZK CE</id>
50+
<url>https://mavensync.zkoss.org/maven2</url>
51+
</repository>
52+
<repository>
53+
<id>ZK EE Eval</id>
54+
<url>https://mavensync.zkoss.org/eval/</url>
55+
</repository>
56+
</repositories>
4757
<dependencies>
4858
<dependency>
4959
<groupId>junit</groupId>
@@ -54,7 +64,7 @@
5464
<dependency>
5565
<groupId>org.zkoss.zk</groupId>
5666
<artifactId>zul</artifactId>
57-
<version>6.0.0</version>
67+
<version>9.6.0-jakarta-Eval</version>
5868
<scope>provided</scope>
5969
</dependency>
6070
</dependencies>
@@ -106,4 +116,4 @@
106116
</build>
107117
</profile>
108118
</profiles>
109-
</project>
119+
</project>

zats-example/pom.xml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.zkoss.zats</groupId>
55
<artifactId>zats-example</artifactId>
6-
<version>3.0.0-SNAPSHOT</version>
6+
<version>4.0.0-SNAPSHOT</version>
77
<name>ZK Application Test Suite - Example</name>
88
<url>https://www.zkoss.org/zats</url>
99
<licenses>
@@ -45,7 +45,7 @@
4545
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
4646
<maven.compiler.source>1.6</maven.compiler.source>
4747
<maven.compiler.target>1.6</maven.compiler.target>
48-
<zk.version>8.5.0</zk.version>
48+
<zk.version>9.6.0-jakarta-Eval</zk.version>
4949
</properties>
5050
<repositories>
5151
<repository>
@@ -63,9 +63,14 @@
6363
<artifactId>zhtml</artifactId>
6464
<version>${zk.version}</version>
6565
</dependency>
66+
<dependency>
67+
<groupId>org.zkoss.zk</groupId>
68+
<artifactId>zkex</artifactId>
69+
<version>${zk.version}</version>
70+
</dependency>
6671
<dependency>
6772
<groupId>org.zkoss.zats</groupId>
68-
<artifactId>zats-mimic-ext7</artifactId>
73+
<artifactId>zats-mimic</artifactId>
6974
<version>${project.version}</version>
7075
<scope>test</scope>
7176
</dependency>
@@ -82,11 +87,17 @@
8287
<!--<scope>test</scope>-->
8388
<!--</dependency>-->
8489
<dependency>
85-
<groupId>javax.servlet</groupId>
86-
<artifactId>javax.servlet-api</artifactId>
87-
<version>3.1.0</version>
90+
<groupId>jakarta.servlet</groupId>
91+
<artifactId>jakarta.servlet-api</artifactId>
92+
<version>5.0.0</version>
8893
<scope>provided</scope>
8994
</dependency>
95+
<dependency>
96+
<groupId>org.slf4j</groupId>
97+
<artifactId>slf4j-simple</artifactId>
98+
<version>1.7.31</version>
99+
<scope>test</scope>
100+
</dependency>
90101
</dependencies>
91102
<description>Examples code for ZATS Essentials and other examples.</description>
92103
</project>

zats-example/src/main/java/org/zkoss/zats/essentials/CookieComposer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
*/
1212
package org.zkoss.zats.essentials;
1313

14-
import javax.servlet.http.Cookie;
15-
import javax.servlet.http.HttpServletResponse;
14+
import jakarta.servlet.http.Cookie;
15+
import jakarta.servlet.http.HttpServletResponse;
1616

1717
import org.zkoss.zk.ui.Component;
1818
import org.zkoss.zk.ui.Executions;

zats-example/src/main/webapp/WEB-INF/web.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ Copyright (C) 2004 Potix Corporation. All Rights Reserved.
137137
<!-- DSP (optional) -->
138138
<!-- Uncomment it if you want to use DSP
139139
However, it is turned on since zksandbox uses DSP to generate CSS.
140-
-->
141140
<servlet>
142141
<servlet-name>dspLoader</servlet-name>
143142
<servlet-class>org.zkoss.web.servlet.dsp.InterpreterServlet</servlet-class>
@@ -150,6 +149,7 @@ Copyright (C) 2004 Potix Corporation. All Rights Reserved.
150149
<servlet-name>dspLoader</servlet-name>
151150
<url-pattern>*.dsp</url-pattern>
152151
</servlet-mapping>
152+
-->
153153

154154
<!-- /////////// -->
155155
<!-- Miscellaneous -->

zats-example/src/test/java/org/zkoss/zats/example/testcase/EnvironmentTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import static org.junit.Assert.assertEquals;
44
import static org.junit.Assert.assertNotNull;
55

6-
import javax.servlet.http.HttpSession;
6+
import jakarta.servlet.http.HttpSession;
77

88
import org.junit.*;
99
import org.zkoss.zats.junit.AutoClient;

zats-example/src/test/java/org/zkoss/zats/example/testcase/EnvironmentTest2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import static org.junit.Assert.assertEquals;
44
import static org.junit.Assert.assertNotNull;
55

6-
import javax.servlet.http.HttpSession;
6+
import jakarta.servlet.http.HttpSession;
77

88
import org.junit.*;
99
import org.zkoss.zats.junit.AutoClient;

zats-example/src/test/java/org/zkoss/zats/example/testcase/LoginLogoutTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import static org.junit.Assert.assertEquals;
44

5-
import javax.servlet.http.HttpSession;
5+
import jakarta.servlet.http.HttpSession;
66

77
import org.junit.*;
88
import org.zkoss.zats.example.testcase.util.LoginOperation;

0 commit comments

Comments
 (0)