Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] Please help to setup Synchronized Projects in Eclipse PDT 7.1

Hi ptp-user@xxxxxxxxxxx
 
I cannot setup Synchronized Projects in Eclipse, please help me figure out what is the problem.
I have read and follow the instruction in this link: https://help.eclipse.org/2020-06/index.jsp?topic=%2Forg.eclipse.ptp.doc.user%2Fhtml%2Fsync.html
 
"To host a synchronized project, the remote system must support the Git distributed version control system. Note that this is completely independent of using Git for source code control."
My system:
- Remote server is running CentOS 7 with git was installed:
yum install git
git --version
git version 1.8.3.1
- I'm using latest Eclipse PDT (PHP Development) version 7.1
File > New > Project > Synchronized PHP Project > enter connection information (use SFTP), then I can successfully browse the remote directory and select the root directory (/trunk)
Eclipse show this error message: Remote git init failed with message
 
This is the content in: eclipse-workspace\.metadata\.log
 
!ENTRY org.eclipse.ptp.rdt.sync.ui 4 4 2020-06-03 18:12:46.899
!MESSAGE Error
!STACK 1
org.eclipse.ptp.rdt.sync.core.exceptions.RemoteSyncException: org.eclipse.ptp.rdt.sync.core.exceptions.RemoteExecutionException: Remote Git init failed with message:
at org.eclipse.ptp.internal.rdt.sync.git.core.GitRepo.getRemoteGitVersion(GitRepo.java:464)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitRepo.<init>(GitRepo.java:81)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitSyncService.getGitRepo(GitSyncService.java:282)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitSyncService.doSync(GitSyncService.java:625)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitSyncService.synchronize(GitSyncService.java:544)
at org.eclipse.ptp.rdt.sync.core.SyncManager$SynchronizeJob.run(SyncManager.java:80)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.eclipse.ptp.rdt.sync.core.exceptions.RemoteExecutionException: Remote Git init failed with message:
... 7 more
!SUBENTRY 1 org.eclipse.ptp.rdt.sync.git.core 4 0 2020-06-03 18:12:46.899
!MESSAGE org.eclipse.ptp.rdt.sync.core.exceptions.RemoteExecutionException: Remote Git init failed with message:
!STACK 0
org.eclipse.ptp.rdt.sync.core.exceptions.RemoteExecutionException: Remote Git init failed with message:
at org.eclipse.ptp.internal.rdt.sync.git.core.GitRepo.getRemoteGitVersion(GitRepo.java:464)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitRepo.<init>(GitRepo.java:81)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitSyncService.getGitRepo(GitSyncService.java:282)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitSyncService.doSync(GitSyncService.java:625)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitSyncService.synchronize(GitSyncService.java:544)
at org.eclipse.ptp.rdt.sync.core.SyncManager$SynchronizeJob.run(SyncManager.java:80)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
 
Please help me to solve this problem.
Thank you very much!
 
-- 
Best regards.
 

Back to the top