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=19323>. 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=19323 user-defined sequential class requires lower case nested tasks Summary: user-defined sequential class requires lower case nested tasks Product: Ant Version: 1.5.1 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The build file following prints out "hello" then fails with the message "Could not create task of type: prattle", along with a thorough explanation of how to make sure the libraries are on the classpath. Notice the message says it cannot create a task with a lower-case name, but the build file calls for a capitalized task. Within the user-defined Sequential task, the nested class names were made lower case. (In case you're wondering, in my real application, I extended the Sequential class and made a looping task, but I managed to boil the case down to this for simplicity.) I had the same problem in Ant 1.4.1. -- <project name="SequentialTest" default="fail" basedir="."> <target name="fail"> <taskdef name="Prattle" classname="org.apache.tools.ant.taskdefs.Echo"/> <taskdef name="Seq" classname="org.apache.tools.ant.taskdefs.Sequential"/> <Prattle>hello</Prattle> <Seq> <Prattle> world</Prattle> </Seq> </target> </project>