Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] [p2] p2 test case failure using 1015 head.

I successfully created a director application and launched it to provision the sdk using the -data C:\temp\workspace -configuration C:\temp\workspace\.config when there was still a configuration directory in the directory application install tree. However when I removed this configuration and depend only on the C:\temp\workspace\.config directory I get an error. bundles.txt and config.ini are located in the .config directory. It is finding the location of config.ini but it isn't finding the bundles.txt.
org.osgi.framework.BundleException: Exception in org.eclipse.equinox.simpleconfigurator.internal.Activator.start() of bundle org.eclipse.equinox.simpleconfigurator.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startBundle(EclipseStarter.java:1140)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startBundles(EclipseStarter.java:1133)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:630)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:303)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1170)
at org.eclipse.equinox.launcher.Main.main(Main.java:1145)
Caused by: java.io.FileNotFoundException: configuration\org.eclipse.equinox.simpleconfigurator\bundles.txt (The system cannot find the path specified.)
at java.io.FileInputStream.<init>(FileInputStream.java:135)
at java.io.FileInputStream.<init>(FileInputStream.java:95)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:85)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:176)
at java.net.URL.openStream(URL.java:1041)
at org.eclipse.equinox.internal.simpleconfigurator.utils.SimpleConfiguratorUtils.readConfiguration(SimpleConfiguratorUtils.java:131)
at org.eclipse.equinox.simpleconfigurator.internal.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:75)
at org.eclipse.equinox.simpleconfigurator.internal.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:96)
at org.eclipse.equinox.simpleconfigurator.internal.Activator.start(Activator.java:47)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(AccessController.java:242)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
... 16 more
Root exception:
java.io.FileNotFoundException: configuration\org.eclipse.equinox.simpleconfigurator\bundles.txt (The system cannot find the path specified.)



Launch command
.\eclipse.exe -debug -data c:\temp\workspace -configuration c:\temp\workspace\.config -console -consolelog -noExit -vm C:/java50sr4/jre/bin/java.exe -application org.eclipse.equinox.p2.director.app.application -metadataRepository file:c:/tmp/equinox.p2/servers/metadataRepository/ -artifactRepository file:c:/tmp/equinox.p2/servers/artifactRepository/ -installIU sdk -destination c:/tmp/equinox.p2.bat/eclipseApp -flavor tooling -profile foo -vmargs -Declipse.p2.data.area=c:/tmp/equinox.p2.bat/agentData




Back to the top