You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/07/21 20:55:16 UTC

DO NOT REPLY [Bug 21778] New: - Bug in build.xml (missing "exclude" in "compile" target)

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=21778>.
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=21778

Bug in build.xml (missing "exclude" in "compile" target)

           Summary: Bug in build.xml (missing "exclude" in "compile" target)
           Product: Axis
           Version: 1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: steve.viens@fidelity.com


The following "exclude" task is missing from the "compile" target causing the 
build to break if "servlet.jar" is not in the classpath.


 <exclude 
   name="**/org/apache/axis/handlers/EchoHandler.java"
   unless="servlet.present"/>


According to the "Guide to building Axis" the reader should be able to build 
Axis "with just the bare required jars" of which "servlet.jar" is not one. 

When servlet.jar is not present, Ant attempts to build EchoHandler.java which, 
of course, breaks.  Strangley enough, Ant then proceeds to ignore all of the 
other "exclude" tasks where unless="servlet.present" is stated an trys to 
compile each of these classes producing dozens of compilation errors.

Steve