Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-vcm-dev] File System and WebDAV Examples

Hi,

I'm working with the v2_0_4 Team examples (under Windows at present), in
preparation for building Team plugins for our Stellation SCM work.

In order to run the examples (under a separate run-time instance of
Eclipse), I have:
a) downloaded code from CVS (using R1.0 VCM support)
b) renamed the 5 plugin.xml.off files to plugin.xml
    (for all org.eclipse.team.* plugins)
c) Disabled plugins that seemed likely to conflict:
	CVS EXT Core, CVS SSH Core, CVS VCM Core, CVS VCM UI
	Version/Configuration Management Core,
	Version/Configuration Management UI

*** Test 1 ***

Here's what happened when I launched the run-time instance:
a) I created a new Plugin project 'FooTest'
b) I opened the right-click context menu on FooTest (Package view) and chose
    'Share Project'
c) The Share Project dialog offered three choices:
	File System Example (non-versioning)
	WebDAV Example
	CVS

d) I picked File System Example, and received this error:
	Error: File System Provider could not be instantiated.
	Reason: error associating FooTest with provider named
	org.eclipse.examples.core.fsprovider_nature.  The Project
	is already associated with a Provider.

e) Checked FooTest | Properties.  Found a top-level 'CVS' node.
    On clicking the CVS tab, I received an error :
	"Error occurred in .... SimpleProvider..... see log'

f) I then checked a different tab, then reclicked the CVS tab.
   This time, I saw a CVS dialog for provider/project configuration.

Apparently, FooTest was gifted with a CVS provider nature before I had a chance
to associate FooTest with the File System Example.

************
Test 2.

This time, I disabled the org.eclipse.team.cvs.* plugins by renaming the 3
corresponding plugin.xml files to plugin.xml.no.

Under the runtime-instance, I verified (via Plugin Registry view) that the
R1.0 VCM and R2.0 CVS plugins were not loaded, and that the 2.0 Team and
Team Examples Plugins *were* loaded.

Then, I created some new projects (one PDE, one plain Java), and tried to
associate them with the File System provider.  Nope!  I got the same error
as before (".... already associated with a Provider").

When I checked the project Properties pane, no CVS node was listed.  (And,
of course, the Share Project dialog listed File System and WebDAV options,
but not CVS).

*************

It appears that any new project is immediately, automatically associated
with a Provider nature (presumably CVS).  Perhaps I'm doing something wrong?
 Enlightenment (or a workaround) would be much appreciated!

Thanks,
Jim



Back to the top