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 2004/01/15 11:06:19 UTC

DO NOT REPLY [Bug 26160] New: - taskdef could not load definitions from resource

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

taskdef could not load definitions from resource

           Summary: taskdef could not load definitions from resource
           Product: Ant
           Version: 1.6.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: t-sano@isd.nec.co.jp


I got the following error when I used "jcoverage.jar":
[taskdef] Could not load definitions from resource tasks.properties. It could 
not be found.

My taskdef is like:
<taskdef classpath="jcoverage.jar" resource="tasks.properties"/>

This taskdef works fine on ANT-1.5.4.
I got correct result when I use the following:
<taskdef classpath="${ant.home}/lib/jcoverage.jar" 
resource="tasks.properties"/>

I think classpath="jcoverage.jar" must refer ${ant.home}/lib/*.jar. Is this 
degrade?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org