Giter VIP home page Giter VIP logo

Comments (3)

mpilquist avatar mpilquist commented on June 15, 2024

Looks like scodec-core is erroneously including the scodec-bits class files, most likely due to a bad sbt-osgi Export-Package setting.

On Mar 7, 2015, at 4:09 PM, Richard Searle [email protected] wrote:

Note that both scodec-bits_2.10-1.0.5.jar and scodec-bits_2.10-1.0.4.jar are referenced

A project that only references scodec-core does not fail.

[info] Including from cache: scodec-bits_2.10-1.0.5.jar
[info] Including from cache: scodec-stream_2.10-0.7.0.jar
[info] Including from cache: scalaz-stream_2.10-0.6a.jar
[info] Including from cache: scalaz-effect_2.10-7.1.0.jar
[info] Including from cache: scodec-core_2.10-1.7.0.jar
[info] Including from cache: scodec-bits_2.10-1.0.4.jar
[info] Including from cache: shapeless_2.10.4-2.1.0.jar
[info] Including from cache: quasiquotes_2.10-2.0.0.jar
[info] Including from cache: scala-reflect.jar
[info] Including from cache: scala-library-2.10.5.jar
[info] Including from cache: scalaz-core_2.10-7.1.0.jar
[info] Including from cache: scalaz-concurrent_2.10-7.1.0.jar
[info] Checking every .class/.jar file's SHA-1.
[info] Merging files...
[warn] Merging 'META-INF/MANIFEST.MF' with strategy 'discard'
[error] 74 errors were encountered during merge
java.lang.RuntimeException: deduplicate: different file contents found in the following:
/home/rsearle/.ivy2/cache/org.scodec/scodec-core_2.10/bundles/scodec-core_2.10-1.7.0.jar:scodec/bits/Bases$Alphabets$Base64$.class
/home/rsearle/.ivy2/cache/org.scodec/scodec-bits_2.10/bundles/scodec-bits_2.10-1.0.5.jar:scodec/bits/Bases$Alphabets$Base64$.class
/home/rsearle/.ivy2/cache/org.typelevel/scodec-bits_2.10/bundles/scodec-bits_2.10-1.0.4.jar:scodec/bits/Bases$Alphabets$Base64$.class
build.sbt

name := "scodec streaming assembly"

version := "0.1"

scalaVersion := "2.10.5"

resolvers += "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases"

libraryDependencies ++= Seq(
"org.scodec" %% "scodec-stream" % "0.7.0"
)
project/build.properties

sbt.version=0.13.7
project/assembly.sbt

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.0")

Reply to this email directly or view it on GitHub.

from scodec-stream.

mpilquist avatar mpilquist commented on June 15, 2024

Fixed in scodec/scodec#49. I pushed an scodec-core 1.7.1-SNAPSHOT with the fix. I hope to have scodec-core 1.7.1 released soon -- probably in the next day or two.

from scodec-stream.

mpilquist avatar mpilquist commented on June 15, 2024

I just released scodec-stream 0.7.1 which depends on scodec-core 1.7.1. That should fix this issue.

from scodec-stream.

Related Issues (10)

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.