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 26160] New: - taskdef could not load definitions from resource
Date Thu, 15 Jan 2004 10:06:19 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=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


Mime
View raw message