I am trying to do the following in my ant build file.
Run my junit tests based on if the junit.error property is set - I need to run another ant task.
I need to check for both pass an failure of the tests.
I have tried the following with in my target
it does not print the statement.
I get an error saying
C:\apps\workspace-next13.3\CompositePageService\build.xml:418: Problem: failed to create task or type if
Cause: The name is undefined.
I have tried.
<if name="junit.error" value="true">
<echo> there has been a failure </echo>
however if there is no failure the variable may not be set.
Can someone please help with the tags that should be set.