You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2013/11/08 16:26:13 UTC

[Bug 55762] New: Java task : add "if" and "unless" attributes to "arg" element

https://issues.apache.org/bugzilla/show_bug.cgi?id=55762

            Bug ID: 55762
           Summary: Java task : add "if" and "unless" attributes to "arg"
                    element
           Product: Ant
           Version: 1.8.4
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: richardk.zz9@gmail.com

Ant's "xslt" task allows "if" and "unless" attributes on its "param"
sub-elements, to allow the use of parameters to be determined by their
existence.
The "java" task doesn't have anything like this so is harder to implement
optional parameters.

My request is that a similar feature be added to the "java" task's "param"
elements.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55762] Java task : add "if" and "unless" attributes to "arg" element

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55762

Antoine Levy-Lambert <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |1.9.1
                 OS|                            |All

--- Comment #1 from Antoine Levy-Lambert <an...@apache.org> ---
since ant 1.9.1 there are standard if and unless attributes which solves this
issue.

see

http://ant.apache.org/manual/ifunless.html

-- 
You are receiving this mail because:
You are the assignee for the bug.