Share

NAnt - A .NET Build Tool

Tracker: Bugs

5 "if" attribute doesn't work for "define" - ID: 1221945
Last Update: Settings changed ( drieseng )

In an <rc/> or <cl/> task, write a conditional define:

<defines>
<define name="DEBUG" if="${build.debug}"/>
</defines>

The DEBUG symbol will be defined regardless of the
build.debug property value, though the documentation
allows use of "if" attribute on this element.


Serge Baltic ( hypersw ) - 2005-06-16 14:12

5

Closed

Fixed

Gert Driesen

Tasks

0.85

Public


Comment ( 1 )

Date: 2005-06-17 17:31
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

This is now fixed in cvs.

Thanks for the report !


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
close_date - 2005-06-17 17:31 drieseng
status_id Open 2005-06-17 17:31 drieseng
resolution_id None 2005-06-17 17:31 drieseng
assigned_to nobody 2005-06-17 17:31 drieseng