Thanks for paying attention on this, Xavler.

I copy the error message below:

Description     Resource        Path    Location        Type
The project was not built due to "Resource '/SensorList/bin/com/
ideamats/common/.svn/entries' already exists.". Fix the problem, then
try refreshing this project and building it since it may be
inconsistent    SensorList              Unknown Java Problem

The 'type' column says 'Java Problem'
In this error message, com.ideamats.common package is the package of
my common library. This package does not exist in the app project. So
I am sure that the file mentioned in the message is copied from the
library project.
I think Eclipse must think the svn files are resources, so it was
trying to copy them into the bin folder. But somehow these files are
already there, so the error message is generated.

I triple checked svn properties, 'bin' is indeed inside the svn:ignore
property.

BTW I'm using Subversive, not Subclipse... Will that make a
difference?


On Nov 12, 4:04 am, Xavier Ducrohet <[email protected]> wrote:
> The problem is that the source folder for the Eclipse library project
> is created dynamically, and is recreated when you re-open your
> project.
>
> Eclipse likely remove the exclusion when the source folder is re-created.
>
> Can you tell me which marker type is showing for this error? Look in
> the problem view and look at the "type" column. That'll help me know
> which builder is showing this error.
>
> thanks
> Xav
>
>
>
>
>
> On Wed, Nov 10, 2010 at 4:38 AM,mianwo<[email protected]> wrote:
> > I can confirm that this problem exists.
> > How to reproduce this:
> > 1 Create an android project and set it as an Android library.
> > 2 Create another android project that uses the previous library.
> > 3 Commit these source code into a svn repository.
> > 4 Change something in your library project, then commit it.
> > 5 An error will occur in the project that uses the library. The
> > message says the project can't compile because bin/[path to your
> > source code]/.svn/entries file already exists.
>
> > This is obvious because when importing library source code, the .svn
> > folder is also included and copied to bin folder when project
> > compiles.
> > That is not a big problem because you can set to exclude .svn folder
> > and its contents in Eclipse.
> > But my real problem is that the current ADT always tries to remove the
> > exclusion setting for my projects.
>
> > My ADT version is 0.9.9.v201009221407-60953
>
> > On Nov 3, 10:45 pm, Marcin Orlowski <[email protected]> wrote:
> >> On 3 November 2010 14:11,mianwo<[email protected]> wrote:
>
> >> > I have a common library android project being used by several other
> >> > projects. And I use svn to manage my source code.
> >> > So I have to exclude svn files from compiling process otherwise
> >> > eclipse will generate errors saying something already exists bla
> >> > bla...
>
> >> I never had to exclude any SVN folders here nor seen Eclipse
> >> complaining about these folders. That would be silly as Eclipse
> >> got nothing to say here. I also got lot of other folders in
> >> project tree and it's not a problem at all.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to