[android-developers] Re: about library projects
Second one might be a bit more involved, but hopefully there is an easy fix. I have my projects into a subversion repository, but the app project builder (Android pre-compiler) seems to copy all the source from the library project, including the .svn folders, to the app/bin project. As a result of this, I get loads of files checked into the commit dialog, and I have uncheck all and then hunt down the files I actually changed. Is there any way to configure it to ignore .svn files when copying source? I realise that it has to merge source from both projects to create the final apk, but .svn files are surely not needed. At least this type of thing worked for me. 1. Delete the bin directory 2. Commit the delete changes to svn When you build your project the bin directory is recreated and it should now have the blue question mark (as telling not is svn) above the folder icon. Now you should be able to add the bin directory to svn:ignore. -- 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: about library projects
Thanks for your reply! I have not error in my progect, but when I run my application, in LogCat file, I obtain: *tag * dalvikvm *Message * Could not find class 'org.apache.axis.client.Service', referenced from ... -- 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] Re: about library projects
A refresh of your dependent project should suffice, rather than a full clean, but it's still a pain. AFAIK this is one of the problems with linked src in Eclipse, and that's what the library projects essentially are. Concerning the .svn checkins, I'd expect that you'd ignore all of bin and gen and the other artifact directories. On Jul 6, 10:16 pm, nick nikolay.elen...@gmail.com wrote: Hi, I've split my application into a library project and app project, it mostly works but there are some annoying issues. Hopefully someone has an idea how to avoid them. Here goes. This is really basic, and maybe I am missing something, but why isn't the app project automatically rebuilt after I change the library project? I've checked the library project in the 'Project References' of the app project, but that seems to have no effect. No after each change I make to the library project, I need to remember to clean the app project to get new code into the apk. Needles to say, I forget all the time... Second one might be a bit more involved, but hopefully there is an easy fix. I have my projects into a subversion repository, but the app project builder (Android pre-compiler) seems to copy all the source from the library project, including the .svn folders, to the app/bin project. As a result of this, I get loads of files checked into the commit dialog, and I have uncheck all and then hunt down the files I actually changed. Is there any way to configure it to ignore .svn files when copying source? I realise that it has to merge source from both projects to create the final apk, but .svn files are surely not needed. Maybe I should bite the bullet and move the whole thing to Maven+Masa, but it is (still) a fairly simple project so I'm trying to avoid unneeded complexity. Any ideas? -- 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] Re: about library projects
On Jul 9, 12:03 am, joebowbeer joe.bowb...@gmail.com wrote: A refresh of your dependent project should suffice, rather than a full clean, but it's still a pain. AFAIK this is one of the problems with linked src in Eclipse, and that's what the library projects essentially are. Thanks, that's a bit faster. Concerning the .svn checkins, I'd expect that you'd ignore all of bin and gen and the other artifact directories. I have, but I still get all the files as 'Deleted' in the commit dialog. Something like: | Resource | Content ---+--+- [x]|app/org/package/Class1.java | Deleted [x]|app/org/package/Class2.java | Deleted Class1 and Class2 are from the library project. -- 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] Re: about library projects
On Jul 9, 12:23 am, nick nikolay.elen...@gmail.com wrote: I have, but I still get all the files as 'Deleted' in the commit dialog. Something like: Missed the bin: | Resource | Content ---+--+- [x]|app/bin/org/package/Class1.java | Deleted [x]|app/bin/org/package/Class2.java | Deleted Class1 and Class2 are from the library project. Even setting svn:ignore has no effect. -- 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] Re: about library projects
On Jul 9, 3:27 am, Xavier Ducrohet x...@android.com wrote: When you edit one, the other version is considered to be modified outside of Eclipse, so you need to refresh the project for Eclipse to keep it in sync. Your best bet is to set the workspace to automatically refresh when a file is modified outside of eclipse. This is set in the preferences under General / Workspace Thanks. Didn't know this option existed. I was getting refresh dialogs all the time when I edit stuff in vim. oh I just realize that the linked folder are not set as derived which is the flag that makes Team plug-ins (such as svn) ignore resources (for instance gen/ and everything under it is set as derived). Is there a way to set it manually? I tried setting derived to the linked folder in my app project, but this seems to have no effect. I'll fix this. Thanks. -- 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] Re: about library projects
On Jul 9, 11:06 am, nick nikolay.elen...@gmail.com wrote: Is there a way to set it manually? I tried setting derived to the linked folder in my app project, but this seems to have no effect. Of course that made the folder disappear on rebuild. Bad idea. -- 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