Community
Participate
Working Groups
Hi, today I exported a plugin and placed them in a subfolder of dropins. I used the Windows XP platform. This plugin was not discovered after restart of Eclipse. Only after I placed them into dropins directly Eclipse found them. I believe subfolder are supposed to be working with dropins and p2. Best regards, Lars
What is the exact directly structure that was not working for you? There are a bunch of different supported layouts. http://wiki.eclipse.org/Equinox_p2_Getting_Started#Supported_dropins_formats
I called my folder "website" and placed the plugins into this folder. Is this not supported?
No, this is not supported. I am surprised that you don't get an error message in the log file. I get the stack trace below when I tried it on my machine. Please refer to the above link to the wiki page for the supported formats. !ENTRY org.eclipse.equinox.p2.core 4 0 2010-07-13 16:29:08.101 !MESSAGE Provisioning exception !STACK 1 org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/Users/equinox/Downloads/eclipse/dropins/website/. at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:392) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:676) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92) at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.loadMetadataRepository(Activator.java:92) at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.getMetadataRepository(DropinsRepositoryListener.java:198) at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.addRepository(DropinsRepositoryListener.java:93) at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.added(DropinsRepositoryListener.java:68) at org.eclipse.equinox.internal.provisional.p2.directorywatcher.DirectoryWatcher.processFile(DirectoryWatcher.java:197) at org.eclipse.equinox.internal.provisional.p2.directorywatcher.DirectoryWatcher.scanDirectories(DirectoryWatcher.java:160) at org.eclipse.equinox.internal.provisional.p2.directorywatcher.DirectoryWatcher.poll(DirectoryWatcher.java:108) at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Activator.java:476) at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:160) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
Thanks for clarification.