[ 
https://issues.apache.org/jira/browse/TOREE-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15843642#comment-15843642
 ] 

Jakob Odersky commented on TOREE-333:
-------------------------------------

The good news is that despite the error message, the publish actually works. I 
would still consider this an issue, although maybe not a critical one

> make sbt-publishM2
> ------------------
>
>                 Key: TOREE-333
>                 URL: https://issues.apache.org/jira/browse/TOREE-333
>             Project: TOREE
>          Issue Type: Bug
>    Affects Versions: 0.1.0
>            Reporter: Brian Burns
>            Priority: Critical
>              Labels: build
>             Fix For: 0.1.0
>
>
> make sbt-publish* is throwing a ZipException.  Here is the stack trace.
> java.util.zip.ZipException: duplicate entry: LICENSE
>       at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:232)
>       at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:109)
>       at sbt.IO$.sbt$IO$$addFileEntry$1(IO.scala:445)
>       at sbt.IO$$anonfun$sbt$IO$$writeZip$2.apply(IO.scala:454)
>       at sbt.IO$$anonfun$sbt$IO$$writeZip$2.apply(IO.scala:454)
>       at 
> scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
>       at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
>       at sbt.IO$.sbt$IO$$writeZip(IO.scala:454)
>       at sbt.IO$$anonfun$archive$1.apply(IO.scala:410)
>       at sbt.IO$$anonfun$archive$1.apply(IO.scala:408)
>       at sbt.IO$$anonfun$withZipOutput$1.apply(IO.scala:498)
>       at sbt.IO$$anonfun$withZipOutput$1.apply(IO.scala:485)
>       at sbt.Using.apply(Using.scala:24)
>       at sbt.IO$.withZipOutput(IO.scala:485)
>       at sbt.IO$.archive(IO.scala:408)
>       at sbt.IO$.jar(IO.scala:392)
>       at sbt.Package$.makeJar(Package.scala:97)
>       at sbt.Package$$anonfun$3$$anonfun$apply$3.apply(Package.scala:64)
>       at sbt.Package$$anonfun$3$$anonfun$apply$3.apply(Package.scala:62)
>       at sbt.Tracked$$anonfun$outputChanged$1.apply(Tracked.scala:84)
>       at sbt.Tracked$$anonfun$outputChanged$1.apply(Tracked.scala:79)
>       at sbt.Package$.apply(Package.scala:72)
>       at sbt.Defaults$$anonfun$packageTask$1.apply(Defaults.scala:685)
>       at sbt.Defaults$$anonfun$packageTask$1.apply(Defaults.scala:684)
>       at scala.Function2$$anonfun$tupled$1.apply(Function2.scala:54)
>       at scala.Function2$$anonfun$tupled$1.apply(Function2.scala:53)
>       at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
>       at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
>       at sbt.std.Transform$$anon$4.work(System.scala:63)
>       at 
> sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
>       at 
> sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
>       at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
>       at sbt.Execute.work(Execute.scala:235)
>       at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
>       at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
>       at 
> sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
>       at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745)
> [error] (toree/compile:packageBin) java.util.zip.ZipException: duplicate 
> entry: LICENSE



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to