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

Hi Thomas,

Did you have any luck following this recipe to reproduce the problem?

Kind Regards,
John Fallows
Brane Corporation

John R. Fallows wrote:
Hi Thomas,

Thomas Hallgren wrote:
Everything in Buckminster is build on 3.2.1, not 3.2.0 so I don't think your problems are caused by a version conflict. I think you might be missing something else that causes the org.eclipse.jdt.debug to fail. Perhaps Buckminster has some inconsistency in the way the interdependencies between the features are setup. Can you provide a list of exactly what features you installed? I'd like to try and recreate your problem locally.

Here is a precise reproduction recipe from before Buckminster is even installed, until hitting the problem mentioned previously.

The same problem occurs on both Windows and Linux. This recipe uses Windows to reproduce.

Please see my additional comments at the end of this email.

1. Install JDK 1.5.0_09

C:\>java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)

2. Unzip buckminster.product-1.0.0.v20061005.zip into C:\

C:\>dir buckminster
 Volume in drive C has no label.
 Volume Serial Number is 6011-047D

 Directory of C:\buckminster

11/16/2006  10:26 AM    <DIR>          .
11/16/2006  10:26 AM    <DIR>          ..
10/05/2006  09:14 PM               143 .eclipseproduct
11/16/2006  10:26 AM    <DIR>          configuration
11/16/2006  10:26 AM    <DIR>          features
11/16/2006  10:26 AM    <DIR>          plugins
10/05/2006  09:14 PM            33,049 startup.jar
10/05/2006  09:14 PM           180,224 _productinitializer.exe
10/05/2006  09:14 PM               129 _productinitializer.ini
               4 File(s)        213,545 bytes
               5 Dir(s)  38,936,350,720 bytes free


3. Bootstrap Buckminster binary

C:\buckminster>_productinitializer.exe initialize


4. Update PATH environment variable

Add C:\buckminster to PATH environment variable

C:\>buckminster
No command provided. Try one of:
  buckminster --help
  buckminster --listcommands
  buckminster <command> --help


5. Verify local installation

C:\>buckminster listsite C:\buckminster
Searching file:/C:/buckminster/...
|**********************************************************************|
Features:
org.eclipse.buckminster.headless.feature_1.0.0.v20061005 (Buckminster Headless) org.eclipse.buckminster.headless.platform.feature_1.0.0.v20060921 (Headless Platform)
  org.eclipse.buckminster.product_1.0.0.v20061005 (Buckminster Product)

C:\>buckminster listsite
Searching local site...
|**********************************************************************|
Features:
org.eclipse.buckminster.headless.feature_1.0.0.v20061005 (Buckminster Headless) org.eclipse.buckminster.headless.platform.feature_1.0.0.v20060921 (Headless Platform) Plug-in "org.eclipse.ant.core" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.resources" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.runtime" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.variables" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.update.core" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.expressions" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.runtime.compatibility" version "0.0.0" referencedby this feature is missing. Plug-in "org.eclipse.osgi" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.update.configurator" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.resources.compatibility" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.filesystem" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.equinox.common" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.jobs" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.equinox.preferences" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.equinox.registry" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.contenttype" version "0.0.0" referenced by this feature is missing. Plug-in "org.apache.ant" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.runtime.compatibility.registry" version "0.0.0" referenced by this feature is missing. Plug-in "com.ibm.icu" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.debug.core" version "0.0.0" referenced by this featureis missing. Plug-in "org.eclipse.help" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.filebuffers" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.osgi.services" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.osgi.util" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.commands" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.runtime.compatibility.auth" version "0.0.0" referenced by this feature is missing.
  org.eclipse.buckminster.product_1.0.0.v20061005 (Buckminster Product)
Included feature "Headless Platform" version "1.0.0.v20060921" contains problems.

UNEXPECTED: there seems to be a difference in behavior between explicit and implicit local site.


6. Install Buckminster Headless Features

C:\>buckminster install http://download.eclipse.org/technology/buckminster/updates org.eclipse.buckminster.feature C:\>buckminster install http://download.eclipse.org/technology/buckminster/updates org.eclipse.buckminster.headless.cvs.feature C:\>buckminster install http://download.eclipse.org/technology/buckminster/updates org.eclipse.buckminster.maven.feature C:\>buckminster install http://download.eclipse.org/technology/buckminster/updates org.eclipse.buckminster.ant.feature C:\>buckminster install http://download.eclipse.org/technology/buckminster/updates org.eclipse.buckminster.headless.pde.feature C:\>buckminster install http://download.eclipse.org/technology/buckminster/updates org.eclipse.buckminster.headless.svn.feature


7. Re-verify local installation
C:\>buckminster listsite C:\buckminster
Searching file:/C:/buckminster/...
|**********************************************************************|
Features:
org.eclipse.buckminster.ant.feature_1.0.0.v20061005 (Buckminster - Ant support) org.eclipse.buckminster.cvs.feature_1.0.0.v20061005 (Buckminster - CVS support)
  org.eclipse.buckminster.feature_1.0.0.v20061005 (Buckminster)
org.eclipse.buckminster.headless.cvs.feature_1.0.0.v20061005 (Buckminster - Headless CVS support) org.eclipse.buckminster.headless.feature_1.0.0.v20061005 (Buckminster Headless) org.eclipse.buckminster.headless.jdt.feature_1.0.0.v20061005 (Buckminster - Headless JDT support) org.eclipse.buckminster.headless.pde.feature_1.0.0.v20061006 (Buckminster - Headless PDE support) org.eclipse.buckminster.headless.platform.feature_1.0.0.v20060921 (Headless Platform) org.eclipse.buckminster.headless.svn.feature_1.0.0.v20061005 (Buckminster - Headless SVN support) org.eclipse.buckminster.jdt.feature_1.0.0.v20061005 (Buckminster - JDT support) org.eclipse.buckminster.maven.feature_1.0.0.v20061005 (Buckminster - Maven support) org.eclipse.buckminster.pde.feature_1.0.0.v20061006 (Buckminster - PDE support)
  org.eclipse.buckminster.product_1.0.0.v20061005 (Buckminster Product)
org.eclipse.buckminster.svn.feature_1.0.0.v20061005 (Buckminster - Subversion support)


C:\>buckminster listsite
Searching local site...
|**********************************************************************|
Features:
org.eclipse.buckminster.ant.feature_1.0.0.v20061005 (Buckminster - Ant support) org.eclipse.buckminster.cvs.feature_1.0.0.v20061005 (Buckminster - CVS support)
  org.eclipse.buckminster.feature_1.0.0.v20061005 (Buckminster)
org.eclipse.buckminster.headless.cvs.feature_1.0.0.v20061005 (Buckminster - Headless CVS support) org.eclipse.buckminster.headless.feature_1.0.0.v20061005 (Buckminster Headless) org.eclipse.buckminster.headless.jdt.feature_1.0.0.v20061005 (Buckminster - Headless JDT support) Plug-in "org.eclipse.jdt.debug" version "3.2.1.r321_v20060731" referenced by this feature is missing. Plug-in "org.junit4" version "4.1.0.1" referenced by this feature is missing. org.eclipse.buckminster.headless.pde.feature_1.0.0.v20061006 (Buckminster - Headless PDE support) Plug-in "org.eclipse.pde.build" version "3.2.1.r321_v20060823" referenced by this feature is missing. Included feature "Buckminster - Headless JDT support" version "1.0.0.v20061005" contains problems. org.eclipse.buckminster.headless.platform.feature_1.0.0.v20060921 (Headless Platform) Plug-in "org.eclipse.ant.core" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.resources" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.runtime" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.variables" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.update.core" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.expressions" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.runtime.compatibility" version "0.0.0" referencedby this feature is missing. Plug-in "org.eclipse.osgi" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.update.configurator" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.resources.compatibility" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.filesystem" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.equinox.common" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.jobs" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.equinox.preferences" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.equinox.registry" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.contenttype" version "0.0.0" referenced by this feature is missing. Plug-in "org.apache.ant" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.runtime.compatibility.registry" version "0.0.0" referenced by this feature is missing. Plug-in "com.ibm.icu" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.debug.core" version "0.0.0" referenced by this featureis missing. Plug-in "org.eclipse.help" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.filebuffers" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.osgi.services" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.osgi.util" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.commands" version "0.0.0" referenced by this feature is missing. Plug-in "org.eclipse.core.runtime.compatibility.auth" version "0.0.0" referenced by this feature is missing. org.eclipse.buckminster.headless.svn.feature_1.0.0.v20061005 (Buckminster - Headless SVN support) org.eclipse.buckminster.jdt.feature_1.0.0.v20061005 (Buckminster - JDT support) org.eclipse.buckminster.maven.feature_1.0.0.v20061005 (Buckminster - Maven support) org.eclipse.buckminster.pde.feature_1.0.0.v20061006 (Buckminster - PDE support)
  org.eclipse.buckminster.product_1.0.0.v20061005 (Buckminster Product)
Included feature "Headless Platform" version "1.0.0.v20060921" contains problems. org.eclipse.buckminster.svn.feature_1.0.0.v20061005 (Buckminster - Subversion support)


UNEXPECTED: there seems to be a difference in behavior between explicit and implicit local site.


8. Checkout workspace using cquery

C:\>buckminster --log -W C:\tmp\bm.workspace getcfg http://trac/txe/attachment/wiki/Buckminster/brane.studio.cquery?format=raw
=== BEGIN: Thu Nov 16 11:08:52 PST 2006 ===
=== BOOTLOG: FILE: C:\DOCUME~1\John\LOCALS~1\Temp\buckminster.bootlog.63604.tmp
BOOTLOG START Thu Nov 16 11:08:50 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
http://trac/txe/attachment/wiki/Buckminster/brane.studio.cquery?format=raw
<<< RAW ARGUMENTS END
The startup jar: C:\buckminster\startup.jar
The headless file: C:\DOCUME~1\John\LOCALS~1\Temp\buckminster.headless.63605.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.63605.tmp
BOOTLOG END
 ===
=== ORIGINAL ARGS: -application org.eclipse.buckminster.headless.launcher C:\DOCUME~1\John\LOCALS~1\Temp\buckminster.headless.63605.tmp === === MUNGED ARGS: C:\DOCUME~1\John\LOCALS~1\Temp\buckminster.headless.63605.tmp
===
=== READ ARGS: --_bootlog C:\DOCUME~1\John\LOCALS~1\Temp\buckminster.bootlog.63604.tmp --log getcfg http://trac/txe/attachment/wiki/Buckminster/brane.studio.cquery?format=raw ===
CtrlC trap installed
Using workspace at file:/C:/tmp/bm.workspace/...
Running query...
|......................................................................| 0.0% |-.....................................................................| 0.0% |*****************.....................................................| 25.0% |******************....................................................| 26.3%
Found searchPath brane for component com.txe.studio.feature
Provider eclipse.platform(plugin/com.txe.studio.feature): Unable to manage requests without category Provider eclipse.platform(feature/com.txe.studio.feature): Unable to managerequests without category
Error while matching provider svn://svn/txe/trunk/com.txe.studio.feature
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(svn://svn/txe/trunk/com.txe.studio.feature): No match found for component com.txe.studio.feature ECLIPSE LOG EVENT: id='org.eclipse.buckminster.core', message='No suitable provider for component com.txe.studio.feature was found in searchPath brane'. 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/com.txe.studio.feature): Unable to managerequests without category [0.2]Provider eclipse.platform(feature/com.txe.studio.feature): Unable to manage requests without category [0.3]Provider svn(svn://svn/txe/trunk/com.txe.studio.feature): No match found for component com.txe.studio.feature 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: Thu Nov 16 11:08:53 PST 2006 (elapsed: ~0 seconds) ===

UNEXPECTED:  Headless SVN plug-in is not registering readerType extension.

I suspect that the plug-ins are not resolving properly during "buckminster getcfg" in the same way that they do not resolve properly during "buckminster listsite".

If we can resolve "buckminster listsite" to behave the same as "buckminster listsite C:\buckminster", then hopefully the "buckminster getcfg" issue would also be resolved.

How does buckminster determine the implicit target platform location for "buckminster listsite" ?

Many thanks for helping us to figure this out. :)

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