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 22223] - bogus condition results
Date Thu, 07 Aug 2003 17:01:06 GMT
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=22223>.
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=22223

bogus condition results

peter.reilly@corvil.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From peter.reilly@corvil.com  2003-08-07 17:01 -------
For the istrue and isfalse conditions, the value portion
is not a property but a string (as is done in the "init" target).
One needs to do:
<target name="signatures.needed" depends="init">
	<condition property="throw.no.message">
		<or>			
			<not>
				<isset property="do.jnlp"/>
			</not>
			<and>
				<isset property="do.jnlp"/>
				<isfalse   value="${do.jnlp}"/>
			</and>
			<and>
				<isset property="do.jnlp"/>
				<istrue   value="${do.jnlp}"/>
				<isset property="do.signatures"/>
				<istrue   value="${do.signatures}"/>
			</and>
		</or>
	</condition>
</target>

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


Mime
View raw message