Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext and Log4j/Reload4j
Xtext and Log4j/Reload4j [message #1851448] Wed, 06 April 2022 06:36 Go to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 14695
Registered: July 2009
Senior Member
Hi Xtexters

For reasons(tm) https://bugs.eclipse.org/bugs/show_bug.cgi?id=568936 https://github.com/eclipse/xtext/issues/2028
we have decided to move to reload4j (maven/gradle) and to the orbit org.apache.log4j 1.2.19 orbit bundle.
The current Xtext nightly contains that move.

We highly encourage you to test and give feedback

Thanks and kind regards
Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext and Log4j/Reload4j [message #1851449 is a reply to message #1851448] Wed, 06 April 2022 06:55 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7665
Registered: July 2009
Senior Member
Hi Christian

Running an OCL build now picks up log4j 1.2.19 from Xtext nightly whereas previously it came from Orbit. A cosmetic change presumably of no significance.

But now [2] org.apache.commons.lang fails when previously [1] it was resolved by

[INFO] Fetching org.apache.commons.lang_2.6.0.v201404270220.jar.pack.gz from https://download.eclipse.org/modeling/emft/mwe/updates/nightly/plugins/ (106.17kB)

Regards

Ed Willink

[1] https://ci.eclipse.org/ocl/job/ocl-branch-tests/306/consoleFull
[2] https://ci.eclipse.org/ocl/job/ocl-branch-tests/307/console



Re: Xtext and Log4j/Reload4j [message #1851450 is a reply to message #1851449] Wed, 06 April 2022 07:06 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 14695
Registered: July 2009
Senior Member
we removed commons lang from xtext as xtext itself no longer uses it
same for mwe https://github.com/eclipse/mwe/pull/212


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Wed, 06 April 2022 07:08]

Report message to a moderator

Re: Xtext and Log4j/Reload4j [message #1851482 is a reply to message #1851450] Wed, 06 April 2022 12:33 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7665
Registered: July 2009
Senior Member
Hi Christian

Ok. Turns out there was only one usage from contributed code and that invoked a deprecated routine for which EMF CodeGenUtil provides an adequate replacement.

Regards

Ed Willink
Previous Topic:Reference Enum Literals of an Ecore model
Next Topic:Using Quickfixes and a LanguageServer
Goto Forum:
  


Current Time: Fri Jul 19 13:22:40 GMT 2024

Powered by FUDForum. Page generated in 0.03906 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top