Bug#565403: ant-contrib: doc refers to missing file antlib.xml

2014-03-05 Thread Emmanuel Bourg
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
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#565403: ant-contrib: doc refers to missing file antlib.xml

2013-08-10 Thread Daniel Leidert
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 be merged with
#607670.

Regards, Daniel

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#565403:

2011-11-14 Thread Francis Devereux
I'm hitting this too. I can't hard-code /usr/share/java/ant-contrib.jar in my 
build.xml because the project also needs to be built on non-Debian machines 
(that put ant-contrib.jar elsewhere) too.

I'm working around this by bundling the ant-contrib jar in my project so that I 
can reference it with a build.xml-relative path.




__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#565403: ant-contrib: doc refers to missing file antlib.xml

2010-01-15 Thread Ludovic Claude
Hello Yann,

Try this, it should work.

  
 
   
 
   

The documentation needs to be corrected

The ant-contrib jar is not added automatically to the Ant lib as it puts
more classes in the classpath, so risks of name clashes and version
mismatch are increased.

Ludovic

Yann Dirson a écrit :
> More info:
> 
> I tried to use antlib.xml by copying it and the jar to my project, but
> adding the suggested block below:
> 
>   
> 
>   
> 
>   
> 
> ... results in:
> 
> Buildfile: build.xml
>   [taskdef] Could not load definitions from resource .../antlib.xml. It
> could not be found.
> 
> This happens both with absolute and relative paths to antlib.
> 
> OTOH, I could make it work by copying the parts of its contents I'm
> interested in, eg:
> 
> name="for"
>  classname="net.sf.antcontrib.logic.ForTask"
>  onerror="ignore">
> 
>   
> 
>   
> 
> 
> I can't really see what I'm doing wrong, maybe I just need some sleep, but
> that could just be an inaccurate doc, or a plain ant bug.
> 
> 
> 
> 
> ___
> pkg-java-maintainers mailing list
> pkg-java-maintainers@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers
> 
> 



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#565403: ant-contrib: doc refers to missing file antlib.xml

2010-01-15 Thread Yann Dirson
More info:

I tried to use antlib.xml by copying it and the jar to my project, but
adding the suggested block below:

  

  

  

... results in:

Buildfile: build.xml
  [taskdef] Could not load definitions from resource .../antlib.xml. It
could not be found.

This happens both with absolute and relative paths to antlib.

OTOH, I could make it work by copying the parts of its contents I'm
interested in, eg:

  

  

  


I can't really see what I'm doing wrong, maybe I just need some sleep, but
that could just be an inaccurate doc, or a plain ant bug.




___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#565403: ant-contrib: doc refers to missing file antlib.xml

2010-01-15 Thread Yann Dirson
Package: ant-contrib
Version: 1.0~b3+svn177-1

/usr/share/doc/ant-contrib/manual/index.html advertises  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/ directory from the source
package should probably be shipped (as /usr/share/antcontrib ?).

Once shipped, a note in the doc about the Debian-specific path to use
would be useful as well.

Also, is there any reason not to install a symlink in /usr/share/ant/lib/,
as many packages (eg. junit) are doing, so that users do not need to add
any host-specific stuff to their antfiles ?





___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers