Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] New PTP user with Synchronization issues

Hi Christoph,
 
Thanks for the info.  I kind of figured out the .gitignore and .ptp-sync stuff.  I've had to start from scratch a number of times. 
 
The version of Eclipse I'm using is a very recent stable version on ubuntu (installed last week).  I don't have access to it right now or I would give you the specifics.   But, it has the filter option.   The project is only built on the remote machine and I'm not trying to use any of the build features of eclipse (just running build in a shell).  However, the build generates quite a few files - not just binary files or what comes out of the automake.  I can't see trying to maintain a filter list.  The generated text files get sync'ed back to by local machine, and attempts to sync again after another build sometimes end up with conflict errors.  I don't know how to recover from that when there are dozens+ files in conflict, so I can no longer sync. 
 
The other problem is that I'm using egit on the local machine - and it sees all of the these files, including .gitingore and .ptp-sync contents, as changed files, along with some of those I missed in the filter.   So if I do a "team synchronize" to see the collection of potential files to add and commit, there are dozens and more directories and files listed.  And, the files I'm really interested in are lost in the noise.   I don't know how to get "git" to ignore them.  I've tried adding the info/exclude file to the source git repository, but it didn't seem to effect "egit".
 
Basically, the synchronization effects becomes untenable.  I've also run into cases where it's working one day, but the next day (perhaps after returning from hibernate - just a guess) I might get "channel is not opened" or "channelexec" errors.  I couldn't figure out how to work around that - rebooting or restarting eclipse didn't help.
 
If I had a option to sync in only one direction that would solve half my problem I think. 
 
At this point I think I have to punt - I've spent too long already trying to get the PTP sync to work for me. If I have to blow away both sides to recover from problems it's kind of prohibitive. 
 
Thanks for the insights
kris
 
On Wed, Jun 13, 2012 at 6:30 AM, Christoph Pospiech <Christoph.Pospiech@xxxxxxxxxx> wrote:

On Wednesday, June 13, 2012 06:34:29 Dale Davis  wrote:

> 2nd, my remote build consists of a number of automake configs (which I

> don't have control over) and which generates a number of files which get

> synchronized back.  They are spread into a number of directories.  I don't

> think it's practical to try and add them to the filter list, and since

> synchronization in one direction is not supported, I don't know how to

> avoid them.

 

Which version of eclipse are you using ? Later versions have a filter option that lets you choose which files to replicate. In case of an automake project, you should filter out files generated by configure (e.g. Makefile, config.status, etc.) or automake.

 

If you don't, and if you run configure on both sides, and if the resulting Makefiles are different (even a single character), these two changes are turned into two commits for the git repository .ptp-sync which are in (merge) conflict.

--

 

Mit freundlichen Grüßen / Kind regards

 

Dr. Christoph Pospiech

High Performance & Parallel Computing

Phone: +49-351 86269826

Mobile: +49-171-765 5871

E-Mail: christoph.pospiech@xxxxxxxxxx

-------------------------------------------------------------------------------------------------------------------------------------------

IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter

Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter Scholz, Gregor Pillen, Joachim Heel, Christian Noll

Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 / WEEE-Reg.-Nr. DE 99369940

 


_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top