Gentoo Archives: gentoo-java

From: "Jean-Noël Rivasseau" <elvanor@g.o>
To: gentoo-java <gentoo-java@l.g.o>
Subject: [gentoo-java] Moving Eclipse-3.3 to tree
Date: Thu, 17 Jan 2008 10:10:36
Message-Id: d61c57300801170210l7354957q6fceea2d8ac72751@mail.gmail.com
1 Hello all,
2
3 At this point all the dependencies for Eclipse were moved to main tree (they
4 use the osgi eclass so they make suitable jars for Eclipse). So there is
5 only now for Eclipse itself to be moved there.
6
7 Just wanted to check that junit-4.4-r1, which was also moved to tree, does
8 not trigger circular dependencies anymore (I checked on the bugzilla and it
9 seems it is ok).
10
11 For information I plan to move it as 3.3.1.1, deleting the ebuilds in the
12 experimental overlay except the ali_bush latest one (-r2).
13
14 Finally I need advice on the following (which is the only thing left to be
15 done on my agenda before putting Eclipse in tree):
16
17 I would like to offer the possibility for the user to control the Eclipse
18 startup options. Especially regarding the memory options as the default ones
19 make Eclipse run very slowly, crashing a lot especially on amd64.
20
21 Normally this is done by writing options to /usr/lib/eclipse-3.3/eclipse.ini,
22 but I was thinking of providing a configuration file in /etc/conf.d because:
23
24 1) It looks a better Gentoo way (eg, users know about /etc/conf.d, they may
25 not know about eclipse.ini)
26 2) It would have a simpler configuration syntax (pure familiar Bash syntax
27 resulting in things like ECLIPSE_MAX_MEMORY="128M", whereas the syntax in
28 the eclipse.ini file is more obscure even for me - looks like there should
29 be one option per line).
30
31 What is your feedback on this? Other options could include sourcing
32 ~/.eclipserc, I don't like that much (it would create yet another .* file in
33 the home directory). Plus this is probably something to set globally on the
34 system.
35
36 However, I was wondering if /etc/conf.d would be appropriate for an
37 application's settings. Most of the stuff there is either server related
38 (tomcat, apache etc...) or system related (alsa, clock, xdm...)
39
40 Thanks for the feedback, Elvanör

Replies

Subject Author
Re: [gentoo-java] Moving Eclipse-3.3 to tree Eivind Tagseth <eivindt@××××××××.no>
Re: [gentoo-java] Moving Eclipse-3.3 to tree Vlastimil Babka <caster@g.o>