ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46780] New: <target>'s condition check is wrong
Date Fri, 27 Feb 2009 21:11:35 GMT

           Summary: <target>'s condition check is wrong
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core

if i have the following:
<target name='first' depends='second' if=''>
  <echo> in first </echo>

<target name='second'>
  <echo> in second </echo>

ant ignores the '' check for target 'first' and
__always__ executes 'second' target and only after that execution it checks
condition property and based on it executes or not execute 'first' target.

I believe it is wrong, condition should define if execute 'first' target and
all its dependencies or not.

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

View raw message