[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-user] Remote synchronization problem
|
Hi John,
the result is in the file attached. I hope you'll find it useful.
Thanks for your support
Giuliano
2011/10/21 John Eblen
<jeblen@xxxxxxx>
I attempted to reproduce this problem using git 1.7.7, but no luck. Could you run the
following command in the remote directory on the Red-hat workstation after trying to
create the project within Eclipse:
> git --git-dir=.ptp-sync --work-tree=.ptp-sync ls-files -t --modified --others --deleted
and send the resulting output? Specifically, we are interested to see if any blank lines or errors are written.
Thanks
John
On Fri, Oct 21, 2011 at 11:38 AM, Giuliano Angeletti
<giuliano.angeletti@xxxxxxxxx> wrote:
Git version is 1.7.7.
Giuliano
2011/10/21 John Eblen
<jeblen@xxxxxxx>
Hi Giuliano
Thanks! That information is very helpful. Could you tell me what version of git is on the remote Red-hat workstation? (You can use the command "git --version".)
John
On Fri, Oct 21, 2011 at 5:58 AM, Giuliano Angeletti
<giuliano.angeletti@xxxxxxxxx> wrote:
John, thanks for your reply. The exception stack trace shows:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(Unknown Source)
at org.eclipse.ptp.rdt.sync.git.core.GitRemoteSyncConnection.getRemoteFileStatus(GitRemoteSyncConnection.java:438)
at org.eclipse.ptp.rdt.sync.git.core.GitRemoteSyncConnection.prepareRemoteForCommit(GitRemoteSyncConnection.java:277)
at org.eclipse.ptp.rdt.sync.git.core.GitRemoteSyncConnection.buildRepo(GitRemoteSyncConnection.java:199)
at org.eclipse.ptp.rdt.sync.git.core.GitRemoteSyncConnection.<init>(GitRemoteSyncConnection.java:105)
at org.eclipse.ptp.rdt.sync.git.core.GitServiceProvider.synchronize(GitServiceProvider.java:327)
at org.eclipse.ptp.rdt.sync.core.SyncManager$SynchronizeJob.run(SyncManager.java:108)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
with the message previously described (An internal error occurred during: "Remote Synchronization".
String index out of range: 0). The following environment has been set-up in order to try the remote configuration:
* Eclipse installed on Win XP
* Remote Red-hat workstation and DStore server installed and correclty running (a Remote Project can be successfully set-up)
* New empty directory created in the Red Hat user home
* New Synchronized Project created in Eclipse within a directory (on Windows) containing an existing project (and the relative Makefile); the Remote Linux GCC Toolchain has been selected.
* Once the project has been done, the synchronization process (with the Red Hat empty dir) takes place and hungs.
Thanks
Giuliano
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user
Attachment:
git_result.JPG
Description: JPEG image