Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #13011

Re: Packaging questions for css-validator (& webapp/war), servlet-api 2.2...

Path csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: Packaging questions for css-validator (& webapp/war), servlet-api 2.2...
Date Mon, 16 Jun 2025 23:20:01 +0200
Message-ID <KYppf-b39Y-5@gated-at.bofh.it> (permalink)
References <KYb2V-aTIh-13@gated-at.bofh.it> <KYb2V-aTIh-11@gated-at.bofh.it> <KYhL3-aYgw-3@gated-at.bofh.it> <KYppf-b39Y-7@gated-at.bofh.it>
X-Original-To Fab Stz <fabstz-it@yahoo.fr>, debian-java@lists.debian.org
X-Mailbox-Line From debian-java-request@lists.debian.org Mon Jun 16 21:11:52 2025
Old-Return-Path <ebourg@apache.org>
X-Amavis-Spam-Status No, score=-10.497 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, NICE_REPLY_A=-1.201, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Greylist delayed 487 seconds by postgrey-1.36 at bendel; Mon, 16 Jun 2025 21:11:36 UTC
Authentication-Results apache.org; auth=none
MIME-Version 1.0
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1
Content-Language en-US
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-java@lists.debian.org> archive/latest/23738
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/3533175b-ae87-77b4-2e20-e9da783f4c97@apache.org
Approved robomod@news.nic.it
Lines 37
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 16 Jun 2025 23:03:25 +0200
X-Original-Message-ID <3533175b-ae87-77b4-2e20-e9da783f4c97@apache.org>
X-Original-References <3223984.Mh6RI2rZIc.ref@debian> <3223984.Mh6RI2rZIc@debian> <674183b5-d044-7d77-2b62-40c5c4cbe13b@apache.org> <3997850.e9J7NaK4W3@debian>
Xref csiph.com linux.debian.maint.java:13011

Show key headers only | View raw


On 16/06/2025 20:32, Fab Stz wrote:

>> You most certainly don't need the Servlet API 2.2, the package should
>> build against libservlet-api-java (Servlet API 4.0) with minor
>> adjustments (if any).
> 
> Actually I did that initially and even tried to "fix it" but that went much
> above my skills and interest. Enough to prefer engaging in making the package
> for api 2.2 and searching its source code (which was not an easy part).
> Actually many functions of servlet >= 2.3 are not implemented in jigsaw. Build
> fails with any servlet-api version >= 2.3. Would anyone try to fix/patch it?
> The package on my salsa repo would be a good starting point since it builds
> fine with the  bin:libjakarta-servletapi-2.2-java package installed, otherwise
> sources (without the debian part) can taken from:
> https://github.com/tenzap/jigsaw (branch with-jdk21).

I just realized that Jigsaw is actually a web server, so that's not 
surprising if it doesn't build with the Servlet API 4.0.

But this raises another question: why a 20 year old unmaintained web 
server is necessary? Is it possible to do without it?


>>> How would you ship the **war** or **webapp**?
>>
>> If vnu doesn't require the webapp, do not package it. Let's keep things
>> simple (and fun).
> 
> Now that it's done, can I leave it that way instead of just throwing all the
> work away?
> It can actually have some interest to deploy the war/webapp on the server
> (jetty/tomcat) that's why I packaged it.

It's also about avoiding extra work in the future for maintaining a 
package that may not be used.

Emmanuel Bourg

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Packaging questions for css-validator (& webapp/war),  servlet-api 2.2... Fab Stz <fabstz-it@yahoo.fr> - 2025-06-16 08:00 +0200
  Re: Packaging questions for css-validator (& webapp/war), servlet-api  2.2... Emmanuel Bourg <ebourg@apache.org> - 2025-06-16 15:10 +0200
    Re: Packaging questions for css-validator (& webapp/war), servlet-api  2.2... Emmanuel Bourg <ebourg@apache.org> - 2025-06-16 23:20 +0200
      Re: Packaging questions for css-validator (& webapp/war), servlet-api  2.2... Emmanuel Bourg <ebourg@apache.org> - 2025-06-17 11:50 +0200
        Re: Packaging questions for css-validator (& webapp/war), servlet-api  2.2... Emmanuel Bourg <ebourg@apache.org> - 2025-06-18 09:10 +0200

csiph-web