https://issues.apache.org/bugzilla/show_bug.cgi?id=46780
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
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
if i have the following:
<target name='first' depends='second' if='some.condition.property'>
<echo> in first </echo>
</target>
<target name='second'>
<echo> in second </echo>
</target>
ant ignores the 'some.condition.property' 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.