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 16970] New: - taskdef should offer help when class not found
Date Tue, 11 Feb 2003 18:17:33 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=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: dev@ant.apache.org
        ReportedBy: 1010apache.org@ostermiller.com


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.

Mime
View raw message