logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <boa...@gmail.com>
Subject Re: Should log4j-core be runnable using only the compact2 JDK1.8 profile?
Date Tue, 22 Jul 2014 23:57:09 GMT
Chances are that Jackson doesn't work in compact1. There's always Apache
Xerces as a dependency for that, though.


On 22 July 2014 18:50, Gary Gregory <garydgregory@gmail.com> wrote:

> On Tue, Jul 22, 2014 at 7:37 PM, Matt Sicker <boards@gmail.com> wrote:
>
>> I'm talking about the DOM and SAX APIs. There are literally no XML APIs
>> in compact1. It's all the low level basics, really. I mean, compact1 gives
>> you more than J2ME does I think (which they're probably trying to phase out
>> and replace with a unified modular JDK), but it's not enough for our core
>> functionality. Nobody wants to write an XML parser by hand. ;)
>>
>
> So we could use Jackson, but that adds a dependency. Or... support
> property files.
>
> Gary
>
>
>>
>>
>> On 22 July 2014 17:00, Gary Gregory <garydgregory@gmail.com> wrote:
>>
>>> The XML classes we use are from Jackson not JAXB, so does it matter that
>>> compact 1 does not include XML?
>>>
>>> Gary
>>>
>>>
>>> -------- Original message --------
>>> From: Matt Sicker
>>> Date:07/22/2014 17:37 (GMT-05:00)
>>> To: Log4J Developers List
>>> Subject: Should log4j-core be runnable using only the compact2 JDK1.8
>>> profile?
>>>
>>> The compact2 profile leaves out a bunch of packages the JDK would
>>> normally include. I think it's even a subset of the Android classes
>>> available. Making it so log4j-core runs with just the compact2 profile
>>> would really mean it's all core, but I'm not sure which compact profile
>>> would be best to target. Things like JNDI, JDBC, Swing, AWT, etc., aren't
>>> included in the compact2 profile.
>>>
>>> I would have suggested compact1, but that doesn't even include any XML
>>> classes, so that's not really viable.
>>>
>>> --
>>> Matt Sicker <boards@gmail.com>
>>>
>>
>>
>>
>> --
>> Matt Sicker <boards@gmail.com>
>>
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>



-- 
Matt Sicker <boards@gmail.com>

Mime
View raw message