1 |
Hi Jacob, |
2 |
|
3 |
I think you have to put your classpath in: |
4 |
|
5 |
/usr/share/<package name>/package.env |
6 |
|
7 |
e.g. here is an example for ant: |
8 |
|
9 |
brain root # less /usr/share/ant/package.env |
10 |
DESCRIPTION="" |
11 |
CLASSPATH=/usr/share/ant/lib/*.jar:/usr/share/ant/lib/xercesImpl.jar:/ |
12 |
usr/share/ |
13 |
ant/lib/xml-apis.jar |
14 |
|
15 |
then a user is able to configure their system and user classpath to |
16 |
their liking whith java-config. |
17 |
|
18 |
e.g. show what is installed: |
19 |
java-config --list-available-packages |
20 |
|
21 |
java-config --set-system-classpath=package1,package2,... |
22 |
and |
23 |
java-config --set-user-classpath=package1,package2,... |
24 |
|
25 |
This is a great concept and worked very well for me. |
26 |
|
27 |
Hope this helps |
28 |
|
29 |
Dominik |
30 |
|
31 |
On Donnerstag, August 22, 2002, at 04:00 AM, Jacob Perkins wrote: |
32 |
|
33 |
> It's not an app, though, it's just a set of extension libraries for |
34 |
> java. Let's say you're using forte for java to code, or any other |
35 |
> editor |
36 |
> for that matter, you can't access these libraries unless they're in the |
37 |
> CLASSPATH. |
38 |
> |
39 |
> On Wed, 2002-08-21 at 19:49, Paul wrote: |
40 |
>> Jacob Perkins <jap1@××××××××××.ws>, on Wed Aug 21, 2002 [06:46:39 PM] |
41 |
>> said: |
42 |
>>> I'd like to make an ebuild for the java-mail api. It requires |
43 |
>>> additions |
44 |
>>> to CLASSPATH. How would I add a file to env.d that would have |
45 |
>>> 'CLASSPATH=${CLASSPATH}:/path/to/java/mail.jar'? |
46 |
>>> Thanks |
47 |
>>> |
48 |
>> |
49 |
>> Hi; |
50 |
>> |
51 |
>> Maybe you should just put a bit of bash script in |
52 |
>> /usr/bin that wraps this java thing, and sets whatever env |
53 |
>> variables it needs.? |
54 |
>> |
55 |
>> Paul |
56 |
>> set@×××××.com |
57 |
>> _______________________________________________ |
58 |
>> gentoo-dev mailing list |
59 |
>> gentoo-dev@g.o |
60 |
>> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
61 |
> -- |
62 |
> pub 1024D/57DDD9E3 2002-05-24 Jacob (Direct to Home) |
63 |
> <jap1@××××××××××.ws> |
64 |
> Key fingerprint = 1E02 A5FD 8162 4322 C674 6E67 05EB 30F1 57DD D9E3 |
65 |
> <signature.asc> |