# Load the build with the global plugin jar in the default output directory.
> reload

# Compile the project definition against the global plugin classes.
$ copy-file changes/B.scala project/B.scala
> reload

# Move the global plugin output, delete the old one, and load the build.
$ copy-file changes/out.sbt global/plugins/out.sbt
$ delete target/out
> reload

# Load the build again, so the global plugin classes come from the cache.
> reload

# Move the meta-build output instead, delete the old ones, and load the build.
$ delete global/plugins/out.sbt
$ copy-file changes/out.sbt project/out.sbt
$ delete target/out target2/out
> reload

# Load the build again, so the plugin classes come from the cache.
> reload

# The tests of one scripted run share `global`, so delete the global plugin.
$ delete global/plugins
