<project>
  <target name="foo">
    <echo>foo</echo>
    <fail if="failfoo" message="failfoo" />
  </target>
  <target name="a" depends="foo">
    <echo>a</echo>
  </target>
  <target name="b" depends="foo">
    <echo>b</echo>
  </target>
</project>
