GithubHelp home page GithubHelp logo

Readme is misleading about sbt-assembly HOT 4 CLOSED

sbt avatar sbt commented on June 25, 2024
Readme is misleading

from sbt-assembly.

Comments (4)

Sciss avatar Sciss commented on June 25, 2024

Might this be related to having assembleArtifact in packageBin := false ? the docs say that excludes sources, but maybe it excludes target/classes as well?

The problem I get when I remove this setting, is that resources from src/main/resources produce an error:

[error] {file:/Users/hhrutz/Documents/devel/SwingOSC/}default-815bb4/*:assembly: java.util.zip.ZipException: duplicate entry: GUIUtilStrings.properties

...

from sbt-assembly.

Sciss avatar Sciss commented on June 25, 2024

I got it working now. Indeed I had duplicate properties files from a library; still, I think you need to correct in the readme assembleArtifact in packageBin := false to assembleArtifact in packageSrc := false to exclude sources?

from sbt-assembly.

eed3si9n avatar eed3si9n commented on June 25, 2024

I guess what I meant to say was to exclude class files that came from your sources as opposed to deps. How should I phrase it?

from sbt-assembly.

Sciss avatar Sciss commented on June 25, 2024

"exclude the class files from the main sources?"

from sbt-assembly.

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.