Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Time stamps for synchronized projects

If you refresh the eclipse project before you synchronize it, will the timestamps be suitable?
Refresh (rightmouse on project > Refresh) causes eclipse to process any changes outside of its actions (trying not to use the term 'sync' :-) )

...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


Inactive hide details for ---06/17/2013 08:09:08 AM---Hello Roland, thank you for your reply!---06/17/2013 08:09:08 AM---Hello Roland, thank you for your reply!


    From:

<Markus.Deicke@xxxxxx>

    To:

<ptp-user@xxxxxxxxxxx>

    Date:

06/17/2013 08:09 AM

    Subject:

Re: [ptp-user] Time stamps for synchronized projects

    Sent by:

ptp-user-bounces@xxxxxxxxxxx




Hello Roland,

thank you for your reply!
The workaround you suggested might be a good idea, but it would require Eclipse to run all the time. This unfortunately makes it not very practical as I cannot ensure that Eclipse is always started, before any files are modified. I do not require the time stamps to be 100% accurate to the original. I only require, e.g. that file1 does not get a newer time stamp than file2, because file2 is generated automatically from file1. When both files are modified without eclipse running, I cannot guarantee that file2 always has a newer time stamp than file1.

Best regards,
Markus

-----Ursprüngliche Nachricht-----
Von: ptp-user-bounces@xxxxxxxxxxx [
mailto:ptp-user-bounces@xxxxxxxxxxx] Im Auftrag von Roland Schulz
Gesendet: Montag, 17. Juni 2013 10:30
An: PTP User list
Betreff: Re: [ptp-user] Time stamps for synchronized projects

Hi Markus,

we currently don't have an option to use the source time. But there
might be a work-around. If you enable auto-sync, all files get synced
as soon as they are saved. It will still use the sync time on the
remote side, but now the sync time should be very close to the save
time. Is that sufficient for your situation? If not, how accurately
would you need the time to match?

Roland


On Mon, Jun 17, 2013 at 3:36 AM, Markus.Deicke@xxxxxx
<Markus.Deicke@xxxxxx> wrote:
> Hello everybody,
>
>
>
> I am using a synchronized project where I am running Eclipse on a Windows
> machine and synchronizing the project to a Linux system, where I build it.
> When I change a file on the Windows side from outside Eclipse, the file gets
> synchronized to the Linux side on the next build as expected. However, the
> PTP does not use the original time stamp from the Windows side, but sets the
> time stamp to the moment the file was synchronized to Linux. This causes
> some trouble for me, as I require the original time stamp. Is there a way to
> tell PTP to use the original time stamp from the file on Windows?
>
>
>
> Best regards,
>
> Markus



--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
_______________________________________________
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



GIF image

GIF image


Back to the top