You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/09/30 11:12:24 UTC

DO NOT REPLY [Bug 23508] New: - JAVAC ignores excludes

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23508

JAVAC ignores excludes

           Summary: JAVAC ignores excludes
           Product: Ant
           Version: 1.4.1
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: fredrik.stodne@nmct.com


When adding the excludes attribute to javac ant-task it is ignored, despite 
using the syntax explained in the manual, i.e. the file(s) in excludes are 
compiled anyway.

E.g.
  <target name="compile" depends="prepareapplication">
    <javac srcdir="src" destdir="${build.home}/WEB-INF/classes"
           classpath="${build.home}/WEB-INF/classes"
           debug="on" optimize="off" deprecation="on" source="1.4" 
           excludes="com/mypackage/MyClass.java"/>
  </target>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org