[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-team-dev] Resource changes not recognized on synchronization with repository


Stefan,

Perhaps you should try a different VM. Eclipse write file contents throught the java.io.File class. I suspect that any issues in the setting of timestamps would be a VM issue, not an issue with Eclipse.

Michael



Stefan Daume <stefan.daume@xxxxxxxxxxxxxx>
Sent by: platform-team-dev-bounces@xxxxxxxxxxx

12/07/2007 11:23 AM

Please respond to
Generic team support framework <platform-team-dev@xxxxxxxxxxx>

To
Generic team support framework <platform-team-dev@xxxxxxxxxxx>
cc
Subject
Re: [platform-team-dev] Resource        changes        not        recognized        on        synchronization with repository





It turns out that when I use an MS Windows editor such as Notepad or
Wordpad the timestamps on the resources will be updated. When I am doing
the same using Eclipse editors they will not be and thus the resource
changes are not recognized on synchronisation.

Any ideas ? Help would be greatly appreciated !!!

   Stefan

DJ Houghton wrote:
> I know in the past we have seen problems with the granularity of the
> timestamp depending on which VM you are using. That is one of the reasons
> that we added a library for org.eclipse.core.resources.
>
>
> platform-team-dev-bounces@xxxxxxxxxxx wrote on 07/11/2007 04:46:36 PM:
>
>  
>> Hi Michael,
>>
>> actually this is true. I discovered that the timestamps were not updated
>> even though the files were changed. I am at a loss to see why that would
>> be the case though. I am not aware of anything special about my file
>> system or anything that changed recently. It is an NTFS.
>>
>>     Stefan
>>
>> Michael Valenta wrote:
>>    
>>> Stefan,
>>>
>>> Is there anything special about your filesystem? The only way I could
>>> see this happening is if the timestamp of the files did not get
>>> updated when you saved your changes.
>>>
>>> Michael
>>>
>>>
>>>
>>> *Stefan Daume <stefan.daume@xxxxxxxxxxxxxx>*
>>> Sent by: platform-team-dev-bounces@xxxxxxxxxxx
>>>
>>> 05/07/2007 05:40 PM
>>> Please respond to
>>> Generic team support framework <platform-team-dev@xxxxxxxxxxx>
>>>
>>>
>>>
>>> To
>>>    platform-team-dev@xxxxxxxxxxx
>>> cc
>>>
>>> Subject
>>>    [platform-team-dev] Resource changes not recognized on
>>>  synchronization with repository
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Hi,
>>>
>>> I have come across a problem which occurs both when using CVS and SVN
>>>      
> so
>  
>>> I figured it makes sense to come to the Eclipse Team list first. I am
>>> using Eclipse 3.3/3.2 on XP Pro.
>>>
>>> I have checked out projects into my workspace and made changes to
>>> various resources. Label decorations, etc are enabled and show revision
>>> information etc.
>>> However, changed files are not marked as dirty (with regard to CVS/SVN)
>>> decorations. When I do a synchronize I get a message stating there are
>>> no changes between inputs. Similar when I do a compare with "latest
>>>      
> from
>  
>>> repo" or any revision.
>>> When I do a compare with "branch/tag" and select the latest revision
>>> from my repo it correctly displays the differences. Of course when I
>>>      
> try
>  
>>> to do a commit it will not succeed either because "there are no
>>> changes". I am experiencing this both with SVN and CVS repos. At least
>>> with regard to SVN I checked and made sure that the meta-data is not
>>> corrupted.
>>>
>>> I have tried different versions of Eclipse, set up fresh workspaces and
>>> did numerous checkouts from the repos but to no avail.
>>>
>>> Help would be greatly appreciated !
>>>
>>>   Stefan
>>>      
>
>
> _______________________________________________
> platform-team-dev mailing list
> platform-team-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-team-dev
>
>  

_______________________________________________
platform-team-dev mailing list
platform-team-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-team-dev