[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Use of fragments and feature

From: Kai Nacke <kai.nacke_at_redstar.de>
Date: 2004-02-04 21:46:18 CET

Hi subclipse commiters!

Since subclipse is a real cool project, I like to contribute some
code/thoughts.

1) Use fragments to support different operating systems.

I set up a fragment project "org.tigris.subversion.subclipse.core.win32" which
contains the windows specific library "svnjavahl.dll". A similar project
"org.tigris.subversion.subclipse.core.linux" could be created for the linux
specific library "libsvnjavahl.so". With the use of theses fragments, no other
 subclipse plugin should contain os specific code.

2) Use a feature to support easy install/update.

With the use of fragments, the subclipse "plugin" gets complex (it's then a
bundle of four plugins, but a potential user needs only three of them). To
solve this (and other) problems, Eclipse uses features. I created a feature
project "org.tigris.subversion.subclipse". The zip file created by this project
can easily distributed and installed.

If you like these ideas, I can contribute the source for both projects.
(I didn't attach the source because not every mailing lists likes larger
postings. Should I post the source on the list (2 zip files, 4k + 12k), or
should I better create an issue?)

- Kai
Received on Thu Feb 5 07:46:18 2004

This is an archived mail posted to the Subclipse Dev mailing list.