Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Contribute emulation of org.apache.log4j?

49 views
Skip to first unread message

Neil Aggarwal

unread,
Jan 27, 2025, 6:57:14 AMJan 27
to google-we...@googlegroups.com
Hello all:

My existing code made extensive use of org.apache.log4j.* packages
so I created super-source versions of those classes to allow my code
to compile under GWT.

If you all think it would be useful, I can create a fork which maps those
package to java.util.logging.* so other people can compile code which
uses log4j.

Let me know if this is something you would like me to contribute.

Thank you,
Neil

--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!

Vegegoku

unread,
Jan 27, 2025, 7:11:33 AMJan 27
to GWT Users
I would also recommend that you check https://github.com/DominoKit/domino-slf4j-logger/tree/master
it is a slf4j emulation that works for both gtw and j2cl.

Neil Aggarwal

unread,
Jan 27, 2025, 10:01:41 AMJan 27
to google-we...@googlegroups.com

> I would also recommend that you check https://github.com/DominoKit/domino-slf4j-logger/tree/master
> it is a slf4j emulation that works for both gtw and j2cl.

Thanks for the info!

That would require changing the code from log4j to slf4j, correct?

I am trying to propose a solution which does not require code changes.

Michael Conrad

unread,
Jan 27, 2025, 10:13:22 AMJan 27
to google-we...@googlegroups.com

Can’t you can publish the super source as a separate package that can be included via dependency management and appropriate GWT XML includes?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/aefcfff34d6f0bcd22d6e6b32da25d57%40mail.gmail.com.

Neil Aggarwal

unread,
Jan 27, 2025, 10:16:04 AMJan 27
to google-we...@googlegroups.com

Yes, I can make it into a separate library, but I am thinking users may not
realize it exists.  If it is included in GWT, they will get it automatically.

 

Thank you,

 Neil

 

--

Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com

We offer 30 year loans on single family houses!

 

Jens

unread,
Jan 27, 2025, 11:32:25 AMJan 27
to GWT Users

Yes, I can make it into a separate library, but I am thinking users may not
realize it exists.  If it is included in GWT, they will get it automatically.


GWT SDK will only ship JRE emulation out of the box. Emulation for third party libraries must be provided externally. 

GWT maintainers will not maintain emulation code for all kinds of third party libaries and keep it up-to-date. 

-- J.

Neil Aggarwal

unread,
Jan 27, 2025, 12:14:36 PMJan 27
to google-we...@googlegroups.com
Got it. Thanks for the info.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages