DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40722>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40722

           Summary: <include if="property"> logic changed for <javac> since
                    ant 1.6.5
           Product: Ant
           Version: 1.7.0Beta2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


src/ has two files, Class1.java and Class2.java

build.xml:

<javac destdir="classes" srcdir="src">
  <include if="trigger.include" name="Class1.java"/>
</javac>

When ${trigger.include} property is set, only Class1.java is compiled. Fine.
However, if the property is not set, ant 1.6.5 compiles nothing, while ant
1.7.0_beta2 (and also svn r462730) compiles whole src (both source files).

Either it's a bug, or was intended change, but then it should go to "Changes
that could break older environments" section of changelog (from discussion on
dev ML it looks like a bug though).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to