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

SOLVED: Re: Eclipse /bin/.svn still causes heartburn

From: ThanksButNo <no.no.thanks_at_gmail.com>
Date: Mon, 11 Jan 2010 16:29:57 -0800 (PST)

Thanks to all who responded. This issue is resolved.

For the benefit of any who may search these pages later,
I have summarized the solutions here.

On Jan 7, 1:15 pm, ThanksButNo <no.no.tha..._at_gmail.com> wrote:
> I have included "bin" to the TortoiseSVN->Settings:Patterns to Ignore
> list
> I have included "bin/*" to same list.
> I have included "**/.svn" to the Eclipse Source Exclude list.
> Eclipse *still* copies the .svn folders from the src/ folder to the
> bin/ folder.
> TortoiseSVN *still* sees the .svn folders in the bin/ folder then puts
> a Red Icon on the folder, and hence the including project folder,
> indicating that changes need to be committed, when in fact, the source
> is completely up-to-date.
> What am I doing wrong?

Solution 1: Find and Download "subclipse" which is the Eclipse plug-in
for Subversion. Use that instead of the Windows shell version of
TortoiseSVN. It can be found at http://subclipse.tigris.org. If you
are using both Subclipse plug-in and the Windows shell extension, make
sure they're the same version (or at least close) to keep them from
interfering with each other.

Use the Eclipse plug-in for your first check-out, so it knows it's
working with a SVN project from the start. You can find that under
File->Import->SVN->Checkout Projects from SVN.

Solution 2: Include both "**/.svn" and "**/.svn/" in the Eclipse
Source Exclude list. This successfully prevents Eclipse from copying
any ".svn" folders from the versioned source tree to the non-versioned
bin tree. (You might be able to use only "**/.svn/", but I haven't
experimented with it. Having too much doesn't hurt as much as having
too little.)

This Exclude list is found in Eclipse Galileo under Project-
>Properties->Java Build Path->Source tab.
Open the source tree to show "Included", "Excluded", and "Native
library location", and click "Edit..." to add Exclusion patterns.

I haven't found a way to make this global, so you have to do this once
for each new project. But I haven't really looked either, so there
may be a way, which is left as an exercise for the reader.

Thanks again to all who responded!


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-12 08:47:04 CET

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

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