GithubHelp home page GithubHelp logo

Comments (7)

shs96c avatar shs96c commented on April 19, 2024

I'm surprised. From the entry you link to, you say that the manifest isn't properly formed. What's the best way to repro the issue? Just run that target? Which entry in particular are you expecting to see in the manifest?

The code which generates the final jar for a java_binary can be seen here:

https://github.com/facebook/buck/blob/master/src/com/facebook/buck/java/JarDirectoryStep.java

In "createJarFile" we pass in a Manifest, which is updated (in "merge(Manifest, Manifest)") as each dependent jar is read. The final thing that happens is that we write the manifest entry to the jar. The end result is that the manifest in the generated jar should be the combined manifest.

As you can also see, the "getDescription" method takes a few liberties about how we represent this process. :)

from buck.

davido avatar davido commented on April 19, 2024

I created the reproducer for the issue above and detailed instructions in README file how to reproduce it:

https://github.com/davido/buck_test

from buck.

shs96c avatar shs96c commented on April 19, 2024

Ah! Now I understand. Yes, it's lame that we do that, and we should fix the behaviour.

from buck.

shs96c avatar shs96c commented on April 19, 2024

Getting a patch reviewed for this.

from buck.

davido avatar davido commented on April 19, 2024

Hey, cool, thanks! Can you share the patch?

from buck.

shs96c avatar shs96c commented on April 19, 2024

I've just landed it on our internal repo, and it'll be out in the next MOE push.

from buck.

shs96c avatar shs96c commented on April 19, 2024

Marking as "closed" because the code is now in a tree, and just waiting to be pushed out to Real Life.

from buck.

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.