Giter Club home page Giter Club logo

Comments (8)

dpishchukhin avatar dpishchukhin commented on September 21, 2024

So for a bundle that hasn't changed between KF4, KF5 and KF6 the bundle version is the same, but potentially compiled for different JDK versions.

@chlarsson But they have different osgi.ee requirements and have to have different versions.

from knopflerfish.org.

chlarsson avatar chlarsson commented on September 21, 2024

We have regarded this as compiling a C/C++ program for 32 or 64 bit, or ARM vs X86. The version is the same though.

from knopflerfish.org.

dpishchukhin avatar dpishchukhin commented on September 21, 2024

Cannot you use fragment bundles for native libs?

from knopflerfish.org.

chlarsson avatar chlarsson commented on September 21, 2024

I think you misunderstood. There's no native code / native libs, it was only a comparison. I.e. you normally don't change the version of a C-lib when you recompile it for X86_64. We have used the same philosophy in KF. I.e. we haven't changed the version of the bundle when changing JDK, it's just a recompilation. The distribution has then traditionally been as one complete versioned SDK with all bundles together. We have used this approach since 2003 (I don't think maven was around at that time). Anyway, this makes us not the ideal maven citizen and we are now looking at how to improve that.

from knopflerfish.org.

dpishchukhin avatar dpishchukhin commented on September 21, 2024

let me try to understand: you have bundles, for example, useradmin implementation that is compiled with JDK from 4 to 8 and all these artifacts have the same BSN and version, don't they? Only one difference from OSGi side - different osgi.ee requirement.

from knopflerfish.org.

chlarsson avatar chlarsson commented on September 21, 2024

Yes, that's correct.

from knopflerfish.org.

dpishchukhin avatar dpishchukhin commented on September 21, 2024

In this case, Maven classifier suits very well.

e.g.

  • org.knopflerfish/useradmin/1.0/jdk1.4
  • org.knopflerfish/useradmin/1.0/jdk1.5
  • etc.

from knopflerfish.org.

laeubi avatar laeubi commented on September 21, 2024

I would like to see the KF artifacts at maven central as well, and like to add the following aspect to the discussion:

Even though it is often the case, there is no requirement for a maven artifact to match its bundle versions, so it would be perfectly fine to deploy the KF5 artifacts under the maven version 5.0.0 and the KF6 ones as maven version 6.0.0 even if their bundle versions are the same!

from knopflerfish.org.

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.