Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [buckminster-dev] Struggling with Buckminster to produce a product

Below is the log file from the configuration directory.  From my
understanding, it looks like I'm missing a bundle (probably in the
target platform), but I can't figure out which one.

It's odd that Eclipse's generated config.ini works for my test case but
not for yours.  I like Buckminster's output better since it lists each
individual bundle (I believe that makes upgrades less error prone).  I
just hope we can get it to work!

Thanks

!SESSION 2008-09-30 14:49:34.062
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -debug

!ENTRY org.eclipse.osgi 4 0 2008-09-30 14:49:34.546
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.IllegalArgumentException: The System Bundle's start level can
not be modified.
	at
org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStar
tLevel(StartLevelManager.java:415)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseSt
arter.java:1122)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(Eclipse
Starter.java:646)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.access$1(EclipseStarter.
java:623)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter$1.bundleChanged(EclipseS
tarter.java:308)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent
(BundleContextImpl.java:1234)
	at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMana
ger.java:211)
	at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchrono
us(ListenerQueue.java:141)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPri
vileged(Framework.java:1518)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Fr
amework.java:1469)
	at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLev
el(StartLevelManager.java:281)
	at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartL
evelManager.java:247)
	at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundl
e.java:201)
	at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java
:644)
	at
org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.j
ava:313)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
175)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

!ENTRY org.eclipse.osgi 4 0 2008-09-30 14:49:34.562
!MESSAGE 
!STACK 0
java.lang.IllegalArgumentException: The System Bundle's start level can
not be modified.
	at
org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStar
tLevel(StartLevelManager.java:415)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseSt
arter.java:1122)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(Eclipse
Starter.java:646)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.access$1(EclipseStarter.
java:623)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter$1.bundleChanged(EclipseS
tarter.java:308)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent
(BundleContextImpl.java:1234)
	at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMana
ger.java:211)
	at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchrono
us(ListenerQueue.java:141)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPri
vileged(Framework.java:1518)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Fr
amework.java:1469)
	at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLev
el(StartLevelManager.java:281)
	at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartL
evelManager.java:247)
	at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundl
e.java:201)
	at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java
:644)
	at
org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.j
ava:313)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
175)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

!ENTRY org.eclipse.osgi 4 0 2008-09-30 14:49:34.562
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Platform not running
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
374)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

!ENTRY org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.core.runtime.compatibility_3.
2.0.v20071008.jar/ was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime.compatibility 2 0 2008-09-30
14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.update.configurator_[3.1.100,4.0.0).

!ENTRY org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.core.contenttype_3.3.0.v20080
604-1400.jar/ [1] was not resolved.
!SUBENTRY 2 org.eclipse.core.contenttype 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.preferences_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.contenttype 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.registry_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.contenttype 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.common_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.core.jobs_3.4.0.v20080512.jar
/ [2] was not resolved.
!SUBENTRY 2 org.eclipse.core.jobs 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.common_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.core.runtime.compatibility.au
th_3.2.100.v20070502.jar/ [3] was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime.compatibility.auth 2 0 2008-09-30
14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.common_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.core.runtime.compatibility_3.
2.0.v20071008.jar/ [4] was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime.compatibility 2 0 2008-09-30
14:49:34.578
!MESSAGE Missing required bundle org.eclipse.core.runtime_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime.compatibility 2 0 2008-09-30
14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.update.configurator_[3.1.100,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.core.runtime_3.4.0.v20080512.
jar/ [5] was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.common_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.registry_[3.4.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.preferences_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.core.contenttype_[3.3.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing optionally required bundle
org.eclipse.core.runtime.compatibility.auth_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle org.eclipse.equinox.app_[1.0.0,2.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing imported package
org.eclipse.core.internal.runtime.auth_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.equinox.app_1.1.0.v20080421-2
006.jar/ [6] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.app 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.registry_[3.4.0,4.0.0).
!SUBENTRY 2 org.eclipse.equinox.app 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.common_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.equinox.app 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing imported package org.osgi.service.event_1.0.0.
!SUBENTRY 2 org.eclipse.equinox.app 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing imported package org.osgi.service.event_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.equinox.common_3.4.0.v2008042
1-2006.jar/ [7] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.equinox.preferences_3.2.201.R
34x_v20080709.jar/ [8] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.preferences 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.common_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.equinox.preferences 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing optionally required bundle
org.eclipse.equinox.registry_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:49:34.578
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.equinox.registry_3.4.0.v20080
516-0950.jar/ [9] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.registry 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing required bundle
org.eclipse.equinox.common_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.equinox.registry 2 0 2008-09-30 14:49:34.578
!MESSAGE Missing imported package org.eclipse.core.runtime.jobs_0.0.0.

-----Original Message-----
From: buckminster-dev-bounces@xxxxxxxxxxx
[mailto:buckminster-dev-bounces@xxxxxxxxxxx] On Behalf Of Thomas
Hallgren
Sent: Wednesday, October 01, 2008 12:15 AM
To: Buckminster developer discussions
Subject: Re: [buckminster-dev] Struggling with Buckminster to produce a
product

Hi Mark,
I remember changing the Buckminster output since I simply could not get
the output 
generated by eclipse to run at all. I know there are situations where
that happens. What 
type of error do you get with the Buckminster generated config.ini?

Regards,
Thomas Hallgren


Addleman, Mark J wrote:
> I'm struggling to get Buckminster to produce an Eclipse product.  My 
> ideal end result is a package with the appropriate features, plugins, 
> config.ini, and launcher.  The attached set of projects produce a very

> nice Eclipse export (complete with the JRE!).  However, I am unable to

> get Buckminster to produce a correct product.  The only difference I
see 
> between the two builds is the configuration directory, particularly
the 
> config.ini file.
> 
>  
> 
> The Eclipse exported config.ini is:
> 
> #Product Runtime Configuration File
> 
>  
> 
> osgi.splashPath=platform:/base/plugins/learn.buckminster.headless
> 
> eclipse.product=learn.buckminster.headless.headlessproduct
> 
> osgi.bundles.defaultStartLevel=4
> 
>
osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.confi
gurator@3:start,org.eclipse.core.runtime@start 
>
<mailto:osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.upda
te.configurator@3:start,org.eclipse.core.runtime@start>
> 
>  
> 
> The Buckminster config.ini is:
> 
> #Product Runtime Configuration File
> 
>  
> 
> eclipse.product=learn.buckminster.headless.headlessproduct
> 
>
osgi.bundles=org.eclipse.core.contenttype,org.eclipse.core.jobs,org.ecli
pse.core.runtime.compatibility.auth,org.eclipse.core.runtime.compatibili
ty,org.eclipse.core.runtime,org.eclipse.equinox.app@start,org.eclipse.eq
uinox.common@start:2,org.eclipse.equinox.preferences,org.eclipse.equinox
.registry,org.eclipse.osgi,org.eclipse.update.configurator,learn.buckmin
ster.headless,org.eclipse.equinox.launcher.win32.win32.x86,org.eclipse.e
quinox.launcher
> 
> osgi.bundles.defaultStartLevel=4
> 
>  
> 
>  
> 
> I don't want to maintain config.ini files manually and, ideally, the 
> config would list each bundle individually as Buckminster does.
> 
>  
> 
> What am I missing?
> 

_______________________________________________
buckminster-dev mailing list
buckminster-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/buckminster-dev



Back to the top