From: jieryn@gmail.com
To: "Pascal Flöschel" <pascal.floeschel@gmx.de>
Cc: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] Java packages in eclipse build path
Date: Sun, 13 Jan 2008 18:59:40 -0500 [thread overview]
Message-ID: <eab08af20801131559m2cb6b010w1271c1055a574e56@mail.gmail.com> (raw)
In-Reply-To: <478AA252.5040402@gmx.de>
On Jan 13, 2008 6:44 PM, Pascal Flöschel <pascal.floeschel@gmx.de> 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 "<classpathentry kind=\"lib\" path=\"/usr/share/$pkg/lib/$pkg.jar\""
echo " sourcepath=\"/usr/share/$pkg/sources/$pkg-src.zip\"/>"
done
-jesse
--
gentoo-java@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-01-13 23:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-13 23:44 [gentoo-java] Java packages in eclipse build path Pascal Flöschel
2008-01-13 23:59 ` jieryn [this message]
2008-01-14 1:28 ` Pascal Flöschel
2008-01-14 2:56 ` Bernhard Frauendienst
2008-01-14 0:08 ` Bernhard Frauendienst
2008-01-14 6:45 ` Andrew Cowie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eab08af20801131559m2cb6b010w1271c1055a574e56@mail.gmail.com \
--to=jieryn@gmail.com \
--cc=gentoo-java@lists.gentoo.org \
--cc=pascal.floeschel@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox