You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/08/07 19:01:06 UTC

DO NOT REPLY [Bug 22223] - bogus condition results

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