Solution 06 is quite good (maybe perfect) from the perspective of binary compatibility. For a while I thought I am going to give up, however then I noticed that there is an added overloaded method. With proper parameters this can cause the previously OK source to become uncompilable.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- this is a template file to test -->
3 <project name="testing-template" default="run" basedir=".">
4 <import file="../../common.xml"/>