This blog entry only makes sense if you've read Chapter 14 of the
Bucky Book.
I have a Mac Book Pro with Snow Leopard. I tried with both Eclipse
3.5.1 and Eclipse 3.6M4. It works with neither. It does work,
however, with Linux (Ubuntu) and Eclipse 3.5.1. I haven't tried
Eclipse 3.6M4 on Linux.
Installation Issues
There's something going on with installation that I don't
understand. I think of the Buckminster installation as having three
steps.
Why is the headless SVN Subclipse client from the cloudsmith site
and not from eclipse.org? The Bucky Book refers to the software as
The headless integrations for Subclipse and Subversion
contain plug-ins has licenses which prohibits them from being
redistributed from Eclipse.org. Instead, we distribute them from
Cloudsmiths website. The update site can be found at
http://download.cloudsmith.com/buckminster/external. (page 233)
When I worked with Eclipse 3.6M4, I
used the site
http://download.eclipse.org/tools/buckminster/updates-3.6
instead of
http://download.eclipse.org/tools/buckminster/updates-3.5
Now I cannot
install all three of the above into the same eclipse.
I cannot
install both the Buckminster SVN Support (Subclipse) from
http://download.eclipse.org/tools/buckminster/updates-3.5
and the headless SVN Subclipse client from
http://download.cloudsmith.com/buckinster/external.
This problem does not depend on the order in which I install them.
To get the
exmple to work I need Buckminster and the headless SVN Subclipse
client.
Buckminster, headless SVN Subclipse client,
Buckminster SVN Support (Subclipse)
If I install Buckminster, then the
headless SVN Subclipse client, and then try (fail) installing
Buckminster SVN Support (Subclipse), I get the following error.
Cannot
complete the install because of a conflicting dependency.
Software
being installed: Buckminster - Subclipse support 1.0.0.r11055
(org.eclipse.buckminster.subclipse.feature.feature.group
1.0.0.r11055)
Software
currently installed: Buckminster - Subclipse based SVN support for
headless operation 1.0.0.r10759
(org.eclipse.buckminster.subclipse.headless.feature.feature.group
1.0.0.r10759)
Only
one of the following can be installed at once:
Buckminster
Subclipse Support Plug-in 1.0.0.r10356
(org.eclipse.buckminster.subclipse 1.0.0.r10356)
Buckminster
Subclipse Support Plug-in 1.0.0.r11055
(org.eclipse.buckminster.subclipse 1.0.0.r11055)
Cannot
satisfy dependency:
From:
Buckminster - Subclipse support 1.0.0.r11055
(org.eclipse.buckminster.subclipse.feature.feature.group
1.0.0.r11055)
To:
org.eclipse.buckminster.subclipse [1.0.0.r11055]
Cannot
satisfy dependency:
From:
Buckminster - Subclipse based SVN support for headless operation
1.0.0.r10759
(org.eclipse.buckminster.subclipse.headless.feature.feature.group
1.0.0.r10759)
To:
org.eclipse.buckminster.subclipse [1.0.0.r10356]
Buckminster, Buckminster SVN Support
(Subclipse), headless SVN Subclipse client
If I install Buckminster, then the
Buckminster SVN Support (Subclipse), and then try (fail) installing
the headless SVN Subclipse client, I get the following error.
Cannot
complete the install because of a conflicting dependency.
Software
being installed: Buckminster - Subclipse based SVN support for
headless operation 1.0.0.r10759
(org.eclipse.buckminster.subclipse.headless.feature.feature.group
1.0.0.r10759)
Software
currently installed: Buckminster - Subclipse support 1.0.0.r11055
(org.eclipse.buckminster.subclipse.feature.feature.group
1.0.0.r11055)
Only
one of the following can be installed at once:
Buckminster
Subclipse Support Plug-in 1.0.0.r10356
(org.eclipse.buckminster.subclipse 1.0.0.r10356)
Buckminster
Subclipse Support Plug-in 1.0.0.r11055
(org.eclipse.buckminster.subclipse 1.0.0.r11055)
Cannot
satisfy dependency:
From:
Buckminster - Subclipse support 1.0.0.r11055
(org.eclipse.buckminster.subclipse.feature.feature.group
1.0.0.r11055)
To:
org.eclipse.buckminster.subclipse [1.0.0.r11055]
Cannot
satisfy dependency:
From:
Buckminster - Subclipse based SVN support for headless operation
1.0.0.r10759
(org.eclipse.buckminster.subclipse.headless.feature.feature.group
1.0.0.r10759)
To:
org.eclipse.buckminster.subclipse [1.0.0.r10356]
What I need for the example
The example
consists of creating an rmap and a cquery and then bringing up the
cquery in the Component Query Editor and selecting Resolve and
Materialize. For this Resolve and Materialize to work I need
Buckminster and the headless SVN Subclipse client installed.
If I install
just Buckminster and Buckminster SVN Support (Subclipse) and try to
Resolve ad Matrialize, I get an the following error.
ERROR
[0001] : No suitable provider for component
org.demo.hello.xml.world was found in resourceMap
http://www.eclipse.org/buckminster/samples/rmaps/demo.rmap
ERROR
[0001] : No suitable provider for component
org.demo.hello.xml.world was found in searchPath default
ERROR
[0001] : Rejecting provider
svn(http://dev.eclipse.org/svnroot/tools/org.eclipse.buckminster/trunk/org.eclipse.buckminster/demo/{0}):
No component match was found
ERROR
Unable to load default SVN Client
Errors
and Warnings
E
[0001] : No suitable provider for component org.demo.hello.xml.world
was found in resourceMap
http://www.eclipse.org/buckminster/samples/rmaps/demo.rmap
E
[0001] : No suitable provider for component
org.demo.hello.xml.world was found in searchPath defaultE
[0001] : Rejecting provider
svn(http://dev.eclipse.org/svnroot/tools/org.eclipse.buckminster/trunk/org.eclipse.buckminster/demo/{0}):
No component match was found: Unable to load default SVN Client
Results of running the example
First of all, note that I am installing Buckminster and the
headless SVN (Subclipse) client. To run the example, you must Resolve
and Materialize the cquery. Three projects are created:
org.demo.hello.xml.world,
org.demo.xml.provider, and org.demo.worlds. Then, run
org.demo.hello.xml.world as an Eclipse application.
If I do this on my Mac with Eclipse 3.6M4, I get the following
error when I try to Resolve and Materialize.
If I do this on my Mac with Eclipse 3.5.1, I can Resolve and
Materialize, but I fail when I try to run the example as an Eclipse
application. I get the following error. This may not be so
unreaonable because the Mac is a 64-bit machine.
If I do this on Linux with Eclipse 3.5.1 (my Linux is running
vitutally on my Mac under Parallels), it actually works. Here's what
the example look like when running in the runtime workbench as an
Eclipse application.
Reproducing the example
If I delete (projects and contents) of the three created projects
and then Resolve and Materilize, I get the following error.
ERROR
[0001] : CSpec se.tada/tada-sax has no action, group, or local
artifact named java.binary.archives
CSpec
se.tada/tada-sax has no action, group, or local artifact named
java.binary.archives
TAG-ID
0001 = Query for org.demo.hello.xml.world
Can I fix this? Sort of. I tried first by reinstalling Eclipse,
but this did not solve the problem. If I delete the workspace and
make a brand new one, even remaking the project with its rmap and
cquery files, the example works. Apparently just deleting the
projects is not enough. Even going into the workspace directory and
cleaning it out with command lines apparently is not enough.