Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #8638
| From | Sergio Fernández <wikier@apache.org> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Best/recommended way to search if a Java library or class is packaged |
| Date | 2015-12-04 09:30 +0100 |
| Message-ID | <qBTUD-dS-9@gated-at.bofh.it> (permalink) |
| References | <qBGE2-cG-7@gated-at.bofh.it> <qBIwa-1o5-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
I always use the following bash-based solution:
dpkg -l | grep java | awk '{ print $2 }' | xargs -I {} dpkg -L {} | grep
jar | xargs -I {} grep "javax.servlet.Servlet" {}
But I'm pretty sure there is much better tolling for such tasks...
On Thu, Dec 3, 2015 at 9:19 PM, Emmanuel Bourg <ebourg@apache.org> wrote:
> Le 3/12/2015 19:16, Miguel Landaeta a écrit :
>
> > Since jar-content.txt Torsten's file is not being updated since a long
> > time, I was wondering what's the current recommended way to quickly
> > check if a Java library is packaged in Debian.
>
> Maybe we could revive this tool. If the source is available somewhere I
> can host the service on my server.
>
>
> > I know I can use apt-file or apt-cache but sometimes that's not
> > enough (IMO).
>
> I often use sources.debian.net with queries like 'class Foo' or 'package
> org.bar' to locate the source package containing a class or a package.
>
> Emmanuel Bourg
>
>
--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: sergio.fernandez@redlink.co
w: http://redlink.co
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Best/recommended way to search if a Java library or class is packaged Miguel Landaeta <nomadium@debian.org> - 2015-12-03 19:20 +0100
Re: Best/recommended way to search if a Java library or class is packaged Emmanuel Bourg <ebourg@apache.org> - 2015-12-03 21:20 +0100
Re: Best/recommended way to search if a Java library or class is packaged Sergio Fernández <wikier@apache.org> - 2015-12-04 09:30 +0100
Re: Best/recommended way to search if a Java library or class is packaged Mikołaj Izdebski <zurgunt@gmail.com> - 2015-12-04 10:30 +0100
Re: Best/recommended way to search if a Java library or class is packaged Paul Wise <pabs@debian.org> - 2015-12-04 10:40 +0100
Re: Best/recommended way to search if a Java library or class is packaged Miguel Landaeta <nomadium@debian.org> - 2015-12-04 14:10 +0100
csiph-web