Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-java@g.o
From: Alistair Bush <ali_bush@g.o>
Subject: Re: Re: java-dep-check on ant tasks
Date: Mon, 31 Jan 2011 17:21:04 +1300
> Dne 31.1.2011 02:14, Vlastimil Babka napsal(a):
> > On 01/19/2011 04:03 PM, "Miroslav Šulc (fordfrog)" wrote:
> >> hi,
> >> 
> >> i was looking at the issues when some classes cannot be found via
> >> DEPENDS, like http://bugs.gentoo.org/show_bug.cgi?id=298689. the problem
> >> is that DEPENDS for ant tasks does not contain dependency on ant-core.
> >> this patch below could fix it (at least it fixed the issue for me and
> >> testing some junit ant tasks while emerging packages with
> > 
> >> FEATURES="test" worked too):
> > This could work for ant-tasks themselves, but not for everything else
> > that has ant-core dependency, such as when a package provides some ant
> > task. In that case, the depending classes are needed only when invoked
> > from within ant, in which case they are already on classpath.
> > Registering as dependency would make ant put on classpath in all cases
> > the package is used.
> > The bottom line is, there should be a way to exclude stuff (such as ant
> > classes) in java-dep-check.
> 
> well, imo there is a question when to exclude and when not, talking
> generally, not just about ant classes.
> 

I actually thought that functionality had been implemented a long time ago,  
but obviously my memory is failing me....

Another example is servlet-api.


References:
Re: java-dep-check on ant tasks
-- Vlastimil Babka
Re: Re: java-dep-check on ant tasks
-- Miroslav Šulc (fordfrog)
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: java-dep-check on ant tasks
Next by thread:
Re: [gentoo-dev] News item: Dropping Java support on ia64 (retry)
Previous by date:
Re: Re: java-dep-check on ant tasks
Next by date:
Re: [gentoo-dev] News item: Dropping Java support on ia64 (retry)


Updated Mar 06, 2012

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.