This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
How to run the sample code? #163
Comments
OK I get it:
|
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:
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). |
Thank you very much for the detailed answer! |
Sure. Please see also #16. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi I am not very familiar with java compilation. Thus I wonder how should I run the code in
sample
dir? If I directly compile it, java complains that many classes are not defined. I also tried things likejavac -cp archive-patcher-1.0.jar ./SamplePatchGenerator.java && java SamplePatchGenerator
(with jar downloaded and put in the right location), but still no luck. Thanks!The text was updated successfully, but these errors were encountered: