Coder Social home page Coder Social logo

Comments (7)

magixsource avatar magixsource commented on April 20, 2024

Yes,How to make compile version low than 1.7 ?

from logback-extensions.

 avatar commented on April 20, 2024

In the parent pom.xml file at https://github.com/qos-ch/logback-extensions/blob/master/pom.xml, the JDK version is specified as

<jdk.version>1.7</jdk.version>

If you update it to
<jdk.version>1.5</jdk.version>
you will be able support more JDK versions and the project will be more usable.
Thanks.

from logback-extensions.

oysteinhagenpettersen avatar oysteinhagenpettersen commented on April 20, 2024

Any plans to support java 6?

Thanks.

from logback-extensions.

mikereinhold avatar mikereinhold commented on April 20, 2024

The Logback team polled the dev and user community a while back asking
about migrating the project to a newer Java specification in order to be
able to take advantage of new language features at the cost of
compatibility. At that point in time, there was little to no pushback from
the community because Oracle has had Java 5 & 6 in an End of Support state
for quite a while.

Depending on what newer language features have been used by commits merged
into the project since that time, just changing the JDK version in the pom
will most likely break the build.

Is there a particular reason your project is stuck on JDK 5 or 6 so you can
use the most recent versions? If you absolutely need JDK 5 or 6, you'll
have to use an older version of Logback that was built prior to the change
(not sure which version had that off the top of my head, but you can find
it in the release notes I'm sure).

Regards,
Mike

On Thu, Feb 5, 2015 at 9:44 AM, oysteinhagenpettersen <
[email protected]> wrote:

Any plans to support java 6?

Thanks.


Reply to this email directly or view it on GitHub
#25 (comment)
.

Mike Reinhold | Co-Founder

from logback-extensions.

oysteinhagenpettersen avatar oysteinhagenpettersen commented on April 20, 2024

Thanks for you comment. Cannot move away from Java6 at the moment. Will review the release notes and use an older version.

Regs
Oystein

from logback-extensions.

tony19 avatar tony19 commented on April 20, 2024

@magixsource, to rebuild logback-extensions with a different JDK version, specify jdk.version=<version> from the command line. For example, to specify 1.6:

mvn clean package -Djdk.version=1.6

from logback-extensions.

tony19 avatar tony19 commented on April 20, 2024

@mikereinhold, the poll you mention was specific to logback proper IIRC. It seems logback-extensions should at least match the JDK versions that logback supports to maintain compatibility. And that's a trivial change with minimal impact.

from logback-extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.