Good question Jamie. I see that there is a plugin to use Android on Hudson (http://jaxenter.com/android-emulator-plugin-for-hudson-11945.html) but Android SDK should be deployed on Hudson Server. I hope that it is possible in apache infra ???
Regards, Charles On Mon, Jan 24, 2011 at 8:44 PM, Jamie G. <[email protected]> wrote: > +1 Karaf on Android sounds cool :) > > One question regarding testing, does this mean we need a special > hudson instance or the like that is setup with all the Android > emulation kit? > > On Mon, Jan 24, 2011 at 4:05 PM, Achim Nierbeck <[email protected]> > wrote: >> +1 for the idea of profiles :) >> >>> I agree on wiki page and will report on that page what I already >>> collect for Android. >>> >>> On Mon, Jan 24, 2011 at 7:13 PM, Jean-Baptiste Onofré <[email protected]> >>> wrote: >>>> Hi Charles, >>>> >>>> Agree for that. >>>> However I think in a short term enhancement. I think that we need to design >>>> something more generic and flexible. >>>> I already quickly discussed of that with Guillaume. >>>> >>>> I propose to think about Karaf profiles. A profile is based on instance but >>>> enhanced and improved. >>>> >>>> For instance, we can see the following profiles: >>>> 1/ micro kernel: corresponding to the minimal dist >>>> 2/ default: corresponding to the "normal" current dist >>>> 3/ mobile: for android >>>> 4/ enterprise: providing enterprise application server based on enterprise >>>> features/arirs >>>> 5/ esb: corresponding to ServiceMix/swordfish >>>> >>>> I have to think deeper around to design it. Maybe we can start a wiki page >>>> to brainstorm about it. >>>> >>>> Regards >>>> JB >>>> >>>> On 01/24/2011 05:27 PM, Charles Moulliard wrote: >>>>> Hi, >>>>> >>>>> I would like to start a discussion concerning the idea to generate >>>>> during assembly of Apache Karaf a version who can be run on Google >>>>> Android platform (Mobile Device). >>>>> >>>>> The existing process is quite tedious and could be simplified >>>>> >>>>> export PATH=<path-to-android>/tools:$PATH >>>>> cd bin >>>>> dx --dex --output=classes.dex felix.jar >>>>> aapt add felix.jar classes.dex >>>>> Prepare the bundle JARS: >>>>> >>>>> cd bundle >>>>> dx --dex --output=classes.dex org.apache.felix.shell-1.0.0.jar >>>>> aapt add org.apache.felix.shell-1.0.0.jar classes.dex >>>>> dx --dex --output=classes.dex org.apache.felix.shell.tui-1.0.0.jar >>>>> aapt add org.apache.felix.shell.tui-1.0.0.jar classes.dex >>>>> dx --dex --output=classes.dex EnglishDictionary.jar >>>>> aapt add EnglishDictionary.jar classes.dex >>>>> dx --dex --output=classes.dex FrenchDictionary.jar >>>>> aapt add FrenchDictionary.jar classes.dex >>>>> dx --dex --output=classes.dex SpellChecker.jar >>>>> aapt add SpellChecker.jar classes.dex >>>>> Transfer all of them to the emulator (note that you need some kind of >>>>> unix-like shell, such as the Mac OS X terminal or Linux): >>>>> >>>>> cd osgi-android >>>>> emulator& >>>>> find * -type f -exec adb push {} /data/felix/{} \; >>>>> >>>>> Some maven plugins exist and could be used to generate DEX files >>>>> required by Davik Virtual Machine --> >>>>> >>>>> http://maven-android-plugin-m2site.googlecode.com/svn/dex-mojo.html >>>>> >>>>> http://www.sonatype.com/books/mvnref-book/reference/android-dev-sect-custom-details.html >>>>> >>>>> Running Apache Karaf on Android platform could be of great interest as >>>>> it could allow the deployment of ActiveMQ and usage in offline mode on >>>>> Mobile. >>>>> >>>>> What do you think about that ? >>>>> >>>>> Regards, >>>>> >>>>> Charles Moulliard >>>>> >>>>> Sr. Principal Solution Architect - FuseSource >>>>> Apache Committer >>>>> >>>>> Blog : http://cmoulliard.blogspot.com >>>>> Twitter : http://twitter.com/cmoulliard >>>>> Linkedin : http://www.linkedin.com/in/charlesmoulliard >>>>> Skype: cmoulliard >>>> -- >>>> Jean-Baptiste Onofré >>>> --------------------------------- >>>> HomePage >>>> http://www.nanthrax.net >>>> --------------------------------- >>>> Contacts >>>> [email protected] >>>> [email protected] >>>> --------------------------------- >>>> OpenSource >>>> BuildProcess/AutoDeploy >>>> http://buildprocess.sourceforge.net >>>> Apache ServiceMix >>>> http://servicemix.apache.org >>>> ----------------------------------- >>>> PGP : 17D4F086 >>>> >> >> >
