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 6169] New: - <fail> task prints null
Date Fri, 01 Feb 2002 03:55:35 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=6169>.
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=6169

<fail> task prints null

           Summary: <fail> task prints null
           Product: Ant
           Version: 1.4.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: oli-apache@puppycrawl.com


If the <fail> task is not given a message, then it will output "null". For
example, consider the following build file:

<project default="all">
    <target name="all">
        <fail>Getting null printed as well.</fail>
    </target>
</project>

When called, the output is:

C:\tmp>ant
Buildfile: build.xml

all:

BUILD FAILED

C:\tmp\build.xml:3: nullGetting null printed as well.

Total time: 1 second

--
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