[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] How to ignore certain folders?

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 9 Oct 2009 08:19:56 -0400

On Fri, Oct 9, 2009 at 7:09 AM, David Balažic
<david.balazic_at_hermes-softlab.com> wrote:

> Somebody checked in the build directory and I get the new binary
> files each times I update.
>
> Is there a way to tell subclipse to ignore these files for update
> and commit (actually for all purposes)?
>
> I just added "build" (this the name of the folder) to the Preferences
> / Team / Ignored Resources list, but it does not make any change:
> new versions of build/* are still shown in the Incoming view after
> synch.
>
> I also tried svn:ignore , but the menu option "Add to svn:ignore" is
> disabled for these items.
>
> Sorry if this is a FAQ, I could not find anything by quick googling.

The ignore features of Subversion and Eclipse are designed to allow
you to ignore files and folders that are not already versioned. To
essentially keep you from accidentally versioning those things. There
is no feature to allow you to ignore stuff that is version.

Versioning build output is a bad idea. I would suggest deleting the
folder from the SVN Repositories view. Do an update so that it is
deleted locally, then add the build folder to svn:ignore so that it
does not happen again. There is an FAQ related to the problems this
causes:

http://subclipse.tigris.org/wiki/PluginFAQ#head-73584410a8d4fbad6781c7b16be39f6518410a61

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2405508
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-10-09 14:20:03 CEST

This is an archived mail posted to the Subclipse Users mailing list.