Clean www dirs otherwise builds from other branches causes problems. www does not have the build directories cleaned when the Java code is built so they need to be cleaned explicitly otherwise files that are left in the build area from another branch are deployed.