Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Problem duing 'File Search'

There are actually two problems:

1) Searching in .ptp-sync. There is currently nothing that prevents this. It's a good
question whether Eclipse provides a way for plug-ins to exclude directories from
search automatically. (Users can do so by using working sets.)

2) Refreshing the workspace. The workspace is automatically refreshed after sync'ing,
but there may still be certain situations where changes can occur without a refresh.
Unless the file was changed outside of Eclipse somehow, that indicates a problem in
synchronized projects.


John

On Thu, Mar 29, 2012 at 11:10 AM, Brian Watt <bwatt@xxxxxxxxxx> wrote:

I have a PTP synchronized C/C++ project between a Linux client and an AIX
front-end node. In general things work fine.

For example, I do a File Search successfully and review the results in
Eclipse.
However, after short period of time transpires, and I do another File
Search and get a popup containing the following:

  Problem Occurred
  'File Search' has encountered a problem.
  Problems encountered during text search.
  Details:
  Problems encountered during text search.
  File '<project>/.ptp-sync/refs/heads/master' has been skipped, problem
  while reading: ('Resource is out of sync with the file system:
  '/<project>/.ptp-sync/refs/heads/master'.').
  Resource is out of sync with the file system:
  '/<project>/.ptp-sync/refs/heads/master'.
  File '<project>/.ptp-sync/logs/refs/heads/master' has been skipped,
  problem while reading: ('Resource is out of sync with the file system:
  '/<project>/.ptp-sync/logs/refs/heads/master'.').
  Resource is out of sync with the file system:
  '/<project>/.ptp-sync/logs/refs/heads/master'.
  File '<project>/.ptp-sync/logs/HEAD' has been skipped, problem while
  reading: ('Resource is out of sync with the file system:
  '/<project>/.ptp-sync/logs/HEAD'.').
  Resource is out of sync with the file system:
  '/<project>/.ptp-sync/logs/HEAD'.
  File '<project>/.ptp-sync/index' has been skipped, problem while
  reading: ('Resource is out of sync with the file system:
  '/<project>/.ptp-sync/index'.').
  Resource is out of sync with the file system:
  '/<project>/.ptp-sync/index'.

If I do a Refresh then the problem goes away and no popup appears.
Thoughts? Why is text search attempting to look in the .ptp-sync files?

Brian Watt, IBM

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


Back to the top