Git Product home page Git Product logo

stubjars's People

Contributors

dmssargent avatar rgatkinson avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

stubjars's Issues

Build jar file reproducibly

Right now, running StubJars twice in a row will produce two different JAR files. It would be much better if running StubJars always produced identical output for a given input. It would enable us to run StubJars as a part of the normal FTC SDK build process, without cluttering up the Git history when no changes are made.

Specifically, StubJars seems to be inconsistent with how it orders fields. Additionally, every file in the JAR is timestamped with the real date. We should probably use a hardcoded date instead (Jan 1, 1970?).

StubJars ignores public static fields

Public static fields are useful for stubbing, because they often contain constant values that are useful to use in a program. Commenting out https://github.com/dmssargent/StubJars/blob/develop/src/main/java/davidsar/gent/stubjars/components/JarClass.java#L348 seems to do the trick at first test, so I'm not sure why public static fields were ever filtered out to begin with.

@dmssargent I'd like to make this change for a FIRST Global release, but it appears that the source for the latest version of StubJars (alpha 4) is not available publicly. Can you get the source for alpha 4 published so that I can make this modification on top of that?

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.