Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[buckminster-dev] Re: Problems getting started with Headless Buckminster

Many thanks, Thomas.

After installing v20061006, "buckminster listsite" works just as well as "buckminster listsite C:\buckminster" !

However, we're still blocked by issues with the headless SVN support. Hopefully this is just pilot error!

I have updated the final steps of the previous recipe to use a publicly accessible SVN repository to help reproduce the remaining problems.

1) the resolution of the search path is complaining about a missing category. 2) no reader type with id svn has been registered with extension-point org.eclipse.buckminster.core.readerTypes

In trace#1 below, we are issuing a test cquery using the test rmap from the buckminster headless svn plugin. The contents of test.cquery and test.rmap are also included below in listing#1 and listing#2 respectively.

Any insight you can provide would be greatly appreciated.

trace#1
C:\>buckminster --log -W C:\tmp\bm.workspace getcfg file:///C:/buckminster.cqueries/test.cquery
=== BEGIN: Wed Nov 22 10:46:28 PST 2006 ===
=== BOOTLOG: FILE: C:\DOCUME~1\John\LOCALS~1\Temp\buckminster.bootlog.22222.tmp
BOOTLOG START Wed Nov 22 10:46:26 PST 2006
Buckminster class location: jar:file:/C:/buckminster/buckminster_startup.jar!/org/eclipse/buckminster/headless/startup/
>>> RAW ARGUMENTS START
--log
-W
C:\tmp\bm.workspace
getcfg
file:///C:/buckminster.cqueries/test.cquery
<<< RAW ARGUMENTS END
The startup jar: C:\buckminster\startup.jar
The headless file: C:\DOCUME~1\John\LOCALS~1\Temp\buckminster.headless.22223.tmp

Launching in the same VM with command line:
-noExit
-data
C:\tmp\bm.workspace
-application
org.eclipse.buckminster.headless.launcher
C:\DOCUME~1\John\LOCALS~1\Temp\buckminster.headless.22223.tmp
BOOTLOG END
 ===
=== ORIGINAL ARGS: -application org.eclipse.buckminster.headless.launcher C:\DOC
UME~1\John\LOCALS~1\Temp\buckminster.headless.22223.tmp  ===
=== MUNGED ARGS: C:\DOCUME~1\John\LOCALS~1\Temp\buckminster.headless.22223.tmp
===
=== READ ARGS: --_bootlog C:\DOCUME~1\John\LOCALS~1\Temp\buckminster.bootlog.222
22.tmp --log getcfg file:///C:/buckminster.cqueries/test.cquery  ===
CtrlC trap installed
Using workspace at file:/C:/tmp/bm.workspace/...
Running query...
|......................................................................| 0.0% |-.....................................................................| 0.0% |*****************.....................................................| 25.0% XML namespace http://www.eclipse.org/buckminster/Provider-1.0 is deprecated. Use http://www.eclipse.org/buckminster/RMap-1.0 instead: file:/C:/buckminster.cqueries/test.rmap |******************....................................................| 26.3% Found searchPath subclipse-core for component org.tigris.subversion.subclipse.core Provider eclipse.platform(plugin/org.tigris.subversion.subclipse.core): Unable to manage requests without category Provider eclipse.platform(feature/org.tigris.subversion.subclipse.core): Unable to manage requests without category Error while matching provider http://subclipse.tigris.org/svn/subclipse/trunk/subclipse/core org.eclipse.buckminster.core.reader.MissingReaderTypeException: No reader type with id svn has been registered with extension-point org.eclipse.buckminster.core.readerTypes at org.eclipse.buckminster.core.CorePlugin.getReaderType(CorePlugin.java:444) at org.eclipse.buckminster.core.rmap.SearchPath.match(SearchPath.java:249) at org.eclipse.buckminster.core.rmap.SearchPath.getProvider(SearchPath.java:189) at org.eclipse.buckminster.core.rmap.ResourceMap.getCSpecPacking(ResourceMap.java:123) at org.eclipse.buckminster.core.query.NodeQuery.getCSpecPacking(NodeQuery.java:71) at org.eclipse.buckminster.core.rmap.ResolverNode.run(ResolverNode.java:316)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Provider svn(http://subclipse.tigris.org/svn/subclipse/trunk/subclipse/core) : No match found for component org.tigris.subversion.subclipse.core ECLIPSE LOG EVENT: id='org.eclipse.buckminster.core', message='No suitable provider for component org.tigris.subversion.subclipse.core was found in searchPath subclipse-core'. See 'C:\tmp\bm.workspace\.metadata\.log' for more details |*******************...................................................| 27.5% |***********************************...................................| 50.0% |***********************************...................................| 50.0%
=== Problem running 'getcfg'...
Errors during resolve
[0.1]Provider eclipse.platform(plugin/org.tigris.subversion.subclipse.core): Unable to manage requests without category [0.2]Provider eclipse.platform(feature/org.tigris.subversion.subclipse.core): Unable to manage requests without category [0.3]Provider svn(http://subclipse.tigris.org/svn/subclipse/trunk/subclipse/core): No match found for component org.tigris.subversion.subclipse.core ECLIPSE LOG EVENT: id='org.eclipse.core.filesystem', message='Could not load library: localfile_1_0_0.dll. This library provides platform-specific optimizations for certain file system operations. This library is not present on all platforms, so this may not be an error. The resources plug-in will safely fall back to using java.io.File functionality.'. See 'C:\tmp\bm.workspace\.metadata\.log' for more details
(exit value = 126)
=== END: Wed Nov 22 10:46:28 PST 2006 (elapsed: ~0 seconds) ===

listing#1
C:\buckminster.cqueries\test.cquery

<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0";
                   resourceMap="file:///C:/buckminster.cqueries/test.rmap">
    <cq:rootRequest name="org.tigris.subversion.subclipse.core" />
</cq:componentQuery>


listing#2
C:\buckminster.cqueries\test.rmap

<rm:rmap
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
	xmlns:rm="http://www.eclipse.org/buckminster/RMap-1.0";
	xmlns:pv="http://www.eclipse.org/buckminster/Provider-1.0";
	xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0";
	xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0";>

	<rm:site name="default">
	</rm:site>

	<rm:searchPath name="subclipse-core">
<rm:provider readerType="svn" componentType="eclipse-project" mutable="false" source="true"> <pv:uri format="http://subclipse.tigris.org/svn/subclipse/trunk/subclipse/core"/>
		</rm:provider>
	</rm:searchPath>

<rm:locator searchPathRef="subclipse-core" pattern="^org\.tigris\.subversion\.subclipse\.core$" />
</rm:rmap>

Kind Regards,
John Fallows.
--
Author:  Pro JSF and Ajax: Building Rich Internet Components
http://apress.com/book/bookDisplay.html?bID=10044


Back to the top