Eclipse SVN断开连接后 怎么重新连接

Eclipse SVN断开连接

Eclipse SVN断开连接后 怎么重新连接

首先要确认断开的方式。具体如下:

1、可重新连接的方式断开,恢复流程如下:

右键工程-〉

2、删除了SVN元信息(这种情况,我个人喜欢新建连接)

那么请不要直接重新连接了,重新从SVN上下一份,然后再覆盖过去,查看下代码有哪些改变,并逐一确认。

否则把代码搞乱了就麻烦了。

也可以直接采用类似1的方式进行连接,过程中选择SVN地址

本文转载自:http://www.myexception.cn/h/1424044.html

展开阅读全文

eclipse + svn eclipse关闭

05-31

eclipse 新建项目然后 team -- share project --点中svn时 eclipse关闭、rn忘高手帮忙解决rnrnrn#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0437831c, pid=1876, tid=3404rn#rn# JRE version: 6.0_20-b02rn# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode windows-x86 )rn# Problematic frame:rn# C [libapr-1.dll+0x831c]rn#rn# If you would like to submit a bug report, please visit:rn# http://java.sun.com/webapps/bugreport/crash.jsprn# The crash happened outside the Java Virtual Machine in native code.rn# See problematic frame for where to report the bug.rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x00b76800): JavaThread "main" [_thread_in_native, id=3404, stack(0x00030000,0x00130000)]rnrnsiginfo: ExceptionCode=0xc0000005, reading address 0x00000000rnrnRegisters:rnEAX=0x03440bf0, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000rnESP=0x00127bbc, EBP=0x00127bc8, ESI=0x008fa6f0, EDI=0x00000000rnEIP=0x0437831c, EFLAGS=0x00010246rnrnTop of Stack: (sp=0x00127bbc)rn0x00127bbc: 00000000 008fa6f0 03440bf0 00129bf4rn0x00127bcc: 04321f32 00129bf0 03440bf0 00000000rn0x00127bdc: 00000000 00000000 008fa6f0 03440bf0rn0x00127bec: 00000000 03440bf0 00000000 03440bf0rn0x00127bfc: 03440c90 6eec8351 03440bf0 00000010rn0x00127c0c: 6ee40000 6eec11f2 03440bf0 03440c90rn0x00127c1c: 6eec1210 6eec8470 03440bf0 03440c40rn0x00127c2c: 03440bf0 03440bf0 00000001 003a0043 rnrnInstructions: (pc=0x0437831c)rn0x0437830c: 89 55 10 53 8b 5d 14 56 57 85 db 75 03 8b 58 18rn0x0437831c: 8b 03 bf 01 00 00 00 3b c7 0f 82 1d 01 00 00 8b rnrnrnStack: [0x00030000,0x00130000], sp=0x00127bbc, free space=3de001276f0krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnC [libapr-1.dll+0x831c]rnC [libapriconv-1.dll+0x1f32]rnC [libapriconv-1.dll+0x1da4]rnC [_tbl_simple.so+0x123b]rnC [_tbl_simple.so+0x11c4]rnrnJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)rnj org.tigris.subversion.javahl.SVNClient.status(Ljava/lang/String;ZZZZZ)[Lorg/tigris/subversion/javahl/Status;+0rnj org.tigris.subversion.javahl.SVNClient.status(Ljava/lang/String;ZZZZ)[Lorg/tigris/subversion/javahl/Status;+9rnj org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(Ljava/io/File;ZZZ)[Lorg/tigris/subversion/svnclientadapter/ISVNStatus;+79rnj org.tigris.subversion.subclipse.core.client.PeekStatusCommand.execute(Lorg/tigris/subversion/svnclientadapter/ISVNClientAdapter;)V+41rnj org.tigris.subversion.subclipse.core.resources.SVNWorkspaceRoot.peekResourceStatusFor(Lorg/eclipse/core/resources/IResource;)Lorg/tigris/subversion/subclipse/core/resources/LocalResourceStatus;+16rnj org.tigris.subversion.subclipse.ui.wizards.sharing.SharingWizard.doesSVNDirectoryExist()Z+7rnj org.tigris.subversion.subclipse.ui.wizards.sharing.SharingWizard.addPages()V+10rnj org.eclipse.team.internal.ui.wizards.ConfigureProjectWizardMainPage$1.selectionChanged(Lorg/eclipse/jface/viewers/SelectionChangedEvent;)V+135rnj org.eclipse.jface.viewers.Viewer$2.run()V+8rnJ org.eclipse.core.runtime.SafeRunner.run(Lorg/eclipse/core/runtime/ISafeRunnable;)Vrnj org.eclipse.core.runtime.Platform.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+1rnj org.eclipse.ui.internal.JFaceUtil$1.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+1rnj org.eclipse.jface.util.SafeRunnable.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+4rnj org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Lorg/eclipse/jface/viewers/SelectionChangedEvent;)V+32rnj org.eclipse.jface.viewers.StructuredViewer.updateSelection(Lorg/eclipse/jface/viewers/ISelection;)V+12rnj org.eclipse.jface.viewers.StructuredViewer.handleSelect(Lorg/eclipse/swt/events/SelectionEvent;)V+21rnj org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+15rnj org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(Lorg/eclipse/swt/events/SelectionEvent;)V+38rnJ org.eclipse.jface.util.OpenStrategy$1.handleEvent(Lorg/eclipse/swt/widgets/Event;)VrnJ org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)VrnJ org.eclipse.swt.widgets.Display.runDeferredEvents()ZrnJ org.eclipse.swt.widgets.Display.readAndDispatch()ZrnJ org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;)Vrnj org.eclipse.jface.window.Window.open()I+49rnj org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.openWizard(Lorg/eclipse/swt/widgets/Shell;Lorg/eclipse/jface/wizard/IWizard;)V+11rnj org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.shareProjects(Lorg/eclipse/swt/widgets/Shell;[Lorg/eclipse/core/resources/IProject;)V+93rnj org.eclipse.team.internal.ui.actions.ConfigureProjectAction$1.run(Lorg/eclipse/core/runtime/IProgressMonitor;)V+27rnj org.eclipse.team.internal.ui.actions.TeamAction$3.run()V+11rnj org.eclipse.swt.custom.BusyIndicator.showWhile(Lorg/eclipse/swt/widgets/Display;Ljava/lang/Runnable;)V+116rnj org.eclipse.team.internal.ui.actions.TeamAction.run(Lorg/eclipse/jface/operation/IRunnableWithProgress;Ljava/lang/String;I)V+42rnj org.eclipse.team.internal.ui.actions.ConfigureProjectAction.execute(Lorg/eclipse/jface/action/IAction;)V+13rnj org.eclipse.team.internal.ui.actions.TeamAction.run(Lorg/eclipse/jface/action/IAction;)V+2rnj org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(Lorg/eclipse/jface/action/IAction;Lorg/eclipse/swt/widgets/Event;)V+2rnj org.eclipse.ui.internal.PluginAction.runWithEvent(Lorg/eclipse/swt/widgets/Event;)V+74rnj org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Lorg/eclipse/swt/widgets/Event;Z)V+354rnj org.eclipse.jface.action.ActionContributionItem.access$2(Lorg/eclipse/jface/action/ActionContributionItem;Lorg/eclipse/swt/widgets/Event;Z)V+3rnj org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+60rnJ org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)VrnJ org.eclipse.swt.widgets.Display.runDeferredEvents()ZrnJ org.eclipse.swt.widgets.Display.readAndDispatch()Zrnj org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9rnj org.eclipse.ui.internal.Workbench.runUI()I+393rnj org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1rnj org.eclipse.ui.internal.Workbench$5.run()V+55rnj org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12rnj org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18rnj org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2rnj org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+84rnj org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135rnj org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103rnj org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29rnj org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149rnj org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183rnv ~StubRoutines::call_stubrnj sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0rnj sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87rnj sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6rnj java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161rnj org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211rnj org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+114rnj org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4rnv ~StubRoutines::call_stubrn 论坛

登录后Socket需重新连接

04-18

第一个c++项目中遇到这样的一个问题:rn找到了问题的原因但是不知道错误发生在哪?无从修改...rnrn项目的功能是简单的类似QQ的聊天软件。rn1:我把服务端的Socket设置为app的成员变量,并且给app定义一个初始化socket的方法。rn[code=C/C++]rnWSAData wsaData;rn WSAStartup(MAKEWORD(2,2), &wsaData);rn InitSocket();rnrn rnrn CDialogLogin LoginUI;rn if(LoginUI.DoModal() != IDOK)rn rn return TRUE;rn rn CMy2IMClientDlg dlg;rn INT_PTR nResponse = dlg.DoModal();rn[/code]rn2:然后就是登录跳转,可是跳转完重新利用app的(Socket)成员变量进行发送数据,客户端就接受不到。这部分源码为rn[code=C/C++]rnCTime sendMsgTime = CTime::GetCurrentTime();rnsendMsgTime.Format("%Y-%m-%d %H:%M:%S");rnrnstring strSendMsg;rnCString contentMsg;rnGetDlgItemText(IDC_EDIT_SEND, contentMsg);rnPackJSON( strSendMsg, 10,rn "from", m_SelfMember.m_MemberId.c_str(),rn "to", m_AimMember.m_MemberId.c_str(),rn "content",contentMsg.GetBuffer(),rn "time", sendMsgTime.Format("%Y-%m-%d %H:%M:%S"),rn "id", "dd"rn );rnPackData(strSendMsg, 0x0002);rnASSERT(ptrTempApp->m_hClientSocket == NULL);rnsend(ptrTempApp->m_hClientSocket, strSendMsg.c_str(), sizeof(strSendMsg), NULL );rn[/code]rn3:但是我在第二段源码开始前,重新创建socket,然后赋值给ptrTempApp->m_hClientSocket。再利用新的socket发送数据就会成功。rn4:为什么会这样?如何解决?socket是app的成员变量,程序没有结束应该不会失效吧?rn5:怎么解决这个问题希望大家给些参考,先谢谢谢大家了. 论坛

没有更多推荐了,返回首页