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=16970>.
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=16970

taskdef should offer help when class not found

           Summary: taskdef should offer help when class not found
           Product: Ant
           Version: 1.5
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Build Process
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Currently if you put this line in your build.xml file
  <taskdef name="mytask" classname="com.mydomain.MyVeryOwnTask"/>
you will get this message:
  BUILD FAILED
  build.xml:10: taskdef class com.mydomain.MyVeryOwnTask cannot be found

It would be nice if you could put a line like this in your build file
  <taskdef name="mytask" classname="com.mydomain.MyVeryOwnTask"
  help="Please go to http://mydomain.com/MyVeryOwnTask.html to download."\>
so that you would get this message:
  BUILD FAILED
  build.xml:10: taskdef class com.mydomain.MyVeryOwnTask cannot be found
  Please go to http://mydomain.com/MyVeryOwnTask.html to download.

This would allow somebody to take your build file and get builds up and running
much more quickly.

Reply via email to