Create an ant based project then try this from the command line:
ant compile test
It will fail with
.../build-impl.xml:381: Cycle detected: ProjectName was already built
You can, however, run the targets in separate invocations thusly:
I use Hudson to maintain all my projects. This change in behavior broke my Hudson configurations and requires that I invoke each ant target in a separate invocation. This slows things down dramatically.
*** This bug has been marked as a duplicate of bug 174799 ***