antlib.xml is indeed in the jar, and the 'resource' attribute of the
taskdef task refers to a classpath entry. So there is no need to install
antlib.xml explicitly.
Emmanuel Bourg
__
This is the maintainer address of Debian's Java team
The bug report is not completely true. antlib.xml is part of the .jar
file and this is IMO the way it should be:
jar -tvf /usr/share/java/ant-contrib.jar | grep antlib.xml
1847 Mon Jul 09 01:46:54 CEST 2012 net/sf/antcontrib/antlib.xml
I wonder if this report can be closed or if it should
Package: ant-contrib
Version: 1.0~b3+svn177-1
/usr/share/doc/ant-contrib/manual/index.html advertises taskdef
resource=net/sf/antcontrib/antlib.xml as the standard way to use
ant-contrib tasks, but no file by that name is present in the deb.
The whole src/main/resources/net/sf/antcontrib/
More info:
I tried to use antlib.xml by copying it and the jar to my project, but
adding the suggested block below:
taskdef resource=.../antlib.xml
classpath
pathelement location=.../ant-contrib.jar/
/classpath
/taskdef
... results in:
Buildfile: build.xml
[taskdef] Could
4 matches
Mail list logo