GithubHelp home page GithubHelp logo

Comments (16)

lefou avatar lefou commented on June 3, 2024 1

Maybe, it's a good idea to re-add the initial test case I added to #61, which then got reverted in #63 + #64, apparently due to the race condition.

from sbt-osgi.

mdedetrich avatar mdedetrich commented on June 3, 2024 1

Maybe, it's a good idea to re-add the initial test case I added to #61, which then got reverted in #63 + #64, apparently due to the race condition.

@lefou PR made at #97 and it passes

from sbt-osgi.

mdedetrich avatar mdedetrich commented on June 3, 2024

@romainreuillon Should I assign you this issue? I noticed that you made some PR's on this topic so you seem to know the most about this problem

from sbt-osgi.

romainreuillon avatar romainreuillon commented on June 3, 2024

I think this PR: 65ad38f fixes this issue doesn't it?

Can you try @lefou?

from sbt-osgi.

lefou avatar lefou commented on June 3, 2024

I thought that too, but if I understood @mdedetrich correctly, sbt-osgi 0.9.8 (which contains the fix) does not work with Pekko, whereass the specially released sbt-osgi v0.9.4-INVALID-CEN-JAR-PATCH does.

from sbt-osgi.

mdedetrich avatar mdedetrich commented on June 3, 2024

@romainreuillon I have already merged that PR and made a release of sbt-osgi (v0.9.8) and it didn't solve the issue (at least for Pekko)

from sbt-osgi.

mdedetrich avatar mdedetrich commented on June 3, 2024

I thought that too, but if I understood @mdedetrich correctly, sbt-osgi 0.9.8 (which contains the fix) does not work with Pekko, whereass the specially released sbt-osgi v0.9.4-INVALID-CEN-JAR-PATCH does.

Maybe you can try and replicate it on your end, if it did end up solving the issue for you maybe we have multiple issues (and/or I didn't test correctly in which case I would do it again).

from sbt-osgi.

lefou avatar lefou commented on June 3, 2024

@mdedetrich Can you post the error and/or give a link the the build logs?

from sbt-osgi.

mdedetrich avatar mdedetrich commented on June 3, 2024

The core issue is here apache/pekko#757 but the error I get is apache/pekko#745 (comment), i.e. there appears to be multiple classes in the produced jar's?

Let me know if I need to provide additional info

from sbt-osgi.

lefou avatar lefou commented on June 3, 2024

Thanks. As stated previously in the various Akka vs. OSGi tickets, I no longer have any sbt project that uses Akka and OSGi. I still have OSGi projects but I build them with Mill now, where this issues does not occur, as Mill has a more proper cache and output concept than sbt. I do not plan to work on these issue again, but I wanted to point out potential related issues as I felt kind-of responsible, as it was my PR that introduced the race condition. I'm happy that one is fixed. I now think the multiple classes issue in unrelated.

from sbt-osgi.

lefou avatar lefou commented on June 3, 2024

I think we can close this issue and assign it to version/milestone 0.9.8.

from sbt-osgi.

mdedetrich avatar mdedetrich commented on June 3, 2024

Okay, I will do a bit more digging and/or wait for @romainreuillon response (if he has one) to confirm that we are dealing with different separate issues or a rather a single one.

from sbt-osgi.

mdedetrich avatar mdedetrich commented on June 3, 2024

Maybe, it's a good idea to re-add the initial test case I added to #61, which then got reverted in #63 + #64, apparently due to the race condition.

Ill get to this during the week

from sbt-osgi.

romainreuillon avatar romainreuillon commented on June 3, 2024

Indeed I have not encountered this kind of error message yet.

from sbt-osgi.

mdedetrich avatar mdedetrich commented on June 3, 2024

@lefou @romainreuillon So shall I close this issue since its been confirmed that the problem Pekko is experiencing specifically is another issue and this issue is actually solved?

from sbt-osgi.

lefou avatar lefou commented on June 3, 2024

@mdedetrich Yeah, this issue is fixed now. Thank you for re-adding the tests.

from sbt-osgi.

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.