ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4981] New: - javac exclude fails intermittently
Date Tue, 20 Nov 2001 19:06:11 GMT
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=4981>.
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=4981

javac exclude fails intermittently

           Summary: javac exclude fails intermittently
           Product: Ant
           Version: 1.4.1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: ruvinsky@yahoo.com


When building Tomcat 4.0.1 from source, Ant seems to disregard the specified exclude tag when
compiling Java source files:

<!-- The following snippet is from Tomcat's catalina/build.xml -->

<!-- Compile internal server components -->
<javac srcdir="src/share" destdir="${catalina.build}/server/classes"
       debug="${compile.debug}" deprecation="${compile.deprecation}"
       optimize="${compile.optimize}"
       excludes="**/CVS/**">
    <!-- ... -->
    <exclude name="org/apache/catalina/net/SSLServerSocketFactory.java" 
    unless="compile.jsse"/>
    <!-- ... -->
</javac>

The compile.jsse property has not been set, but when building Tomcat from scratch (clean),
the SSLServerSocketFactory.java file tries to get compiled.  After it errors out (because
the file fails to compile, since it shouldn't get compiled), I run ant again, but this time
the build goes through just fine.

I suspect this is a bug in Ant 1.4.1.

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


Mime
View raw message