ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radha Sangal" <Radha.San...@pega.com>
Subject taskdef , attribute not suppported
Date Mon, 31 Jan 2005 18:04:33 GMT
Hi,

 

I have built a custom task in java and a listener which reads the value
of its attribute.

I get the functionality as I want. Could print the task name , task
value in my listener. 

 

I am getting the desired results (log file in db) but with the error
that build failed because of :

 

BUILD FAILED

file:C:/LogDatabase/build.xml:7: The <flagfile> task doesn't support the
"filename" attribute.

            at
org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelpe
r.java:422)

            at
org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:306)

            at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura
ble.java:242)

            at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura
ble.java:211)

            at org.apache.tools.ant.Task.maybeConfigure(Task.java:259)

            at org.apache.tools.ant.Task.perform(Task.java:318)

            at org.apache.tools.ant.Target.execute(Target.java:309)

            at org.apache.tools.ant.Target.performTasks(Target.java:336)

            at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)

            at
org.apache.tools.ant.Project.executeTargets(Project.java:1250)

            at org.apache.tools.ant.Main.runBuild(Main.java:610)

            at org.apache.tools.ant.Main.start(Main.java:196)

            at org.apache.tools.ant.Main.main(Main.java:235)

 

Can someone tell me whats going wrong here ! I checked the "names" ,
"references". Everything seems to be correct. Still the error .


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message