Path: csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Emmanuel Bourg 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: References: X-Original-To: Fab Stz , 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: 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: archive/latest/23738 List-ID: List-URL: 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 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