I was on the path to make imports in my activities as import com.acme.product.ui1.*; import com.acme.product.ui2.*; import com.acme.product.uin.*; When depending on which package i have in the manifest R will be generated in one of those and i'll have n-1 empty imports. Seems to work while building in the eclipse, but when i tried ant - javac is not creating empty packages and build fails. So i'm looking for different approach or hints how to make ant take empty package name into consideration.
On Apr 27, 9:43 pm, Alexey <[email protected]> wrote: > still looking for answer on that . Any hints ? > > On Apr 3, 8:51 am, Alexey <[email protected]> wrote: > > > I have kind of same problem to solve > > I have same code base from which i have to build to different apps > > using two different resources folders and may be some extensions in > > terms of extra activities etc... > > > so let say all my base code is in > > com.acme.product.base > > And I have packages like > > com.acme.product.ui1 > > com.acme.product.ui2 > > > Activities in base have references to R. which will be put under one > > of UI packages by specifying package name in the manifest . > > So to make it build , i understand, that i'll need an ant script which > > will put correct include to com.acme.product.ui1.R or > > com.acme.product.ui2.R base to all java files during build time . > > First question how i do this ( i'm not really savvy in ant scripts so > > direction will be appreciated ) Second - is the ant script a right > > solution in this case or there is another way . > > > I've seen some company ( i think Paragon ) doing that kind of builds > > for the dictionaries and looking of the best way how i can get this to > > work . > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

