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 8909] New: - <fail>-Task does not support if and unless attributes although doc says it should
Date Wed, 08 May 2002 15:27:17 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=8909>.
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=8909

<fail>-Task does not support if and unless attributes although doc says it should

           Summary: <fail>-Task does not support if and unless attributes
                    although doc says it should
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: carsten.lergenmueller@t-systems.com


I'm trying to use the fail task with if and unless attributes as described in the documentation.

However, I get error messages similar to the one 
below.

D:\Carsten\prototyp\dev\src\server\build.xml:114: The <fail> task doesn't 
support the "if" attribute.
        at 
org.apache.tools.ant.IntrospectionHelper.setAttributeIntrospectionHelper.java:273)
 
       at org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:654)
        at 
org.apache.tools.ant.RuntimeConfigurable.maybeConfigureRuntimeConfigurable.java:143)
 
       at org.apache.tools.ant.Task.maybeConfigure(Task.java:178)
        at 
org.apache.tools.ant.Task.perform(Task.java:216)
        at 
org.apache.tools.ant.Target.execute(Target.java:184)
        at 
org.apache.tools.ant.Target.performTasks(Target.java:202)
        at 
org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at 
org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at 
org.apache.tools.ant.Main.runBuild(Main.java:454)
        at 
org.apache.tools.ant.Main.start(Main.java:153)
        at 
org.apache.tools.ant.Main.main(Main.java:176)

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