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

Re: Strange behaviour with Eclipse and directories.

From: Jonathan Belson <jon_at_witchspace.com>
Date: Tue, 17 Jun 2008 14:27:44 +0100

Andy Levy wrote:
> On Tue, Jun 17, 2008 at 8:38 AM, Jonathan Belson <jon_at_witchspace.com> wrote:
>> Hiya
>>
>> I've recently started to use TortoiseSVN 1.4.8 and I'm seeing strange
>> behaviour between with it and some Eclipse projects. To briefly describe:
>
> Before I attempt to answer anything, why aren't you using Subclipse?

Simple answer: nearly all of our development is Visual Studio/C++; the java part
is just a small subsection of one project. I'm not hugely enamoured with
Eclipse to be honest, and in any case I'd rather use a single tool to interface
with the subversion repository

[ snip ]

>> I also notice that the new 'bin' directory contains an '.svn' directory,
>> plus versioned files '.project', '.classpath' and 'build.xml'! Why does the
>> new dir contain subversion files; is Eclipse trying to be 'clever' and doing
>> this automatically?
>
> Most likely it's auto-building your project and the configuration is
> such that *everything* is copied to that build directory - including
> the .svn directories.
>
>> I also tried to use the 'svn:ignore' property to make the 'Sample' directory
>> ignore the 'bin' directory when it gets created, but it appeared to have no
>> effect as the '!' graphic still appears.
>
> Because the Subversion libraries think that it's a different directory
> from what it appears.

Aha, that explains why everything is going screwy. I think the easiest solution
would be to tell Eclipse to build in the source directory rather than creating a
subdirectory.

Thanks for your help,

Cheers,

--Jon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-06-17 15:28:08 CEST

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.