Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin does not load from jar #7

Closed
romanr opened this issue Apr 20, 2012 · 4 comments
Closed

Plugin does not load from jar #7

romanr opened this issue Apr 20, 2012 · 4 comments
Assignees
Labels

Comments

@romanr
Copy link

romanr commented Apr 20, 2012

Eclipse Error log:
No repository found at jar:file:/Applications/eclipse/dropins/gherkin-eclipse-plugin.1.0.1.jar!/.

eclipse.buildId=M20120208-0800
java.version=1.6.0_31

org.eclipse.equinox.p2.core.ProvisionException: No repository found at jar:file:/Applications/eclipse/dropins/gherkin-eclipse-plugin.1.0.1.jar!/.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:393)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:675)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:100)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.loadArtifactRepository(Activator.java:142)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.getArtifactRepository(DropinsRepositoryListener.java:260)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.addRepository(DropinsRepositoryListener.java:123)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.added(DropinsRepositoryListener.java:96)
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:535)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:172)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)

@ilanpillemer
Copy link
Owner

Oops.

If you use the previous one from an earlier commit it works.

I will look at this the weekend.

Sorry.

Sent from my iPhone

On 20 Apr 2012, at 11:42 AM, Roman Roanreply@reply.github.com wrote:

Eclipse Error log:
No repository found at jar:file:/Applications/eclipse/dropins/gherkin-eclipse-plugin.1.0.1.jar!/.

eclipse.buildId=M20120208-0800
java.version=1.6.0_31

org.eclipse.equinox.p2.core.ProvisionException: No repository found at jar:file:/Applications/eclipse/dropins/gherkin-eclipse-plugin.1.0.1.jar!/.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:393)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:675)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:100)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.loadArtifactRepository(Activator.java:142)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.getArtifactRepository(DropinsRepositoryListener.java:260)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.addRepository(DropinsRepositoryListener.java:123)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.added(DropinsRepositoryListener.java:96)
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:535)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:172)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)


Reply to this email directly or view it on GitHub:
#7

@ghost ghost assigned ilanpillemer Apr 21, 2012
@ilanpillemer
Copy link
Owner

Fixed. I had added some junit tests; but the plugin was missing junit on its classpath. But I had the classpath on my plugin project correct. I have changed the procedure by which I create the plugin jar; so this can't happen again. I also have added the jar to the downloads section; so that you don't have to download the whole project just to get jar.

@romanr
Copy link
Author

romanr commented Apr 22, 2012

It's working now! Thanks for the great plugin!

@ilanpillemer
Copy link
Owner

No problem. Feel free to create issues if you think of a nice improvement. If I like I will do it... Or if you do it yourself send a pull request.

Sent from my iPhone

On 22 Apr 2012, at 8:10 AM, Roman Roanreply@reply.github.com wrote:

It's working now! Thanks for the great plugin!


Reply to this email directly or view it on GitHub:
#7 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants