Important notice: We've released the final version of the scaffold.
This is the last time you'll have to manually update anything; from here on out, it's just "ant update".
- Eclipse project no longer requires manual updating of build path (unless you add extra library dependencies to your project for some reason)
- Eclipse project no longer gives errors about the
- Ant now has a
print-version command for diagnostic purposes
- Eclipse and Intellij have Map Editor and Print Version targets
ant update now deletes old versions of jars lying around, which means that updates... actually work
- Some build process changes to make using scala more frictionless
- README additions
To check if you have it, look at your build.xml. If it has these lines at the bottom:
<target name="print-version" description="Print the current battlecode version">
<java classpathref="classpath.run" fork="yes" classname="battlecode.server.Version"/>
Then you're updated; if not, you should really re-set-up one last time.
Note: if you're looking for a fast way to re-update, you can use git to automatically merge our changes. However, this will OVERWRITE any changes you have made to build.xml, ivy.xml, or any of the files that come with the scaffold. Most of those changes should now be unneccessary.
# In root of battlecode-scaffold directory
# If you have git set up, stash or commit your working directory.
# If you don't have git set up, run these commands
$ git init
$ git add .
$ git commit -m "Initial."
# Add scaffold as an upstream in your repository
$ git remote add upstream 'https://github.com/battlecode/battlecode-scaffold'
$ git fetch upstream
# Add changes
$ git checkout upstream/master .
$ git commit -m "Update scaffold."
(Don't know git? Want to sharpen your git skills? Come to or livestream the lecture tomorrow!)