Re: [android-developers] Re: Dev Environment - maven-android-eclipse
Android + Maven + Eclipse is definitely possible, but speaking from experience, it's painful. Tedious to get working, builds are very very slow and fragile. You can do it, but it'll hurt. For what it's worth, IntelliJ + Android + Maven works wonderfully. Because I was working on a largish Android app that was built with Maven, I switched to IntelliJ CE and I've been a very happy camper since then. Everything supported out of the box (no plugins to install), everything cooperates, and the build is fast and stable. Switching IDEs is a big deal though, but if you really like Maven, I personally believe that is your best option On Thu, Mar 22, 2012 at 10:09 AM, b0b pujos.mich...@gmail.com wrote: On Thursday, 22 March 2012 15:55:43 UTC+1, Ricardo Gladwell wrote: Hi Ted This is possible, please see the Android Connector for M2E (Maven for Eclipse): http://rgladwell.github.com/m2e-android/ Regards... The thing is that it never worked too well as the eclipse ADT plugin and m2e-android / maven-android-plugin conflict with each other. Each one expect a specific directory layout for example Add to that the fact ADT is an ever moving target which makes playing nice with each other difficult... And it is very badly documented... I'm successuflly using maven in Android Library projects to manage pure Java depencies. Forget it in your main Android project though or expect a headache. m2e-android can probably work without the ADT eclipse plugin though. Never tried it but you loose some of the advantage of the ADT plugin. -- 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 -- 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] Re: Dev Environment - maven-android-eclipse
On 3/22/2012 11:25 AM, Michael Sims wrote: Android + Maven + Eclipse is definitely possible, but speaking from experience, it's painful. Tedious to get working, builds are very very slow and fragile. You can do it, but it'll hurt. I think I had the pain part figured out ;) Slow, I wasn't too sure of and fragile is my concern that I will add some feature and hopelessly break the build. For what it's worth, IntelliJ + Android + Maven works wonderfully. Because I was working on a largish Android app that was built with Maven, I switched to IntelliJ CE and I've been a very happy camper since then. Everything supported out of the box (no plugins to install), everything cooperates, and the build is fast and stable. Switching IDEs is a big deal though, but if you really like Maven, I personally believe that is your best option Since this is only my project and one with the goal of learning the platform, at least trying IntelliJ won't be that big of a deal. I thought it was commercial, but looking at the page, I think the free community edition would be sufficient to get a feel for the platform. I was concerned that if I really wanted maven support that I would have to revert to the command line and emacs. -- 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] Re: Dev Environment - maven-android-eclipse
Hi Ricardo, First let me thank you for doing the m2e-android plugin! Thank you for pointing out that it exists, I was very generic in my questions. That was part of the path that got me asking about this. I started with trying to use ActionBarSherlock in my project and saw they seemed to be using maven so I thought I would give it a go. I couldn't get their samples going with maven under eclipse (probably my fault since I changed the project heirarchy) but I couldn't get the roboguice going easily under a pure eclipse build, but to be fair I didn't spend a lot of time on it as well. I did get the gaug.es app built from the command line, and brought it into eclipse, stumbled over a couple of lifecycle not supported errors (and thanks for the ignore this in the pom support, btw) but then I hit the wall with the theme issue pretty much as described here: https://github.com/github/gauges-android/issues/14 (which I see you've responded to). While it's not a show stopper, it is inconvenient to build and deploy only from the command line and losing the build issue detection and support inside eclipse. Really I was wondering if others have this all playing nice enough together to be building pretty complex applications with it before I spent too much effort on it with my app, which really is a project for learning the android platform more than anything. -Ted On 3/22/2012 10:55 AM, Ricardo Gladwell wrote: Hi Ted This is possible, please see the Android Connector for M2E (Maven for Eclipse): http://rgladwell.github.com/m2e-android/ Regards... -- Ricardo Gladwell ricardo.gladw...@gmail.com http://www.google.com/profiles/ricardo.gladwell Twitter: @rgladwell On Wednesday, March 21, 2012 4:17:41 PM UTC, Ted S. wrote: This is somewhat off topic, but I couldn't think of a better place to ask. Is anyone successfully using maven and eclipse to develop android apps? If so, are they complex apps? I really like the dependency management aspects of maven, but getting eclipse to play nicely with maven in an android project is problematic. In my ideal world I would be able to build and deploy in eclipse for development/debugging and use maven to do production builds. So, have you tried and rejected using maven? Or have you tried and gotten it to work nicely? I'm about ready to give up on getting it all to play nicely. -Ted -- 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 -- 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