From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JECju-0005tP-B5 for garchives@archives.gentoo.org; Sun, 13 Jan 2008 23:59:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E754EE0E2E; Sun, 13 Jan 2008 23:59:40 +0000 (UTC) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by pigeon.gentoo.org (Postfix) with ESMTP id CC10BE0E2E for ; Sun, 13 Jan 2008 23:59:40 +0000 (UTC) Received: by nz-out-0506.google.com with SMTP id s18so794683nze.1 for ; Sun, 13 Jan 2008 15:59:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=HHPNdJl6EYjXJUUOqoXmTRdBWl16K8InZ6D0UdLWBis=; b=ZzOeEljYAHmDa6vXOkO6BGb06BXMT5oO3un8xcacBoNG55TBb1uhQlVRMDYtiiOpIF2+ZnK1MsCLTEBOvmLgjFFd169+vNgJ4jdn0iusezqUp4aeFtwVg8ClRuP4y9mOZC8tiZQRqVOg5pGFFvzTmcYCntLq7pPvk4pER/qf/ZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SlaGWEYlChlBjfmRcKtEXw1DFSlZ5veVoVaVIRaSNo1mCSBxsGhpyDaDBB3wFF123GInrYYduuPYQLVW5i2H9Etmn25Chcu+3byzzZYtbAQ0jP92jCy0SBcDQEHCXfa1uWWSShRiwz6WDPmy3slUdX16QZGoPOaLYBFiZ6aYgLc= Received: by 10.142.90.8 with SMTP id n8mr2237675wfb.84.1200268780099; Sun, 13 Jan 2008 15:59:40 -0800 (PST) Received: by 10.142.161.2 with HTTP; Sun, 13 Jan 2008 15:59:40 -0800 (PST) Message-ID: Date: Sun, 13 Jan 2008 18:59:40 -0500 From: jieryn@gmail.com To: "=?ISO-8859-1?Q?Pascal_Fl=F6schel?=" Subject: Re: [gentoo-java] Java packages in eclipse build path Cc: gentoo-java@lists.gentoo.org In-Reply-To: <478AA252.5040402@gmx.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <478AA252.5040402@gmx.de> X-Archives-Salt: 12216561-18f2-4db2-9918-c428f0ffd150 X-Archives-Hash: aaf3ad1753f12dc6b956d8de81302a9a On Jan 13, 2008 6:44 PM, Pascal Fl=F6schel wrote: > Is there a fast and simple way of using the package.env (e.g. > /usr/share/axis-1/package.env ) to add libraries into the eclipse build > path? Manually reading the package.env and adding every jar by hand > takes quite some time. I do stuff like this quite a bit, java-config is simple but great tool to learn. You can add the output of the following scriptlet to your .classpath file inside your project. I use something like this for many purposes, #!/bin/bash for pkg in $(java-config --list-available-packages | sort | perl -pi -e 's/^\[(.*?)].*/$1/g') do echo -n "" done -jesse -- gentoo-java@lists.gentoo.org mailing list