Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stellation-res] Proposed Project Setup Change (get rid of ECLIPSE_HOME classpath items)

Hi,

Per my last message, I've just overhauled the general project setup so that
Stellation plugins depend on binary SWT projects in the same Eclipse
workspace, rather than on ECLIPSE_HOME/.... library references.

An Eclipse guru has suggested we might want to change *all* of the
ECLIPSE_HOME dependencies in the Stellation plugins so that they refer to
local binary projects instead.  This hides most (if not all) direct jar
references,  and has a number of benefits:

* The actual jars within a plugin can be changed (e.g. updated to a new version)
without having to manually update all the classpath references.  (Conversely,
if we need a specific version, that can be expressed in the plugin manifest editor,
in the Dependencies pane.

* It will be somewhat easier to add new dependencies (or additional plugins) in future. Since all installed binary projects appear in the Java Build Path > Projects pane, one can simply tick off the desired build dependencies (rather than navigating through
a set of dialogs to find the necessary jar(s) under ECLIPSE_HOME).

* Any other platform dependencies that may emerge in future can be hidden as we've just
done for SWT.

The downside is relatively small:

- One must import the binary projects into the workspace. I believe Eclipse may provide some support for doing this automatically (haven't checked yet), and even if manual importing is needed, it's fairly simple (just check the desired imports in a single dialog
list and it's done).

- The workspace gets more cluttered - possibly a lot more cluttered.
However, this is only an issue in the Navigator view, because the Package Explorer view
offers a filter option for hiding all binary projects.

On balance, I think this would be a good change.
What do others think?

Regards,
Jim
--
Jim Wright, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: jwright@xxxxxxxxxxxxxx ------- Personal Email: jim.wright@xxxxxxx



Back to the top