-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
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: