This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.