[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
Re: [platform-cvs-dev] Headless and extssh
|
- From: Thomas Hallgren <thomas@xxxxxxx>
- Date: Fri, 28 Sep 2007 08:04:47 +0200
- Delivered-to: platform-cvs-dev@eclipse.org
- User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Atsuhiko Yamanaka wrote:
Hi,
+-From: Thomas Hallgren <thomas@xxxxxxx> --
|_Date: Thu, 27 Sep 2007 22:45:39 +0200 ___
|
|I've been trying to figure out how to create a headless CVS
|configuration for Buckminster that will be able to connect using
|'extssh'. From the looks of it, it is impossible. The
|'org.eclipse.team.cvs.ssh' bundle contains ssh1 only and it doesn't
|register the needed IConnectionMethod as an extension. This is done in
|the bundle 'org.eclipse.team.cvs.ssh2'. This bundle in turn is dependent
|on the a whole bunch of UI bundles.
|I looked at the code and the only real dependency to a UI component
|seems to come from the CVSSSH2Plugin class (it's derived from
|AbstractUIPlugin) but other then that, there's no UI specific code. Is
|this per design or is it just an oversight?
Eclipse SDK 3.2 had such a problem, but Eclipse SDK 3.3 does not have.
Until Eclipse SDK 3.2, 'org.eclipse.team.cvs.ssh2' had needed UI for its
PreferencePages. Since SDK 3.3, those pages have been moved to under
'org.eclipse.jsch.core' and
'org.eclipse.jsch.ui'
and 'org.eclipse.team.cvs.ssh2' will be available under the
headless environment.
I'm sorry, but that's not correct. I am using Eclipse 3.3. The
org.eclipse.team.cvs.ssh2 bundle indeed has dependencies to the UI. The
following is copied from the META-INF/Manifest.mf file. of
org.eclipse.team.cvs.ssh2_3.2.100.I20070604 (the version shipped with
SDK 3.3):
====Begin copy============
Bundle-Version: 3.2.100.I20070604
Bundle-Activator: org.eclipse.team.internal.ccvs.ssh2.CVSSSH2Plugin
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)
",org.eclipse.core.resources;bundle-version="[3.3.0,4.0.0)",org.eclip
se.team.cvs.core;bundle-version="[3.3.0,4.0.0)",org.eclipse.team.core
;bundle-version="[3.3.0,4.0.0)",org.eclipse.swt;bundle-version="[3.2.
0,4.0.0)",org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",org.eclipse.t
eam.cvs.ssh;bundle-version="[3.2.0,4.0.0)",org.eclipse.team.ui;bundle
-version="[3.3.0,4.0.0)",com.jcraft.jsch;bundle-version="[0.1.27,2.0.
0)",org.eclipse.core.net;bundle-version="[1.0.0,2.0.0)",org.eclipse.j
sch.core;bundle-version="[1.0.0,2.0.0)"
====End copy==============
Regards,
Thomas Hallgren