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=5775>.
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=5775

"unless" property for <target> doesn't accept boolean true/false value

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"unless" property for <task>|"unless" property for
                   |doesn't accept boolean      |<target> doesn't accept
                   |true/false value            |boolean true/false value



------- Additional Comments From [EMAIL PROTECTED]  2002-01-11 06:52 -------
Sorry, it's my typo. 

"unless" property for <target> doesn't accept boolean true/false value. For 
example if I set property using <uptodate> task I can't use that property 
for "unless".

I suggest to change the "if"/"unless" behavior and check value of the property 
as well, to be able to use it together with <uptodate> task.

Another possible solution is to change behavior of <uptodate> to match with the 
<target> behavior.

The build file I have problem with is looks like this:

...
<target name="t1">
  ...
  <uptodate property="t2.notRequired">
    ...
  </uptodate>
</target>

<target name="t2" depends="t1" unless="t2.notRequired">
  ..
</target>
...

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to