A simple Java project designed to wrap existing projects and enable auto-updates at runtime. The program dynamically loads a specified class file, as well as any referenced classes, and starts up that class. This is designed to be a working, simple example, not robust, production-ready code.
Main.java starts the auto-update controller. From here, you can configure the location of your .class files, as well as the project's main class to load and start up.
For each auto-update, the controller does the following:
- Execute .stop() on the loaded class
- Reload the main class
- Execute .start() on the loaded class
autoUpdate.start();