Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#419 "if" attribute doesn't work for "define"

0.85
closed-fixed
Tasks (408)
5
2014-08-17
2005-06-16
No

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.

Discussion

  • Gert Driesen

    Gert Driesen - 2005-06-17
    • assigned_to: nobody --> drieseng
    • status: open --> closed-fixed
     
  • Gert Driesen

    Gert Driesen - 2005-06-17

    Logged In: YES
    user_id=707851

    This is now fixed in cvs.

    Thanks for the report !

     

Log in to post a comment.