Giter VIP home page Giter VIP logo

Comments (14)

mathieuleclaire avatar mathieuleclaire commented on July 22, 2024 4

The PRs #118 and #121 and the CI fix commit do this for scala 2.12 and 2.13 JS and JVM.. There is only a final CI issue when deleting folders at the end; I don't no why. Otherwise all tests passed ! So a release can be done very soon !

rm: missing operand
Try 'rm --help' for more information
The command "find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm" exited with 123.

from boopickle.

mathieuleclaire avatar mathieuleclaire commented on July 22, 2024 1

f013b9b fixes the CI issue. So that we are now for releasing @ochrons

from boopickle.

mathieuleclaire avatar mathieuleclaire commented on July 22, 2024 1

I would really need to have a new version publshed with scalajs 1.0.0. Would you release it @ochrons ?

from boopickle.

slandelle avatar slandelle commented on July 22, 2024 1

@ochrons Beware that if you compile with Java 11, there's a chance you're breaking Java 8 compat. If your code is calling flip on a ByteBuffer, you'll be linking to the new override that doesn't exist on Java 8 (that only has Buffer#flip). You should be using Java 8 while releasing.

from boopickle.

ochrons avatar ochrons commented on July 22, 2024

Now published. Had a little bit of problem with ScalaDoc and Java11 (scala/scala#8663)

from boopickle.

mathieuleclaire avatar mathieuleclaire commented on July 22, 2024

Excellent, thanks !

from boopickle.

vic avatar vic commented on July 22, 2024

@ochrons, thanks for publishing boopickle for sjs1.

I'm working on updating cornerman/chameleon#53 to run with boopickle 1.3.2. However, I'm getting the following error:

[error] java.io.IOException: Failed to deserialize /v/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/suzaku/boopickle_sjs1_2.12/1.3.2/boopickle_sjs1_2.12-1.3.2.jar:/boopickle/BasicPicklers$$anon$6.sjsir
[error] Caused by: java.lang.IllegalArgumentException: malformed version: 0.6.17

but we are using sjs 1.0.1, full error:
https://gist.github.com/vic/e4a05a73eeba91cf5cd1bcc4ed6c8069#file-gistfile1-txt-L32

Perhaps the boopickle artifact still contains .sjsir files correspoding to the scalajs 0.6.17?

Or perhaps, am I missing something?

Cheers :)

from boopickle.

strelec avatar strelec commented on July 22, 2024

Even after clearing all caches. I can reproduce this issue.

from boopickle.

ochrons avatar ochrons commented on July 22, 2024

Perhaps something went wrong in the publishing process and it didn't rebuild using SJS1 but used some old version. Can you try with Scala 2.13, as I did thorough cleaning before publishing that version due to the aforementioned scaladoc issue.

from boopickle.

strelec avatar strelec commented on July 22, 2024

Otto, you are correct.

The project for Scala 2.13.1 compiles successfully.

from boopickle.

ochrons avatar ochrons commented on July 22, 2024

I guess it's time to release 1.3.3 then to fix this 😅

from boopickle.

ochrons avatar ochrons commented on July 22, 2024

Oh, good to know! I wonder if that could be somehow checked in the SBT build to prevent mistakes.

from boopickle.

slandelle avatar slandelle commented on July 22, 2024

Actually, you could easily work around this in your case.
It seems you only have one single flip call in your whole main code.
You could have a helper method such as def flip(bb: Buffer): Unit = bb.flip() that would make sure you're linking to Buffer#flip and not ByteBuffer#flip.

from boopickle.

ioleo avatar ioleo commented on July 22, 2024

@strelec I've had a similar issue (sjs 0.6 leftovers) with publishLocal on zio/zio, when we switched to SJS 1.0. sbt clean was not enough. Manually deleting the whole target directory helped.

from boopickle.

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.