Bug 61894

Summary: ant still using old jakarta packages
Product: Ant Reporter: William L Thomson Jr <wlt-ml>
Component: CoreAssignee: Ant Notifications List <notifications>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 1.10.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description William L Thomson Jr 2017-12-12 19:26:28 UTC
Trying to see what the status or usefulness of old Jakarta projects still in use in Apache ant. Seems the following are still in use

jakarta-oro retired 2010
https://attic.apache.org/projects/jakarta-oro.html

jakarta-regex retried 2011
https://attic.apache.org/projects/jakarta-regexp.html

Both still seem needed for ant 1.10.1. I assume those portions of ant can be omitted to drop the following dependencies. Just seems strange for them to remain in use many years after retirement.

Thanks!
Comment 1 Stefan Bodewig 2017-12-12 20:59:57 UTC
They are dependencies for optional parts of Ant. Much of it became obsolete with Java 1.4 even though at least ORO used to be technically superior to java.util.regex. Even with Java 10 users can explicitly ask for the jakarta implementatins over java.util.regex.

We simply never saw any reason to remove working code that may be used by some people and can be ignored by all others.

Are they causing any problems for you?
Comment 2 William L Thomson Jr 2017-12-12 23:01:02 UTC
No they are not causing any problems. I was just packing stuff on Gentoo, or migrating away from in my overlay. I noticed they were very old. Just wondering if its worth while to keep offering such packages. I can remove them from the ant package, and delete referencing classes. I have done that with some other stuff, like jaxen and jdom. That have circular dependencies. But rather see people stop using jaxen, and if jdom, jdom2. They do not want to update, and its just all legacy stuff that should be avoided IMHO. Which I guess jakarta stuff falls into that category.

The only problem I see in general is propagating old stuff, and allowing others to continue to use rather than move on to more current stuff. There is so much legacy cruft in the Java world. Anywhere it can be shed I am happy to see such. Not my personal mission per se. But would be nice to move past stuff no longer being developed. I do modify packages to use newer stuff at times. Rather see things move forward than keep on with the old.

What you said about it being superior makes sense. Though if people felt that way and continued using it. I would assume they would want to further the code, be an active project, etc. If nothing else update it to generics, lambda, and other stuff. Though that may effect its performance.

Either way no worries. I had assumed it was optional just wanted to understand why it was in ant still. I can address it for now. Welcome to close or leave open. Thank you for clarifying!
Comment 3 William L Thomson Jr 2017-12-12 23:06:04 UTC
Looking around more, seems other things are still using it. I think most all are apache prodjects, castor-xml, jmeter-components, jmeter-core, and some other stuff. Not all apache. There does seem to be an issue with legacy Java code around Apache. Not sure if I can help to improve that.