Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ignoring circular symlinks in the filesystem
ignoring circular symlinks in the filesystem [message #336493] Wed, 17 June 2009 13:04 Go to next message
Badari Kakumani is currently offline Badari KakumaniFriend
Messages: 1
Registered: July 2009
Junior Member
folks,

we have circular symlinks on the filesystem. eg:
fold1/compA/src
fold1/compB/src
fold1/ALL_SOURCES ---> ../fold1 (ALL_SOURCES is a symlink to fold1)

when we try to create eclipse project on 'fold1' above, the refresh is
taking unusually long time.

any idea how to prevent eclipse to simply ignore traversing under
fold1/ALL_SOURCES (which is a cicular symlink)?

in our environemtn we DO need fold1/ALL_SOURCES symlink to be present for
our external builds to work.

we have already tried setting the resources 'fold1/ALL_SOURCES' to be
team internal using IRESOURCE->setTeamPrivateMemeber(true) -- but still
that
does NOT seem to help slowness experienced during refresh.

Any thoughts/workarounds are apprecited.

thanks,
-badari
Re: ignoring circular symlinks in the filesystem [message #336499 is a reply to message #336493] Wed, 17 June 2009 17:24 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
You could perhaps use a linked resource of the same name
"fold1/ALL_SOURCES". The linked resource would hide the link on the
filesystem.

See
http://stackoverflow.com/questions/968643/eclipse-ignore-ent ire-directories/972450#972450
which is somewhat similar.

-Andrew

Badari Kakumani wrote:
> folks,
>
> we have circular symlinks on the filesystem. eg:
> fold1/compA/src
> fold1/compB/src
> fold1/ALL_SOURCES ---> ../fold1 (ALL_SOURCES is a symlink to fold1)
>
> when we try to create eclipse project on 'fold1' above, the refresh is
> taking unusually long time.
>
> any idea how to prevent eclipse to simply ignore traversing under
> fold1/ALL_SOURCES (which is a cicular symlink)?
>
> in our environemtn we DO need fold1/ALL_SOURCES symlink to be present for
> our external builds to work.
>
> we have already tried setting the resources 'fold1/ALL_SOURCES' to be
> team internal using IRESOURCE->setTeamPrivateMemeber(true) -- but still
> that
> does NOT seem to help slowness experienced during refresh.
>
> Any thoughts/workarounds are apprecited.
>
> thanks,
> -badari
>
Previous Topic:Modify workspace settings in Preference Page
Next Topic:ProgressView not updating
Goto Forum:
  


Current Time: Wed Apr 24 22:13:37 GMT 2024

Powered by FUDForum. Page generated in 0.02940 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top