ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36835] New: - The task "waitfor" does not check test conditions if the condition is "istrue"
Date Wed, 28 Sep 2005 02:45:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36835>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36835

           Summary: The task "waitfor" does not check test conditions if the
                    condition is "istrue"
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: yellowlight47@yahoo.com


This script does not check if the value is true every 2 seconds, as specified. 
As a contrast, if you substitute the condition istrue to the condition isset,
the code will behave as expected.

<project name="Hibernate3" default="instrument" basedir=".">

	<target name="instrument" depends=""> <!-- depends="jar" -->

        <waitfor maxwait="20" maxwaitunit="second" checkevery="2"
checkeveryunit="second" timeoutproperty="timed-out">
            <istrue value="${someproperty2}"/>
        </waitfor>

	</target>

</project>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message