Giter VIP home page Giter VIP logo

Comments (4)

andrewhayden avatar andrewhayden commented on May 19, 2024 1

That's one way to do it, certainly, and quite reasonable. The sample code is just here to show you how to write a patch generator and a patch applier. More fully:

  • If you execute "gradle build" in the "generator" directory you will build the library necessary for a patch generator into generator/build/libs/generator.jar
  • If you execute "gradle build" in the "applier" directory you will build the library necessary for a patch applier into applier/build/libs/applier.jar
  • If you execute "gradle build" in the "common" directory you will built the library needed for both generator and applier (shared code)

To compile and/or run the sample patch generator you would need the "common" and "generator" libraries in your classpath. To compile and/or run the sample patch applier you would need the "common" and "applier" libraries in your classpath. There's no need to deploy the "applier" code on a system that only generates patches (e.g., a server), and no need to deploy the "generator" code on a system that only applies patches (e.g., a client).

from archive-patcher.

andrewhayden avatar andrewhayden commented on May 19, 2024 1

Sure. Please see also #16.

from archive-patcher.

fzyzcjy avatar fzyzcjy commented on May 19, 2024

OK I get it:

 javac -cp archive-patcher-1.0.jar:. ./SamplePatchGenerator.java && java -cp archive-patcher-1.0.jar:. SamplePatchGenerator

from archive-patcher.

fzyzcjy avatar fzyzcjy commented on May 19, 2024

Thank you very much for the detailed answer!

from archive-patcher.

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.