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 2002/05/08 17:27:17 UTC

DO NOT REPLY [Bug 8909] New: - -Task does not support if and unless attributes although doc says it should

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>