GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Upgrade Thorntail with JDK 11 support · javaee-samples/javaee7-samples@127aaba

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • ejb/timer/src
    • main/webapp/WEB-INF
      • jboss-deployment-structure.xml
    • test/java/org/javaee7/ejb/timer
      • AutomaticTimerBeanTest.java
      • MultipleScheduleTimerBeanTest.java
      • ProgrammaticTimerBeanTest.java
      • SchedulesTimerBeanTest.java
  • pom.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎ejb/timer/src/main/webapp/WEB-INF/jboss-deployment-structure.xml‎

Copy file name to clipboard
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0"?>
2+
<jboss-deployment-structure>
3+
<deployment>
4+
<dependencies>
5+
<!-- com.jayway.awaitility uses sun.reflect internally, module needed in JDK 11 -->
6+
<module name="jdk.unsupported"/>
7+
</dependencies>
8+
</deployment>
9+
</jboss-deployment-structure>
10+
Collapse file

‎ejb/timer/src/test/java/org/javaee7/ejb/timer/AutomaticTimerBeanTest.java‎

Copy file name to clipboardExpand all lines: ejb/timer/src/test/java/org/javaee7/ejb/timer/AutomaticTimerBeanTest.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
import static org.hamcrest.Matchers.is;
88
import static org.javaee7.ejb.timer.WithinWindowMatcher.withinWindow;
99

10+
import java.io.File;
11+
1012
import javax.inject.Inject;
1113

1214
import org.jboss.arquillian.container.test.api.Deployment;
@@ -35,7 +37,8 @@ public static WebArchive deploy() {
3537
.addAsLibraries(Maven.resolver().loadPomFromFile("pom.xml")
3638
.resolve("com.jayway.awaitility:awaitility")
3739
.withTransitivity().asFile())
38-
.addClasses(WithinWindowMatcher.class, Ping.class, PingsListener.class, AutomaticTimerBean.class);
40+
.addClasses(WithinWindowMatcher.class, Ping.class, PingsListener.class, AutomaticTimerBean.class)
41+
.addAsWebInfResource(new File("src/main/webapp/WEB-INF/jboss-deployment-structure.xml"));
3942
}
4043

4144
@Test
Collapse file

‎ejb/timer/src/test/java/org/javaee7/ejb/timer/MultipleScheduleTimerBeanTest.java‎

Copy file name to clipboardExpand all lines: ejb/timer/src/test/java/org/javaee7/ejb/timer/MultipleScheduleTimerBeanTest.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import static org.javaee7.ejb.timer.WithinWindowMatcher.withinWindow;
1010
import static org.jboss.shrinkwrap.api.ShrinkWrap.create;
1111

12+
import java.io.File;
13+
1214
import javax.inject.Inject;
1315

1416
import org.jboss.arquillian.container.test.api.Deployment;
@@ -36,7 +38,8 @@ public static WebArchive deploy() {
3638
.addAsLibraries(Maven.resolver().loadPomFromFile("pom.xml")
3739
.resolve("com.jayway.awaitility:awaitility")
3840
.withTransitivity().asFile())
39-
.addClasses(WithinWindowMatcher.class, Ping.class, PingsListener.class, MultipleScheduleTimerBean.class);
41+
.addClasses(WithinWindowMatcher.class, Ping.class, PingsListener.class, MultipleScheduleTimerBean.class)
42+
.addAsWebInfResource(new File("src/main/webapp/WEB-INF/jboss-deployment-structure.xml"));
4043
}
4144

4245
@Test
Collapse file

‎ejb/timer/src/test/java/org/javaee7/ejb/timer/ProgrammaticTimerBeanTest.java‎

Copy file name to clipboardExpand all lines: ejb/timer/src/test/java/org/javaee7/ejb/timer/ProgrammaticTimerBeanTest.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
import static org.javaee7.ejb.timer.WithinWindowMatcher.withinWindow;
99
import static org.jboss.shrinkwrap.api.ShrinkWrap.create;
1010

11+
import java.io.File;
12+
1113
import javax.inject.Inject;
1214

1315
import org.jboss.arquillian.container.test.api.Deployment;
@@ -40,7 +42,9 @@ public static WebArchive deploy() {
4042
WithinWindowMatcher.class,
4143
Ping.class,
4244
PingsListener.class,
43-
ProgrammaticTimerBean.class);
45+
ProgrammaticTimerBean.class)
46+
.addAsWebInfResource(new File("src/main/webapp/WEB-INF/jboss-deployment-structure.xml"));
47+
4448
}
4549

4650
@Test
Collapse file

‎ejb/timer/src/test/java/org/javaee7/ejb/timer/SchedulesTimerBeanTest.java‎

Copy file name to clipboardExpand all lines: ejb/timer/src/test/java/org/javaee7/ejb/timer/SchedulesTimerBeanTest.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import static org.javaee7.ejb.timer.WithinWindowMatcher.withinWindow;
1010
import static org.jboss.shrinkwrap.api.ShrinkWrap.create;
1111

12+
import java.io.File;
13+
1214
import javax.inject.Inject;
1315

1416
import org.jboss.arquillian.container.test.api.Deployment;
@@ -36,7 +38,8 @@ public static WebArchive deploy() {
3638
.addAsLibraries(Maven.resolver().loadPomFromFile("pom.xml")
3739
.resolve("com.jayway.awaitility:awaitility")
3840
.withTransitivity().asFile())
39-
.addClasses(WithinWindowMatcher.class, Ping.class, PingsListener.class, SchedulesTimerBean.class);
41+
.addClasses(WithinWindowMatcher.class, Ping.class, PingsListener.class, SchedulesTimerBean.class)
42+
.addAsWebInfResource(new File("src/main/webapp/WEB-INF/jboss-deployment-structure.xml"));
4043
}
4144

4245
@Test
Collapse file

‎pom.xml‎

Copy file name to clipboardExpand all lines: pom.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<glassfish.version>4.1.1</glassfish.version>
4040
<liberty.version>16.0.0.4</liberty.version>
4141
<wildfly.version>13.0.0.Final</wildfly.version>
42-
<wildfly.swarm.version>2.0.0.Final</wildfly.swarm.version>
42+
<wildfly.swarm.version>2.4.0.Final</wildfly.swarm.version>
4343
<tomee.version>7.0.2</tomee.version>
4444
<tomcat.version>9.0.4</tomcat.version>
4545
</properties>

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.