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 2001/10/02 17:48:13 UTC

DO NOT REPLY [Bug 3919] New: - optional task not found message should be clearer

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

optional task not found message should be clearer

           Summary: optional task not found message should be clearer
           Product: Ant
           Version: 1.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: morgemin@yahoo.com


This is just a suggestion but the message:

"Could not create task of type: <taskname>. Common solutions are to use the 
taskdef to declare your task, or, if this is an optional task, to put the 
optional.jar in the lib directory of your ant installation (ANT_HOME)."

says nothing of the fact that one should place the required libraries of the 
optional task in the lib directory as well. 

For example, I was trying to run the junit task when I got this message. After 
searching the documentation I finally found the "Required Libraries" section of 
the installation part of the ant manual. The message could have gotten me there 
quicker if it where more clear about all of the required libraries not just 
mentioning the optional.jar.

Great work with ant, btw! Thanks.