[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 get svn:ignore to work?

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-07-10 01:14:41 CEST

On 7/9/07, Chris <shef31@yahoo.com> wrote:
> I'm trying to get subclipse to ignore some files in my project. I want
> to ignore all generated Javadoc.
>
> When I right click on my project in the Package Explorer and select
> Team>Set Property... and enter "svn:ignore" and "*doc*", it works -- it
> will ignore the entire /doc directory when I select commit. But I want
> it to ignore /doc/api only, and no ignore expression will make that
> happen: *doc/api*, *doc\api*, *api*, etc. Setting the property
> recursively doesn't help.
>
> More strange, I can right click on a top-level directory in my project
> and pick Team/Add to svn:ignore, but when I click on the "api"
> subdirectory the Add to svn:ignore option is greyed out.
>
> How do I do this?

svn:ignore only applies to the immediate children of the folder you
set it on. If you want to ignore doc/api, then that implies you want
the doc folder itself in the repository. Add that folder to
Subversion, and then set the svn:ignore property on it to have a value
of "api". This causes it to ignore the api folder and of course
everything inside it.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Jul 10 01:14:11 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.