I have tried to use "if-then-else" condition inside junit element in a build.xml file and I am getting the following error while trying to build.
junit doesn't support the nested "if" element
Is there a work around for this issue?
I have tried to use "if-then-else" condition inside junit element in a build.xml file and I am getting the following error while trying to build.
junit doesn't support the nested "if" element
Is there a work around for this issue?
Since Ant 1.9.1 which has been released this week, you can put
if
andunless
attributes on arbitrary Ant tasks.See http://ant.apache.org/manual/ifunless.html