Comments (3)
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.sbtname := "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.propertiessbt.version=0.13.7
project/assembly.sbtaddSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.0")
—
Reply to this email directly or view it on GitHub.
from scodec-stream.
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.
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)
- Support scalaz-stream 0.6a HOT 3
- encode.emit genericity HOT 2
- Links are incorrect HOT 1
- Release for FS2 0.10.0-M2 HOT 2
- Combination of stream decoders doesn't emit all expected items HOT 4
- Maven build for Scala 2.13
- Incorrect behavior in StreamDecoder with listOfN codec HOT 4
- Decoder.choiceDecoder works incorrectly when via streaming. HOT 3
- release 0.12.a with scalaz-stream-0.8a HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scodec-stream.