Bug#543327: junit4 has dropped ant jar

Onkar Shinde onkarshinde at ubuntu.com
Mon Aug 24 12:16:07 UTC 2009


On Mon, Aug 24, 2009 at 5:36 PM, Antti-Juhani
Kaijanaho<antti-juhani at kaijanaho.fi> wrote:
> On Mon, Aug 24, 2009 at 05:34:10PM +0530, Onkar Shinde wrote:
>> Please do not add the link again.
>
> If this ends up being the result, a NEWS.Debian entry would be appropriate,
> since I'm likely not the only one who was relying on the old behavior.
>
> OTOH, I wouldn't want to hardcode the junit path in my build.xml.  Is there an
> alternative way to specify the jar, short of putting one in my project
> repository?

How about specify the relative path like "${lib.dir}/junit.jar" so
that lib.dir can be overridden by the package maintainer in the
debian/rules.
Also with cdbs you can specify DEB_JARS which simply contains names of
libraries. The jar files will be looked for in a specific directory
i.e. /usr/share/java.


Onkar





More information about the pkg-java-maintainers mailing list