According to http://www.perforce.com/perforce/doc.current/manuals/p4ant/p4tasks.html#p4jresolve, files with merge conflicts are skipped. Even setting failonerror=’true’ does nothing in the event of merge conflicts.
Is the best way to check for merge conflicts to use:
<p4jresolve failonerror='true' forceresolve='true'/>
then check for conflict markers? If so, what’s the Ant syntax to do that?
If
<p4jresolve/>doesn’t succeed (eg due to a conflict),<p4submit/>will fail.