[android-developers] Odd behavior with library projects in Eclipse

2011-03-25 Thread Chris Stewart
I have a main library project that I use with two of my apps.  Lately I've
noticed some odd behavior from Eclipse, or possibly my Mercurial plug-in,
where it will delete the src directory from my library project at random.
 The first time that happened I almost fell over, but quickly realized all
of my code is being stored remotely in Mercurial repositories.  I quick
force update gets everything back in order.  This has happened a number of
times in the last few days and I'm just wondering if anyone else on here as
experienced similar.

I've really just had a lot of weird issues lately with Eclipse and my
Android projects.  I tried to open/import an existing Android project and
could never get it to work.  I had to recreate the project from scratch and
copy in the code/files to get it working again.  Just the oddest stuff.

--
Chris Stewart
http://chriswstewart.com

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

Re: [android-developers] Odd behavior with library projects in Eclipse

2011-03-25 Thread TreKing
On Fri, Mar 25, 2011 at 2:58 PM, Chris Stewart cstewart...@gmail.comwrote:

 This has happened a number of times in the last few days and I'm just
 wondering if anyone else on here as experienced similar.


I use SVN, and when I started my project even though the bin folder was
marked to be ignored by SVN, it would always want to submit my src/ files
into the bin directory, which made no sense. After some searching, I found
out that the Eclise build process was copying the .svn folder from the src/
folder to the bin/ folder, making SVN think they were pointing to the same
folder in the repository.

To fix it I added the .svn/ folders to the exclude path of the project build
properties.

I've never even heard of Mercurial, but perhaps you have to do something
similar.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

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