For the self-updating main project build.xml - there may be a problem with running the subversion update and building at a time. The nature of the problem depends on what changes are made to build.xml. Just restarting the assembly will probably fix it, since build.xml Ant, then loading at startup will be relevant.
If you really need to reliably update build.xml and complete the build in one go, you might consider moving part of the build after publishing to antcall . When Ant launches the antcall'ed target, it reads the build.xml file again, so any change to this file from the moment Ant is called is accepted for the account. Antcall starts processing from scratch, so if you have (possibly expensive) initializations, you will need to start them again.
source share