Newbie Subclipse builder here.
It looks like in rev 3245, Steve Elsemore checked in some changes to
allow not automatically creating a new directory when sharing a project.
That added a new bool parameter to SVNWorkspaceRoot.shareProject, but
the tests weren't updated to match, so both SubclipseTest.java and
ShareProjectTest.java have errors.
I added a "true" to the tests in my local copy, since that seems to have
been the old behavior, but I'm guessing that this also implies that
there are no tests for the new "false" condition yet... It doesn't look
to me like Subclipse is going for full test coverage anyway, but just
thought I'd mention it.
So, now that they compile... uh... does anyone know how to run them? I
tried just running subclipse-test.launch, but I get:
org.eclipse.core.internal.resources.ResourceException: Resource
'/project1' is not open.
at
org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:97)
at org.eclipse.core.internal.resources.Project.hasNature(Project.java:467)
at
org.eclipse.dltk.ruby.internal.ui.RubyProjectDecorator.decorate(RubyProjectDecorator.java:24)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:259)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
org.eclipse.core.internal.resources.ResourceException: Resource
'/project1' is not open.
at
org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:97)
at org.eclipse.core.internal.resources.Project.hasNature(Project.java:467)
at
org.eclipse.dltk.ruby.internal.ui.RubyProjectDecorator.decorate(RubyProjectDecorator.java:24)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:259)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
org.eclipse.core.internal.resources.ResourceException: Resource
'/project1' is not open.
at
org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:97)
at org.eclipse.core.internal.resources.Project.hasNature(Project.java:467)
at
org.eclipse.dltk.ruby.internal.ui.RubyProjectDecorator.decorate(RubyProjectDecorator.java:24)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:259)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
org.eclipse.core.internal.resources.ResourceException: Resource
'/project1' is not open.
at
org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:97)
at org.eclipse.core.internal.resources.Project.hasNature(Project.java:467)
at
org.eclipse.dltk.ruby.internal.ui.RubyProjectDecorator.decorate(RubyProjectDecorator.java:24)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:259)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
org.eclipse.core.internal.resources.ResourceException: Resource
'/project1' is not open.
at
org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:97)
at org.eclipse.core.internal.resources.Project.hasNature(Project.java:467)
at
org.eclipse.dltk.ruby.internal.ui.RubyProjectDecorator.decorate(RubyProjectDecorator.java:24)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:259)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
org.eclipse.core.internal.resources.ResourceException: Resource
'/project1' is not open.
at
org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:97)
at org.eclipse.core.internal.resources.Project.hasNature(Project.java:467)
at
org.eclipse.dltk.ruby.internal.ui.RubyProjectDecorator.decorate(RubyProjectDecorator.java:24)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:259)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I do see it create /project1 in the newly launched Eclipse-under-test's
Project Explorer; is there something else I need to configure? My six
minutes of Java experience have not prepared me for this.
Jay Levitt
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Mon Sep 10 01:22:54 2007