ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54583] New: When running <javac> with <compilerarg line="proc:only"/> package-info.class files are still generated
Date Tue, 19 Feb 2013 18:57:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54583

            Bug ID: 54583
           Summary: When running <javac> with <compilerarg
                    line="proc:only"/> package-info.class files are still
                    generated
           Product: Ant
           Version: 1.8.4
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: jgeorgeson@lgc.com
    Classification: Unclassified

We have a number of processor-only <javac> tasks, but that is specified as a
compiler arg as there's no attribute for this setting. With 1.8.x the <javac>
task now generates empty package-info.class files if the compiler didn't, but
if we're running processor-only, no class files should be generated. I can
workaround it by adding a destdir attribute on the affected <javac> calls, but
natively recognizing this compiler argument to disable package-info.class
generation would be preferred.

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

Mime
View raw message