How to ignore certain folders?

View: New views
2 Messages — Rating Filter:   Alert me  

How to ignore certain folders?

by David Balazic-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

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.

Regards,
David

PS: Is svn:ignore a local setting or does it gets saved on the server and
therefore affects everyone who cheks out the same files?

---------------------------------------------------------------------
http://www.nosoftwarepatents.com         Innovation, not litigation !
---
David Balažic                 mailto:david.balazic@...
HERMES Softlab                http://www.hermes-softlab.com
Zagrebska cesta 104           Phone: +386 2 450 8861
SI-2000 Maribor
Slovenija
---------------------------------------------------------------------
"Be excellent to each other." -
Bill S. Preston, Esq. & "Ted" Theodore Logan
---------------------------------------------------------------------

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2405486

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].

Re: How to ignore certain folders?

by Mark Phippard-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 9, 2009 at 7:09 AM, David Balažic
<david.balazic@...> 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@...].