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

Strange behaviour with Eclipse and directories.

From: Jonathan Belson <jon_at_witchspace.com>
Date: Tue, 17 Jun 2008 13:38:26 +0100

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:

I have an Eclipse project 'Sample', consisting of a directory 'Sample', source
files 'File1.java' and 'File2.java', and Eclipse files '.classpath', .project'
and 'build.xml'.

Sample
   File1.java
   File2.java
   .classpath
   .project
   build.xml

All files are under subversion control. When I do a fresh check out, they each
have a green tick on their icons, as expected.

When I load the project into Eclipse, it compiles the java and puts the .class
files into a new directory called 'bin'. However, 'bin' has a red '!' on its
icon. I originally thought this was because it is an unmanaged directory inside
a managed directory, but the .class files themselves don't have any kind of TSVN
graphic on them. Also, 'Unversioned files mark parent folder as modified' is
not checked, but the red '!' is propogated upwards through the directory tree.

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?

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.

Can anyone shed any light on this behaviour? I can work around the problem by
telling Eclipse to put the compiled .class files directly in 'Source' rather
than 'Source/bin', but it's not a very satisfactory solution.

Regards,

--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 14:37:34 CEST

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