• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JavaXML.framework and Java 21 (and Eclipse)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JavaXML.framework and Java 21 (and Eclipse)


  • Subject: Re: JavaXML.framework and Java 21 (and Eclipse)
  • From: Michael Schmiedgen via Webobjects-dev <email@hidden>
  • Date: Tue, 6 May 2025 11:50:43 +0200

Hi Paul,

we hit this too. JavaXML.framework is a bunch of old Jars
bundled together, so we use our own buldled Jar for a long
time now. The POM contains following snippet:

<!-- remove xml-apis after switch from Java 1.8 to 21 -->
<dependency>
  <groupId>xml-apis</groupId>
  <artifactId>xml-apis</artifactId>
  <version>1.4.01</version>
</dependency>
<dependency>
  <groupId>xerces</groupId>
  <artifactId>xercesImpl</artifactId>
  <version>2.12.2</version>
  <exclusions>
    <exclusion>
      <groupId>xml-apis</groupId>
      <artifactId>xml-apis</artifactId>
    </exclusion>
  </exclusions>
</dependency>

At the moment we still use xml-apis and configured
Eclipse and our compiler to be source- and target-compatible
with Java8, but using Java21 runtime and compiler.

If you move target to Java21 (or use the new "release"
compiler switch) you have to remove xml-apis.


2. Is anyone else living in a post-JavaXML.framework world? It smuggles in a lot of stuff that I'd like to get rid of (e.g., Log4J 1). If so, how did you do it?

I would recommend throwing it away. We have a separate
project, POM-only, that defines all the stuff needed (not
only JavaXML), and include that into our projects.


Michael


--
___________________________

Michael Schmiedgen, BSc
Senior Software Engineer

Takwa GmbH
Friedrich-List-Str. 15
99096 Erfurt GERMANY

Tel  +49 361 6534096
Fax  +49 361 6534097
Mail email@hidden
Web  http://www.takwa.de/
___________________________


Amtsgericht Jena HRB 112964
Geschäftsführung: Ingo Buchholz

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: JavaXML.framework and Java 21 (and Eclipse)
      • From: Paul Hoadley via Webobjects-dev <email@hidden>
References: 
 >JavaXML.framework and Java 21 (and Eclipse) (From: Paul Hoadley via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: Regarding the "localhostips" property in deployment
  • Next by Date: Re: JavaXML.framework and Java 21 (and Eclipse)
  • Previous by thread: JavaXML.framework and Java 21 (and Eclipse)
  • Next by thread: Re: JavaXML.framework and Java 21 (and Eclipse)
  • Index(es):
    • Date
    • Thread