Could this command not be done in ant itself rather than starting another process? The one call to version top-level is because internally there's no way to override a property. When calling a sub-ant, though, it is.