Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jersey-dev] [External] : Heroku archetype web.xml still broken
  • From: "Steve Millidge (Payara)" <steve.millidge@xxxxxxxxxxx>
  • Date: Tue, 30 Mar 2021 08:27:32 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=payara.fish; dmarc=pass action=none header.from=payara.fish; dkim=pass header.d=payara.fish; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A0MvlhPG35zD7Dia+TGSjnRE2jjGcurNBv1IdjIZ78I=; b=HMlYJ/aTj9N2C+EKlwMYTf3GnFBkDBqFr6vMsLUHovt+S/7gFTBu47wYil/MalOLTsuXOXvIc7gjQpwYS1OX3vZiGiRQ/+S/UlAHWy79xTfmkhKJ7+hjZr9oBvUDMk26v0HhUny+hOPaXoYAUNkO3KFpOA5SLFtLudzlGcHsaJk1iO7nLGDhg8xmGjfbGPjFuxm2+aHd5RSOOMwUMlnniBWcUx4shtK8H1MKC8hWjexyNCWF3cgIry80VHh7Ds4H4aUWsNfj2aR4L5wc1wMqRDLQUvspSYxgRDFzl8rKjK9Y+ZOc8oUzzkhDENqxZZAnTw8O+V+QUs8qKOwhB2v2UA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f11qCDkYggJFKSMMfiBRuqfX81AM7IzkcfWFvld9bctkl7i4zs7vGmfdTn9pGnI9qDK6IqnYGy4BUx+KGSSPaNzbd3d7C0dCXA8qVRCA8gpM+aIgEIwSJbOoVnSubMoudeWGPeQ3rNdV5oTaeQd+iOPt2ujY81hQSfPhIMnasXr/70eyJD2p7zil0G6K7KGegl/JlRF+XONtq/sOm0h0fjLXK26+iUDQcQSqNM3wAsPvYSvDBWcW1b80/EywHwSsYgtnT5N+b8tfzm2x1VzHsfO7MZ6mQHJtULNZ1TBGK9pe+M/ndnpZKHuXUaP4ZKMw6qhLmK5gPFRKnwYNuaodFg==
  • Delivered-to: jersey-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jersey-dev/>
  • List-help: <mailto:jersey-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jersey-dev>, <mailto:jersey-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jersey-dev>, <mailto:jersey-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXIgycsXd0Fb1OCEWRRzACkISKAaqcMzeA
  • Thread-topic: [jersey-dev] [External] : Heroku archetype web.xml still broken

Hi Som,

 

You could raise a PR for the changes?

 

Steve

 

From: jersey-dev <jersey-dev-bounces@xxxxxxxxxxx> On Behalf Of Som Lima
Sent: 29 March 2021 20:37
To: jersey developer discussions <jersey-dev@xxxxxxxxxxx>
Subject: Re: [jersey-dev] [External] : Heroku archetype web.xml still broken

 

*nix scripts to search and replace strings.

 

It will help to eliminate  human errors such as  the  aforementioned error found in the  web.xml.

 

To change files with a string which has a forward slash(/) in it.

 

find . -name web.xml -type f -exec sed -i 's+http://example.com+https://example.com+g' {} +

 

If you have anymore files which need updating the namespace from javax to jakarta

 

grep -RiIl 'javax' | xargs sed -i 's/javax/jakarta/g'

 

 

It is a one liner which takes only a few seconds or minutes to run.

 

 

 

On Fri, 26 Mar 2021, 06:52 Maxim Nesen, <maxim.nesen@xxxxxxxxxx> wrote:

Hi,

 

 

The issue with Heroku archetype NS was introduced while moving to Jakarta EE 9 NS. This NS was not properly transferred to Jakarta EE 9 NS.

 

This will be fixed. Same for the broken URLs in project-info pages on the web site.

 

 

Thanks for reporting,

 

Regards,

Maxim


Od: jersey-dev <jersey-dev-bounces@xxxxxxxxxxx> za uživatele Som Lima <somplasticllc@xxxxxxxxx>
Odesláno: pátek 26. března 2021 4:32
Komu: jersey developer discussions <jersey-dev@xxxxxxxxxxx>
Předmět: [External] : [jersey-dev] Heroku archetype web.xml still broken

 

Thanks for trying to fix the heroku  archetype  web.xml .

I really appreciate  you listening  but it is wrong.

 

This is WRONG

 

This is RIGHT

 

I copied and pasted from jersey/examples/bookstore-webapp/src/main/webapp/WEB-INF/web.xml

 

I know it is wrong because if you upload the created project into eclipse it lights up in red  with the message

 

Multiple annotations found at this line:
- There are '5' errors in 'web-app_5_0.xsd'.
- schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/javaee/
web-app_5_0.xsd', because 1) could not find the document; 2) the document could not be read;
3) the root element of the document is not <xsd:schema>.

 

 

I know it is 5 errors but lists only 3) . Could be 4. It is what it is.

 

Regards

 

_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jersey-dev


Back to the top