You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2022/03/23 06:52:23 UTC

[wicket] branch master updated (7c32202 -> 8beff00)

This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git.


    from 7c32202  Update grunt-contrib-jshint, npm and Node.js
     new 07775d3  Enable WebSocket support in StartExamples.java
     new 8beff00  Remove Framebuffer support ('services: xvfb') in TravisCI

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:
 .travis.yml                                                         | 2 +-
 .../src/test/java/org/apache/wicket/examples/StartExamples.java     | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

[wicket] 01/02: Enable WebSocket support in StartExamples.java

Posted by mg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git

commit 07775d3c0557010e8731245148ca499f80bc4eb3
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Wed Mar 23 08:50:01 2022 +0200

    Enable WebSocket support in StartExamples.java
    
    Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
 .../src/test/java/org/apache/wicket/examples/StartExamples.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/wicket-examples/src/test/java/org/apache/wicket/examples/StartExamples.java b/wicket-examples/src/test/java/org/apache/wicket/examples/StartExamples.java
index 90e72ad..60148ff 100644
--- a/wicket-examples/src/test/java/org/apache/wicket/examples/StartExamples.java
+++ b/wicket-examples/src/test/java/org/apache/wicket/examples/StartExamples.java
@@ -106,9 +106,9 @@ public class StartExamples
 //		sessionCache.setSessionDataStore(sessionStore);
 //		bb.getSessionHandler().setSessionCache(sessionCache);
 
-//		ServletContextHandler contextHandler = ServletContextHandler.getServletContextHandler(bb.getServletContext());
-//		JakartaWebSocketServletContainerInitializer.configure(contextHandler,
-//				(servletContext, container) -> container.addEndpoint(new WicketServerEndpointConfig()));
+		ServletContextHandler contextHandler = ServletContextHandler.getServletContextHandler(bb.getServletContext());
+		JakartaWebSocketServletContainerInitializer.configure(contextHandler,
+				(servletContext, container) -> container.addEndpoint(new WicketServerEndpointConfig()));
 
 		// uncomment next line if you want to test with JSESSIONID encoded in the urls
 //		((AbstractSessionManager) bb.getSessionHandler().getSessionManager()).setUsingCookies(false);

[wicket] 02/02: Remove Framebuffer support ('services: xvfb') in TravisCI

Posted by mg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git

commit 8beff007abec5e312759af42110216883d9f7c25
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Wed Mar 23 08:51:03 2022 +0200

    Remove Framebuffer support ('services: xvfb') in TravisCI
    
    Trying to fix issue:
    
    INFO] Running "qunit:all" (qunit) task
    [INFO] Testing http://localhost:38887/test/js/all.html?1.12.4 .Fatal error: Execution context is not available in detached frame "about:blank" (are you trying to evaluate?)
    
    There is no FB in Github Actions and it works well.
    
    Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 2934bfa..885a4d8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,13 +15,13 @@
 # specific language governing permissions and limitations
 # under the License.
 
+language: generic
 os: linux
 dist: focal
 group: edge
 arch: arm64-graviton2
 virt: vm
 
-services: xvfb
 env:
   - CHROMIUM=true