Re: [android-developers] What to check into source control?

2011-01-18 Thread Mattias Svala
Ah, that's correct. The bin/ folder is a mistake in my example, I did not 
check that in.

So it you check in every thing apart from bin/ and gen/, how do you get the 
project to build cleanly right after it is imported into Eclipse?

:.:: mattias

-- 
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] What to check into source control?

2011-01-18 Thread Kostya Vasilyev
Project - Clean, sometimes a few times, eventualy works.


I also have .metadata in my ignore list.

-- Kostya

2011/1/18 Mattias Svala thebra...@gmail.com

 Ah, that's correct. The bin/ folder is a mistake in my example, I did not
 check that in.

 So it you check in every thing apart from bin/ and gen/, how do you get the
 project to build cleanly right after it is imported into Eclipse?

 :.:: mattias
 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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] What to check into source control?

2011-01-18 Thread Mattias Svala
On Tuesday, January 18, 2011 9:09:47 AM UTC+1, Kostya Vasilyev wrote:

 Project - Clean, sometimes a few times, eventualy works.


If that is the best we can do, then I think the build system is a bit 
broken. Anyone else have other tricks?

:.:: mattias
 


 I also have .metadata in my ignore list.

 -- Kostya

 2011/1/18 Mattias Svala theb...@gmail.com

 Ah, that's correct. The bin/ folder is a mistake in my example, I did not 
 check that in.

 So it you check in every thing apart from bin/ and gen/, how do you get 
 the project to build cleanly right after it is imported into Eclipse?

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




-- 
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] What to check into source control?

2011-01-18 Thread Marcin Orlowski
On 18 January 2011 09:26, Mattias Svala thebra...@gmail.com wrote:

 If that is the best we can do, then I think the build system is a bit
 broken. Anyone else have other tricks?

The only thing that is permanently broken on clean checkouts here is
gen folder. It's sometimes missing while Eclipse things it shall be
here and sometimes is there but Eclipse complains it does not know
what it is. If such oddity occur removing gen from Path settings and
then doing Clean usually solves the issue. This is all lame, but it's
not the only thing here that is lame so just use to it :)

-- 
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] What to check into source control?

2011-01-18 Thread Mattias Svala
On Tuesday, January 18, 2011 9:46:20 AM UTC+1, Webnet Android wrote:

 On 18 January 2011 09:26, Mattias Svala theb...@gmail.com wrote:

  If that is the best we can do, then I think the build system is a bit
  broken. Anyone else have other tricks?

 The only thing that is permanently broken on clean checkouts here is
 gen folder. It's sometimes missing while Eclipse things it shall be
 here and sometimes is there but Eclipse complains it does not know
 what it is. If such oddity occur removing gen from Path settings and
 then doing Clean usually solves the issue. This is all lame, but it's
 not the only thing here that is lame so just use to it :)

I see what you are saying. Just trying to stir the nest to see if some 
other interesting solution pops up. :-)

:.:: mattias
 

-- 
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] What to check into source control?

2011-01-18 Thread TreKing
On Tue, Jan 18, 2011 at 3:37 AM, Mattias Svala thebra...@gmail.com wrote:

 I see what you are saying. Just trying to stir the nest to see if some
 other interesting solution pops up. :-)


Honestly, how frequently are you importing your project that this is such a
problem?

-
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

Re: [android-developers] What to check into source control?

2011-01-18 Thread Mattias Svala


On Tuesday, January 18, 2011 2:33:53 PM UTC+1, TreKing wrote:

 On Tue, Jan 18, 2011 at 3:37 AM, Mattias Svala theb...@gmail.com wrote:

 I see what you are saying. Just trying to stir the nest to see if some 
 other interesting solution pops up. :-)


 Honestly, how frequently are you importing your project that this is such a 
 problem?


The point is that I want it to be as easy as possible to download my project 
and start hacking on it. If you have to know about all these quirks of 
Eclipse, that is an unnecessary hurdle for someone new to Android 
development to contribute to the project. Someone might even decide that it 
not worth the trouble and just give up.

:.:: mattias
 


 -
 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

Re: [android-developers] What to check into source control?

2011-01-18 Thread Greg Donald
On Tue, Jan 18, 2011 at 7:47 AM, Mattias Svala thebra...@gmail.com wrote:
 The point is that I want it to be as easy as possible to download my project
 and start hacking on it. If you have to know about all these quirks of
 Eclipse, that is an unnecessary hurdle for someone new to Android
 development to contribute to the project. Someone might even decide that it
 not worth the trouble and just give up.
 :.:: mattias

Project - Clean has always worked fine for me.

You can always use the command line if Eclipse doesn't work for you.


-- 
Greg Donald
destiney.com | gregdonald.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] What to check into source control?

2011-01-18 Thread TreKing
On Tue, Jan 18, 2011 at 7:47 AM, Mattias Svala thebra...@gmail.com wrote:

 The point is that I want it to be as easy as possible to download my
 project and start hacking on it.


Oh, you're distributing your project for others to work on? In this case, I
hope you have detailed, step-by-step instructions for doing so that assume
the user is an idiot. In which case clean the project if you get this error
(you might have to do it a few times) would just be another instruction in
your sequence of steps.

Yes, *ideally*, this wouldn't be a problem. But there are *always* setup
problems with any project - such is life. In this case, it's a relatively
minor issue with an easy workaround as has been discussed.

-
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

Re: [android-developers] What to check into source control?

2011-01-18 Thread Mattias Svala
On Tuesday, January 18, 2011 3:16:42 PM UTC+1, TreKing wrote:

 On Tue, Jan 18, 2011 at 7:47 AM, Mattias Svala theb...@gmail.com wrote:

 The point is that I want it to be as easy as possible to download my 
 project and start hacking on it.


 Oh, you're distributing your project for others to work on? In this case, I 
 hope you have detailed, step-by-step instructions for doing so that assume 
 the user is an idiot. In which case clean the project if you get this error 
 (you might have to do it a few times) would just be another instruction in 
 your sequence of steps.


Yes, that is what I will have to to in this case. If this had not been an 
issue with Eclipse most of that type of instructions would be unnecessary. 
Well, we all have to live with this I suppose.

Another bad thing with these kinds of issues in the build environment is 
that is actually makes it harder to set up continuous integration. But then 
again Eclipse, in itself, might be a bigger problem in this case.

:.:: mattias
 

 Yes, *ideally*, this wouldn't be a problem. But there are *always* setup 
 problems with any project - such is life. In this case, it's a relatively 
 minor issue with an easy workaround as has been discussed.


 -
 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

[android-developers] What to check into source control?

2011-01-17 Thread Mattias Svala
Hello!

I have a question about what parts of an Eclipse Android project to check 
into source control. This is what i checked in, thinking that the gen/ 
folder would not be needed since the contents of it is generated as part of 
the build process.

SimpleNotes/
|-- AndroidManifest.xml
|-- bin
|-- .classpath
|-- default.properties
|-- gen
|-- .project
|-- res
`-- src

However, when I import that project into Eclipse it has real trouble 
building the project, saying that the gen folder is missing. I can convince 
Eclipse to build eventually by triggering builds and cleaning the project a 
few times.

How are you people handling source control for your projects? What parts of 
the project needs to be checked in?

:.:: mattias

-- 
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] What to check into source control?

2011-01-17 Thread Marcin Orlowski
On 18 January 2011 08:41, Mattias Svala thebra...@gmail.com wrote:

 I have a question about what parts of an Eclipse Android project to check
 into source control.

All besides bin/ and gen/

-- 
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