That's it Richard. You are correct. I can't think of a better option. But if we do have a better proposal for the classifier to use when embedded in Tomcat, we can change it with TomEE 9 and onwards -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com
On Mon, May 23, 2022 at 11:09 AM Zowalla, Richard < richard.zowa...@hs-heilbronn.de> wrote: > Hi Alex, > > afaik, the difference is as follows: > > The JAR "javaee-api-XY.jar" contains all required APIs for a given EE > release. > > Tomcat - by design - also includes some EE APIs. To avoid duplicates > with the APIs brought in by Tomcat, there is "javaee-api-XY- > tomcat.jar", which excludes those already provided APIs (via Tomcat) > from the shaded JAR. > > I admit, that the naming with the classifier "tomcat" is a bit > misleading / confusing. > > Hope it helps > Gruß > Richard > > Am Montag, dem 23.05.2022 um 10:57 +0200 schrieb Alex The Rocker: > > Hello Jean-Louis & Richard, > > > > Maybe the issue is that Apache TomEE+ 8.0.11 contains > > javaee-api-8.0-5-tomcat.jar instead of javaee-api-8.05.jar ? > > (I am referring to the ZIP distribution of Apache TomEE+ 8.0.11, > > found > > at : > > > https://www.apache.org/dyn/closer.cgi/tomee/tomee-8.0.11/apache-tomee-8.0.11-plus.zip > > ) > > > > Also it's unclear to me why there is a javaee-api-8.0-6-tomcat.jar > > and > > a javaee-api-8.0-6.jar : what's the difference between these two > > JARs, > > and why Apache TomEE+ seems to "prefer" to embed > > javaee-api-*-tomcat.jar ? > > > > Kind regards, > > Alex > > > > Le lun. 23 mai 2022 à 10:42, Jean-Louis Monteiro > > <jlmonte...@tomitribe.com> a écrit : > > > Hi Alex, > > > > > > Thanks for checking and testing. > > > > > > I'm sorry I can't understand the issue. > > > I double checked the size from the 8.0-5 > > > > https://repository.apache.org/content/repositories/releases/org/apache/tomee/javaee-api/8.0-5/ > > > > > > And the staging repo for 8.0-6 > > > > https://repository.apache.org/content/repositories/orgapachetomee-1202/org/apache/tomee/javaee-api/8.0-6/ > > > > > > Both the tomcat and the non-tomcat version are smaller in 8.0-6 > > > > > > > > > -- > > > Jean-Louis Monteiro > > > http://twitter.com/jlouismonteiro > > > http://www.tomitribe.com > > > > > > > > > On Mon, May 23, 2022 at 10:35 AM Alex The Rocker < > > > alex.m3...@gmail.com> > > > wrote: > > > > > > > Hi Jean-Louis, > > > > > > > > I have tested, and JDK11 build issue which I had with > > > > javaee-api-8.0-5-tomcat.jar as not reproducible so the issue is > > > > fixed > > > > from my perspective > > > > > > > > However, one detail worries me: > > > > javaee-api-8.0-5-tomcat.jar size is 1040753 bytes large > > > > javaee-api-8.0-6.jar size is 1437502 bytes large > > > > > > > > Since javaee-api 8.0.6's goal is to remove package which are > > > > duplicate > > > > of ones available in Java standard libraries, how can we have > > > > almost > > > > 400kbytes more from 8.0.5 to 8.0.6 ? > > > > > > > > Also why in TomEE 8.0.11 the JAR name is javaee-api-8.0-5- > > > > tomcat.jar > > > > and now we have a javaee-api-8.0-6.jar (I personally prefer that > > > > later > > > > naming) ? > > > > > > > > Kind regards, > > > > Alexandre > > > > > > > > Le lun. 23 mai 2022 à 10:03, Jean-Louis Monteiro > > > > <jlmonte...@tomitribe.com> a écrit : > > > > > Hi folks! > > > > > > > > > > I'd like to call a VOTE on Apache TomEE javaee-api-8.0.6. > > > > > > > > > > This mostly contains 2 fixes to remove non EE APIs such as > > > > > javax.cache > > > > and > > > > > more important javax.xml because it's messing up with JDK11 > > > > > compiler > > > > > (conflict with a java.xml module). > > > > > > > > > > https://issues.apache.org/jira/browse/TOMEE-3969 > > > > > https://issues.apache.org/jira/browse/TOMEE-3970 > > > > > > > > > > The staging repo is: > > > > > > https://repository.apache.org/content/repositories/orgapachetomee-1202 > > > > > > > > > > The source zip can be found at > > > > > https://dist.apache.org/repos/dist/dev/tomee/javaee-api-8.0-6/ > > > > > > > > > > Please VOTE > > > > > > > > > > [+1] go ship it > > > > > [+0] meh, don't care > > > > > [-1] stop, there is a ${showstopper} > > > > > > > > > > The VOTE is open for 72h > > > > > > > > > > -- > > > > > Jean-Louis Monteiro > > > > > http://twitter.com/jlouismonteiro > > > > > http://www.tomitribe.com >