bndtools/bnd — Issue #134: LauncherTest hangs
Author: fhuberts
Created: 2012-02-07 16:40:51+00:00
State: open

output:

```
!!!! Couldn't find embedded-repo.jar in bundle
java -cp /home/ferry/vcs/pelagic/bnd/cnf/repo/org.eclipse.osgi/org.eclipse.osgi-3.6.0.jar:/home/ferry/vcs/pelagic/bnd/biz.aQute.launcher/generated/biz.aQute.launcher.jar:/home/ferry/vcs/pelagic/bnd/cnf/cache/biz.aQute.launcher/biz.aQute.launcher-latest.jar -Dlauncher.properties=/home/ferry/vcs/pelagic/bnd/demo/generated/launch7027141664147607056.properties aQute.launcher.Launcher
# inited runbundles=[/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.scr/org.apache.felix.scr-1.6.0.jar, /home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar] activators=[] timeout=0
# using working dir: /home/ferry/vcs/pelagic/bnd/demo/generated/fw
# deleting working dir /home/ferry/vcs/pelagic/bnd/demo/generated/fw because not kept
# system packages used: org.eclipse.osgi.event;version="1.0",org.eclipse.osgi.framework.console;version="1.1",org.eclipse.osgi.framework.eventmgr;version="1.2",org.eclipse.osgi.framework.log;version="1.0",org.eclipse.osgi.launch;version="1.0",org.eclipse.osgi.service.datalocation;version="1.3",org.eclipse.osgi.service.debug;version="1.2",org.eclipse.osgi.service.environment;version="1.3",org.eclipse.osgi.service.localization;version="1.1",org.eclipse.osgi.service.pluginconversion;version="1.0",org.eclipse.osgi.service.resolver;version="1.4",org.eclipse.osgi.service.runnable;version="1.1",org.eclipse.osgi.service.security;version="1.0",org.eclipse.osgi.service.urlconversion;version="1.0",org.eclipse.osgi.signedcontent;version="1.0",org.eclipse.osgi.storagemanager;version="1.0",org.eclipse.osgi.util;version="1.1",org.osgi.framework;version="1.5",org.osgi.framework.launch;version="1.0",org.osgi.framework.hooks.service;version="1.0",org.osgi.service.condpermadmin;version="1.1",org.osgi.service.framework;x-internal:=true;version="1.0",org.osgi.service.packageadmin;version="1.2",org.osgi.service.permissionadmin;version="1.2",org.osgi.service.startlevel;version="1.1",org.osgi.service.url;version="1.0",org.osgi.util.tracker;version="1.4.0",org.osgi.util.tracker;version="1.4.2",org.eclipse.core.runtime.adaptor;x-friends:="org.eclipse.core.runtime",org.eclipse.core.runtime.internal.adaptor;x-internal:=true,org.eclipse.core.runtime.internal.stats;x-friends:="org.eclipse.core.runtime",org.eclipse.osgi.baseadaptor;x-internal:=true,org.eclipse.osgi.baseadaptor.bundlefile;x-internal:=true,org.eclipse.osgi.baseadaptor.hooks;x-internal:=true,org.eclipse.osgi.baseadaptor.loader;x-internal:=true,org.eclipse.osgi.framework.adaptor;x-internal:=true,org.eclipse.osgi.framework.debug;x-internal:=true,org.eclipse.osgi.framework.internal.core;x-internal:=true,org.eclipse.osgi.framework.internal.protocol;x-internal:=true,org.eclipse.osgi.framework.internal.protocol.bundleentry;x-internal:=true,org.eclipse.osgi.framework.internal.protocol.bundleresource;x-internal:=true,org.eclipse.osgi.framework.internal.protocol.reference;x-internal:=true,org.eclipse.osgi.framework.internal.reliablefile;x-internal:=true,org.eclipse.osgi.framework.util;x-internal:=true,org.eclipse.osgi.internal.baseadaptor;x-internal:=true,org.eclipse.osgi.internal.composite;x-internal:=true,org.eclipse.osgi.internal.loader;x-internal:=true,org.eclipse.osgi.internal.loader.buddy;x-internal:=true,org.eclipse.osgi.internal.module;x-internal:=true,org.eclipse.osgi.internal.profile;x-internal:=true,org.eclipse.osgi.internal.resolver;x-internal:=true,org.eclipse.osgi.internal.serviceregistry;x-internal:=true,org.eclipse.osgi.internal.permadmin;x-internal:=true,org.eclipse.osgi.internal.provisional.service.security;x-friends:="org.eclipse.equinox.security.ui";version="1.0.0",org.eclipse.osgi.internal.provisional.verifier;x-friends:="org.eclipse.update.core,org.eclipse.ui.workbench,org.eclipse.equinox.p2.artifact.repository",org.eclipse.osgi.internal.service.security;x-friends:="org.eclipse.equinox.security.ui",org.eclipse.osgi.internal.signedcontent;x-internal:=true,org.eclipse.osgi.service.internal.composite;x-internal:=true
# using META-INF/services
# found META-INF/services in jar:file:/home/ferry/vcs/pelagic/bnd/cnf/repo/org.eclipse.osgi/org.eclipse.osgi-3.6.0.jar!/META-INF/services/org.osgi.framework.launch.FrameworkFactory
# org.eclipse.osgi.launch.EquinoxFactory
# Framework factory org.eclipse.osgi.launch.EquinoxFactory@65846044
# framework instance org.eclipse.osgi.launch.Equinox@7dba994b
# inited system bundle org.eclipse.osgi.launch.Equinox@7dba994b
# No default permission resource default.perm
# Using default permissions for System Bundle
# No permissions for System Bundle
# system bundle started ok
# Updating framework with [/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.scr/org.apache.felix.scr-1.6.0.jar, /home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar]
# installing /home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.scr/org.apache.felix.scr-1.6.0.jar
# will install /home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.scr/org.apache.felix.scr-1.6.0.jar with reference
# Using default permissions for reference:file:/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.scr/org.apache.felix.scr-1.6.0.jar
# installing /home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar
# will install /home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar with reference
# Using default permissions for reference:file:/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar
# bundles administered [/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.scr/org.apache.felix.scr-1.6.0.jar, /home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar]
# Will start bundles: [org.apache.felix.scr_1.6.0 [1], org.apache.felix.configadmin_1.2.8 [2]]
# starting org.apache.felix.scr
# started org.apache.felix.scr
# starting org.apache.felix.configadmin
# started org.apache.felix.configadmin
------------------------------- REPORT --------------------------

Framework class org.eclipse.osgi.launch.Equinox
Framework type META-INF/services
Storage /home/ferry/vcs/pelagic/bnd/demo/generated/fw
Keep false
Security true
Run bundles /home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.scr/org.apache.felix.scr-1.6.0.jar
/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar
Classpath /home/ferry/vcs/pelagic/bnd/cnf/repo/org.eclipse.osgi/org.eclipse.osgi-3.6.0.jar
/home/ferry/vcs/pelagic/bnd/biz.aQute.launcher/generated/biz.aQute.launcher.jar
/home/ferry/vcs/pelagic/bnd/cnf/cache/biz.aQute.launcher/biz.aQute.launcher-latest.jar
System Packages org.eclipse.osgi.event;version="1.0"
org.eclipse.osgi.framework.console;version="1.1"
org.eclipse.osgi.framework.eventmgr;version="1.2"
org.eclipse.osgi.framework.log;version="1.0"
org.eclipse.osgi.launch;version="1.0"
org.eclipse.osgi.service.datalocation;version="1.3"
org.eclipse.osgi.service.debug;version="1.2"
org.eclipse.osgi.service.environment;version="1.3"
org.eclipse.osgi.service.localization;version="1.1"
org.eclipse.osgi.service.pluginconversion;version="1.0"
org.eclipse.osgi.service.resolver;version="1.4"
org.eclipse.osgi.service.runnable;version="1.1"
org.eclipse.osgi.service.security;version="1.0"
org.eclipse.osgi.service.urlconversion;version="1.0"
org.eclipse.osgi.signedcontent;version="1.0"
org.eclipse.osgi.storagemanager;version="1.0"
org.eclipse.osgi.util;version="1.1"
org.osgi.framework;version="1.5"
org.osgi.framework.launch;version="1.0"
org.osgi.framework.hooks.service;version="1.0"
org.osgi.service.condpermadmin;version="1.1"
org.osgi.service.framework;x-internal:=true;version="1.0"
org.osgi.service.packageadmin;version="1.2"
org.osgi.service.permissionadmin;version="1.2"
org.osgi.service.startlevel;version="1.1"
org.osgi.service.url;version="1.0"
org.osgi.util.tracker;version="1.4.0"
org.osgi.util.tracker;version="1.4.2"
org.eclipse.core.runtime.adaptor;x-friends:="org.eclipse.core.runtime"
org.eclipse.core.runtime.internal.adaptor;x-internal:=true
org.eclipse.core.runtime.internal.stats;x-friends:="org.eclipse.core.runtime"
org.eclipse.osgi.baseadaptor;x-internal:=true
org.eclipse.osgi.baseadaptor.bundlefile;x-internal:=true
org.eclipse.osgi.baseadaptor.hooks;x-internal:=true
org.eclipse.osgi.baseadaptor.loader;x-internal:=true
org.eclipse.osgi.framework.adaptor;x-internal:=true
org.eclipse.osgi.framework.debug;x-internal:=true
org.eclipse.osgi.framework.internal.core;x-internal:=true
org.eclipse.osgi.framework.internal.protocol;x-internal:=true
org.eclipse.osgi.framework.internal.protocol.bundleentry;x-internal:=true
org.eclipse.osgi.framework.internal.protocol.bundleresource;x-internal:=true
org.eclipse.osgi.framework.internal.protocol.reference;x-internal:=true
org.eclipse.osgi.framework.internal.reliablefile;x-internal:=true
org.eclipse.osgi.framework.util;x-internal:=true
org.eclipse.osgi.internal.baseadaptor;x-internal:=true
org.eclipse.osgi.internal.composite;x-internal:=true
org.eclipse.osgi.internal.loader;x-internal:=true
org.eclipse.osgi.internal.loader.buddy;x-internal:=true
org.eclipse.osgi.internal.module;x-internal:=true
org.eclipse.osgi.internal.profile;x-internal:=true
org.eclipse.osgi.internal.resolver;x-internal:=true
org.eclipse.osgi.internal.serviceregistry;x-internal:=true
org.eclipse.osgi.internal.permadmin;x-internal:=true
org.eclipse.osgi.internal.provisional.service.security;x-friends:="org.eclipse.equinox.security.ui";version="1.0.0"
org.eclipse.osgi.internal.provisional.verifier;x-friends:="org.eclipse.update.core
org.eclipse.ui.workbench
org.eclipse.equinox.p2.artifact.repository"
org.eclipse.osgi.internal.service.security;x-friends:="org.eclipse.equinox.security.ui"
org.eclipse.osgi.internal.signedcontent;x-internal:=true
org.eclipse.osgi.service.internal.composite;x-internal:=true
Properties
launch.trace true
launch.services true
test.cmd exit
launch.activators
launch.system.packages org.eclipse.osgi.event;version="1.0",org.eclipse.osgi.framework.console;version="1.1",org.eclipse.osgi.framework.eventmgr;version="1.2",org.eclipse.osgi.framework.log;version="1.0",org.eclipse.osgi.launch;version="1.0",org.eclipse.osgi.service.datalocation;version="1.3",org.eclipse.osgi.service.debug;version="1.2",org.eclipse.osgi.service.environment;version="1.3",org.eclipse.osgi.service.localization;version="1.1",org.eclipse.osgi.service.pluginconversion;version="1.0",org.eclipse.osgi.service.resolver;version="1.4",org.eclipse.osgi.service.runnable;version="1.1",org.eclipse.osgi.service.security;version="1.0",org.eclipse.osgi.service.urlconversion;version="1.0",org.eclipse.osgi.signedcontent;version="1.0",org.eclipse.osgi.storagemanager;version="1.0",org.eclipse.osgi.util;version="1.1",org.osgi.framework;version="1.5",org.osgi.framework.launch;version="1.0",org.osgi.framework.hooks.service;version="1.0",org.osgi.service.condpermadmin;version="1.1",org.osgi.service.framework;x-internal:=true;version="1.0",org.osgi.service.packageadmin;version="1.2",org.osgi.service.permissionadmin;version="1.2",org.osgi.service.startlevel;version="1.1",org.osgi.service.url;version="1.0",org.osgi.util.tracker;version="1.4.0",org.osgi.util.tracker;version="1.4.2",org.eclipse.core.runtime.adaptor;x-friends:="org.eclipse.core.runtime",org.eclipse.core.runtime.internal.adaptor;x-internal:=true,org.eclipse.core.runtime.internal.stats;x-friends:="org.eclipse.core.runtime",org.eclipse.osgi.baseadaptor;x-internal:=true,org.eclipse.osgi.baseadaptor.bundlefile;x-internal:=true,org.eclipse.osgi.baseadaptor.hooks;x-internal:=true,org.eclipse.osgi.baseadaptor.loader;x-internal:=true,org.eclipse.osgi.framework.adaptor;x-internal:=true,org.eclipse.osgi.framework.debug;x-internal:=true,org.eclipse.osgi.framework.internal.core;x-internal:=true,org.eclipse.osgi.framework.internal.protocol;x-internal:=true,org.eclipse.osgi.framework.internal.protocol.bundleentry;x-internal:=true,org.eclipse.osgi.framework.internal.protocol.bundleresource;x-internal:=true,org.eclipse.osgi.framework.internal.protocol.reference;x-internal:=true,org.eclipse.osgi.framework.internal.reliablefile;x-internal:=true,org.eclipse.osgi.framework.util;x-internal:=true,org.eclipse.osgi.internal.baseadaptor;x-internal:=true,org.eclipse.osgi.internal.composite;x-internal:=true,org.eclipse.osgi.internal.loader;x-internal:=true,org.eclipse.osgi.internal.loader.buddy;x-internal:=true,org.eclipse.osgi.internal.module;x-internal:=true,org.eclipse.osgi.internal.profile;x-internal:=true,org.eclipse.osgi.internal.resolver;x-internal:=true,org.eclipse.osgi.internal.serviceregistry;x-internal:=true,org.eclipse.osgi.internal.permadmin;x-internal:=true,org.eclipse.osgi.internal.provisional.service.security;x-friends:="org.eclipse.equinox.security.ui";version="1.0.0",org.eclipse.osgi.internal.provisional.verifier;x-friends:="org.eclipse.update.core,org.eclipse.ui.workbench,org.eclipse.equinox.p2.artifact.repository",org.eclipse.osgi.internal.service.security;x-friends:="org.eclipse.equinox.security.ui",org.eclipse.osgi.internal.signedcontent;x-internal:=true,org.eclipse.osgi.service.internal.composite;x-internal:=true
launch.timeout 0
launch.storage.dir /home/ferry/vcs/pelagic/bnd/demo/generated/fw
launch.bundles /home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.scr/org.apache.felix.scr-1.6.0.jar,/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar
launch.keep false

Id State Modified Location
0 ACTIV <> System Bundle
1 ACTIV 201111262139 reference:file:/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.scr/org.apache.felix.scr-1.6.0.jar
2 ACTIV 201111262139 reference:file:/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar
# start embedded activators
# framework=org.eclipse.osgi.launch.Equinox@7dba994b
# registered launcher with arguments for syncing
# will wait for a registered Runnable
```

input file /home/ferry/vcs/pelagic/bnd/demo/generated/launch3788616532887676849.properties aQute.launcher.Launcher:
```
#Launching demo
#Tue Feb 07 17:39:06 CET 2012
launch.trace=true
launch.services=true
test.cmd=exit
launch.activators=
launch.system.packages=org.eclipse.osgi.event;version\="1.0",org.eclipse.osgi.framework.console;version\="1.1",org.eclipse.osgi.framework.eventmgr;version\="1.2",org.eclipse.osgi.framework.log;version\="1.0",org.eclipse.osgi.launch;version\="1.0",org.eclipse.osgi.service.datalocation;version\="1.3",org.eclipse.osgi.service.debug;version\="1.2",org.eclipse.osgi.service.environment;version\="1.3",org.eclipse.osgi.service.localization;version\="1.1",org.eclipse.osgi.service.pluginconversion;version\="1.0",org.eclipse.osgi.service.resolver;version\="1.4",org.eclipse.osgi.service.runnable;version\="1.1",org.eclipse.osgi.service.security;version\="1.0",org.eclipse.osgi.service.urlconversion;version\="1.0",org.eclipse.osgi.signedcontent;version\="1.0",org.eclipse.osgi.storagemanager;version\="1.0",org.eclipse.osgi.util;version\="1.1",org.osgi.framework;version\="1.5",org.osgi.framework.launch;version\="1.0",org.osgi.framework.hooks.service;version\="1.0",org.osgi.service.condpermadmin;version\="1.1",org.osgi.service.framework;x-internal\:\=true;version\="1.0",org.osgi.service.packageadmin;version\="1.2",org.osgi.service.permissionadmin;version\="1.2",org.osgi.service.startlevel;version\="1.1",org.osgi.service.url;version\="1.0",org.osgi.util.tracker;version\="1.4.0",org.osgi.util.tracker;version\="1.4.2",org.eclipse.core.runtime.adaptor;x-friends\:\="org.eclipse.core.runtime",org.eclipse.core.runtime.internal.adaptor;x-internal\:\=true,org.eclipse.core.runtime.internal.stats;x-friends\:\="org.eclipse.core.runtime",org.eclipse.osgi.baseadaptor;x-internal\:\=true,org.eclipse.osgi.baseadaptor.bundlefile;x-internal\:\=true,org.eclipse.osgi.baseadaptor.hooks;x-internal\:\=true,org.eclipse.osgi.baseadaptor.loader;x-internal\:\=true,org.eclipse.osgi.framework.adaptor;x-internal\:\=true,org.eclipse.osgi.framework.debug;x-internal\:\=true,org.eclipse.osgi.framework.internal.core;x-internal\:\=true,org.eclipse.osgi.framework.internal.protocol;x-internal\:\=true,org.eclipse.osgi.framework.internal.protocol.bundleentry;x-internal\:\=true,org.eclipse.osgi.framework.internal.protocol.bundleresource;x-internal\:\=true,org.eclipse.osgi.framework.internal.protocol.reference;x-internal\:\=true,org.eclipse.osgi.framework.internal.reliablefile;x-internal\:\=true,org.eclipse.osgi.framework.util;x-internal\:\=true,org.eclipse.osgi.internal.baseadaptor;x-internal\:\=true,org.eclipse.osgi.internal.composite;x-internal\:\=true,org.eclipse.osgi.internal.loader;x-internal\:\=true,org.eclipse.osgi.internal.loader.buddy;x-internal\:\=true,org.eclipse.osgi.internal.module;x-internal\:\=true,org.eclipse.osgi.internal.profile;x-internal\:\=true,org.eclipse.osgi.internal.resolver;x-internal\:\=true,org.eclipse.osgi.internal.serviceregistry;x-internal\:\=true,org.eclipse.osgi.internal.permadmin;x-internal\:\=true,org.eclipse.osgi.internal.provisional.service.security;x-friends\:\="org.eclipse.equinox.security.ui";version\="1.0.0",org.eclipse.osgi.internal.provisional.verifier;x-friends\:\="org.eclipse.update.core,org.eclipse.ui.workbench,org.eclipse.equinox.p2.artifact.repository",org.eclipse.osgi.internal.service.security;x-friends\:\="org.eclipse.equinox.security.ui",org.eclipse.osgi.internal.signedcontent;x-internal\:\=true,org.eclipse.osgi.service.internal.composite;x-internal\:\=true
launch.timeout=0
launch.storage.dir=/home/ferry/vcs/pelagic/bnd/demo/generated/fw
launch.bundles=/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.scr/org.apache.felix.scr-1.6.0.jar,/home/ferry/vcs/pelagic/bnd/../repo/bundles/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar
launch.keep=false
```