MooBootstrap is a bootstrap I wrote in Java which makes update detection and self updating really easy.
Check out the README.md for an overview.
MooBootstrap works with an XML file (hereby referred to as “changelog.xml”) which contains all your changelog information. Your changelog.xml file needs to follow a certain format so that MooBootstrap can understand it and extract the information. It should look like so:
<bootstrapChangelog> <remoteBuildNumber>2</remoteBuildNumber> <changeLog> <build buildNumber="1"> <buildVersionString>1.0</buildVersionString> <changes> + Initial version </changes> </build> <build buildNumber="2"> <buildVersionString>2.0</buildVersionString> <changes> + Added a feature - Removed a feature * Changed a feature </changes> </build> </changeLog> </bootstrapChangelog>
<remoteBuildNumber>element should contain the number of the latest build from the
<changes>element but I recommend following the format I used above
Once you've hosted your changelog.xml on a server you can start writing the client which interacts with it.