I tried a check-out from the SVN Repository view (right-click, Checkout,
and then changed the revision and clicked Finish). I get this error:
checkout -r 1430
http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.b2j/trunk/features/org.eclipse.stp.b2j.feature
svn: URL
'http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.b2j/trunk/features/org.eclipse.stp.b2j.feature'
doesn't exist
- thomas
Mark Phippard wrote:
> The exceptions are thrown from the library we use, so we do not
> necessarily know what it is checking. I'd start by trying to checkout
> the same path and revision using Subclipse UI.
>
> Mark
>
>
> On Feb 2, 2008 9:20 AM, Thomas Hallgren <thomas_at_tada.se> wrote:
>
>> Hi,
>> The Buckminster Subclipse support plug-in is using the
>> ISVNClientAdapter.checkout method. It works OK for the most part but now
>> I have a weird problem that I cannot figure out. Perhaps someone on this
>> list is able to help out.
>>
>> I'm on a Linux system. This command is will succeed without problems
>> (you can my examples, they will check out 25 or so small files):
>>
>> svn checkout -r 1430
>> http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.b2j/trunk/features/org.eclipse.stp.b2j.feature
>>
>> Yet, from Java, when I run these four lines of code:
>>
>> public void testWeirdness() throws Exception
>> {
>> ISVNClientAdapter adapter =
>> SVNProviderPlugin.getPlugin().createSVNClient();
>> SVNUrl url = new
>> SVNUrl("http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.b2j/trunk/features/org.eclipse.stp.b2j.feature");
>> SVNRevision rev = new SVNRevision.Number(1430);
>> adapter.checkout(url, new File("/home/thhal/tmp/cotest"), rev,
>> true);
>> }
>>
>> I will get this exception:
>>
>> org.tigris.subversion.svnclientadapter.SVNClientException:
>> org.tigris.subversion.javahl.ClientException: svn: URL
>> 'http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.b2j/trunk/features/org.eclipse.stp.b2j.feature'
>> doesn't exist
>>
>> (full trace below).
>>
>> If I instead use SVNRevision.HEAD when checking out from Java, the
>> check-out will succeed. An svn info on the checked out folder reveals this:
>>
>> [thhal_at_tada tmp]$ svn info cotest
>> Path: cotest
>> URL:
>> http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.b2j/trunk/features/org.eclipse.stp.b2j.feature
>> Repository Root: http://dev.eclipse.org/svnroot/stp
>> Repository UUID: 6d33e942-f73d-0410-a51d-8b4d3eaff046
>> Revision: 1663
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: askehill
>> Last Changed Rev: 1430
>> Last Changed Date: 2008-01-09 14:07:34 +0100 (Wed, 09 Jan 2008)
>>
>> So what is it that I do wrong? Any help is greatly appreciated.
>>
>> Kind Regards,
>> Thomas Hallgren
>>
>>
>>
>> org.tigris.subversion.svnclientadapter.SVNClientException:
>> org.tigris.subversion.javahl.ClientException: svn: URL
>> 'http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.b2j/trunk/features/org.eclipse.stp.b2j.feature'
>> doesn't exist
>> at
>> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.checkout(AbstractJhlClientAdapter.java:240)
>> at
>> org.eclipse.buckminster.svn.test.TestSVNCSpecProvider.testWeirdness(TestSVNCSpecProvider.java:42)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at junit.framework.TestCase.runTest(TestCase.java:168)
>> at
>> org.eclipse.buckminster.core.test.AbstractTestCase.runTest(AbstractTestCase.java:74)
>> at junit.framework.TestCase.runBare(TestCase.java:134)
>> at junit.framework.TestResult$1.protect(TestResult.java:110)
>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>> at junit.framework.TestResult.run(TestResult.java:113)
>> at junit.framework.TestCase.run(TestCase.java:124)
>> at junit.framework.TestSuite.runTest(TestSuite.java:232)
>> at junit.framework.TestSuite.run(TestSuite.java:227)
>> at
>> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
>> at
>> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
>> at
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>> at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
>> at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
>> at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
>> at
>> org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:58)
>> at
>> org.eclipse.pde.internal.junit.runtime.CoreTestApplication.run(CoreTestApplication.java:24)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at
>> org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:572)
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:171)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
>> Caused by: org.tigris.subversion.javahl.ClientException: svn: URL
>> 'http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.b2j/trunk/features/org.eclipse.stp.b2j.feature'
>> doesn't exist
>> at
>> org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:435)
>> at
>> org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1309)
>> at
>> org.tmatesoft.svn.core.javahl.SVNClientImpl.checkout(SVNClientImpl.java:363)
>> at
>> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.checkout(AbstractJhlClientAdapter.java:231)
>> ... 40 more
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
>> For additional commands, e-mail: dev-help_at_subclipse.tigris.org
>>
>>
>>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-02-02 16:00:04 CET