geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: eclipse as a top-level directory in GEP zip file?
Date Thu, 03 Apr 2008 17:07:13 GMT
On Thu, Apr 3, 2008 at 4:42 PM, Dan Becker <dan.o.becker@gmail.com> wrote:

>  It is also nice to have just plugins and features rather than
> eclipse\plugins and eclipse\features when you have different versions of
> eclipse and change the directory to eclipse3.2 eclipse3.3 eclipse7.1 etc.

The real solution to the issue is to use Eclipse's extension locations
so you define a link file in links directory (beneath the Eclipse home
directory) where you point out the directory with plugins to be
included, i.e.

jlaskowski@work /cygdrive/c/apps/eclipse
$ ls -l links/
total 9
-rwx------+ 1 jlaskowski None 44 Feb 11 08:49 GEF.link
-rwx------+ 1 jlaskowski None 35 Mar 27 13:54 ajdt.link
-rwx------+ 1 jlaskowski None 45 Feb 11 08:53 dtp.link
-rwx------+ 1 jlaskowski None 54 Feb 11 08:49 emf-sdo-xsd.link
-rwx------+ 1 jlaskowski None 54 Mar 31 10:50 geronimo-eclipse-plugin.link
-rwx------+ 1 jlaskowski None 40 Feb 14 04:20 m2eclipse.link
-rwx------+ 1 jlaskowski None 53 Feb 23 23:32 openejb-eclipse-plugin.link
-rwx------+ 1 jlaskowski None 43 Feb 14 09:01 wicket-bench.link
-rwx------+ 1 jlaskowski None 42 Feb 14 09:01 wtp.link

jlaskowski@work /cygdrive/c/apps/eclipse
$ cat links/geronimo-eclipse-plugin.link
path=C:/apps/eclipse-plugins/geronimo-eclipse-plugin

jlaskowski@work /cygdrive/c/apps/eclipse
$ ls -l C:/apps/eclipse-plugins/geronimo-eclipse-plugin
total 0
drwx------+ 4 jlaskowski None 0 Mar 31 10:17 eclipse

jlaskowski@work /cygdrive/c/apps/eclipse
$ ls -l C:/apps/eclipse-plugins/geronimo-eclipse-plugin/eclipse
total 24
-rwx------+ 1 jlaskowski None 19125 Oct 29 14:06 LICENSE
-rwx------+ 1 jlaskowski None  3298 Oct 29 14:06 NOTICE
drwx------+ 8 jlaskowski None     0 Mar 31 09:06 features
drwx------+ 2 jlaskowski None     0 Mar 31 09:06 plugins

No matter how hard you'd try updates are always very painful, but
Extension Locations feature of Eclipse made it a breeze.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message