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

           Summary: javac compiling the wrong files with jdk 1.6 update 6
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Using the following:
        <javac srcdir="${src}:${version_src}"
                destdir="${build}/build/etl"
                debug="on"
                classpath="${cp};${maintainer_jar};${build}/build/etl"
                deprecation="on"
                includes="com/uhg/iegnpd/base/**, com/uhg/iegnpd/etl/**,
com/uhg/iegnpd/version/**"
        />

The jar referenced by ${maintainer_jar} contains classes used by classes in the
includes portion.  Those classes occur in the same source path as referenced by
${src}.

When this executes, not only are the files in the includes compiled, but any
file also under the ${src} tree that is referenced by them is compiled.

I tried adding an excludes, but that did not help.

This worked fine under jdk 1.6 update 1.  So this seems to be specific to jdk
1.6 update 6.


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

Reply via email to