DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17187>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17187

junit task haltonfailure is not halting on errors as described in docs

           Summary: junit task haltonfailure is not halting on errors as
                    described in docs
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


haltonfailure behaviour is not inclusive of haltonerror behaviour as described 
in the task docs.  I have to add haltonerror to get the desired behaviour.

Build file snippet below

    <target name="test-unit" depends="compile-test, domain-enhance" 
        description="Run unit tests">   

        <junit haltonfailure="true" fork="yes">
            <classpath refid="unit.test.classpath"/>
            
            <formatter type="brief" usefile="false"/>
            <formatter type="xml"/>
            
            <test name="AllUnitTests" todir="${test.results}"/>
        </junit>
    </target>

Reply via email to