The way I started a few months ago was slightly different: https://github.com/gnodet/karaf/commit/2ccd0d716bb8a15c89ce7953af0683bbaafd433e It's about implementing a a PaxExam TestContainer rather than a real framework. Would that sitll work ?
On Tue, Mar 22, 2011 at 12:58, Andreas Pieber <[email protected]> wrote: > @Toni: Mhm I think this should be possible. > @Karaf-Guys: How do you feel about implementing the FrameworkFactory > for Karaf and making Karaf itself an OSGi-Framework for pax-exam2? I > think a simple alternative solution could be to provide an > karaf-kick-starter which actually implements FrameworkFactory but > downloads the latest apache-karaf.zip/tar.gz, unpacks it and > kickstarts it? WDYT? > > Kind regards, > Andreas > > On Tue, Mar 22, 2011 at 12:52 PM, Toni Menzel <[email protected]> wrote: >> >> >> On Tue, Mar 22, 2011 at 12:08 PM, Andreas Pieber <[email protected]> wrote: >>> >>> On Tue, Mar 22, 2011 at 11:43 AM, Toni Menzel <[email protected]> >>> wrote: >>> > I want to look at Karaf because for the Exam2 release we need to balance >>> > between dropped features from exam1 and real bugs. >>> > There are some things that have been dropped on purpose: >>> > - like the ability to wire @Configurations to @Test methods via a >>> > pattern >>> > matching. This may be useful for some cases.. but i haven't seen it in >>> > use >>> > anywhere. >>> > Some stuff i hope can wait until 2.1: >>> > - maven plugin -> i don't really like it in Exam2 because it limits you >>> > to >>> > only the PaxRunner container (now,you have more;) But i think people use >>> > it. >>> >>> BTW, maybe it would be possible to use karaf itself as testcontainer >>> instead of e.g. felix or equinox? >>> >> Well thats a really good idea! >> The simpliest way would be if Karaf identifies itself as a OSGi Container >> (provides a FrameworkFactory). Then we can do it without a code change. >> Otherwise i have to look into what Karaf actually makes "Karaf". >> >>> >>> >> > Toni >>> >> > -> deutsch ? ;) >>> >> hä? ;) >>> > At some point i thought you are also german speaking.. >>> >>> Was my Denglish that obvious? ;) I'm from Austria, so yes Deutsch :) >>> >>> >> >>> >> Kind regards, >>> >> Andreas >>> >> >>> >> On Tue, Mar 22, 2011 at 11:33 AM, Toni Menzel <[email protected]> >>> >> wrote: >>> >> > Yes, i actually just started yesterday with build problems. >>> >> > Will push changes to https://github.com/tonit/karafonexam2 when >>> >> > things >>> >> > come >>> >> > up. >>> >> > Actually i was hoping for a not that long running build in order to >>> >> > just >>> >> > focus on the IT projects. >>> >> > ttyl, thanks! >>> >> > Toni >>> >> > -> deutsch ? ;) >>> >> > On Tue, Mar 22, 2011 at 10:46 AM, Andreas Pieber <[email protected]> >>> >> > wrote: >>> >> >> >>> >> >> Hey Toni, >>> >> >> >>> >> >> It would be much easier for me if you could push what you already >>> >> >> have >>> >> >> changed at Karaf to e.g. github and I can start from there? >>> >> >> >>> >> >> Kind regards, >>> >> >> Andreas >>> >> >> >>> >> >> On Tue, Mar 22, 2011 at 7:19 AM, Toni Menzel <[email protected]> >>> >> >> wrote: >>> >> >> > yep. But technically that should be optional. But base will be >>> >> >> > released, >>> >> >> > too. >>> >> >> > >>> >> >> > On Tue, Mar 22, 2011 at 6:11 AM, Andreas Pieber >>> >> >> > <[email protected]> >>> >> >> > wrote: >>> >> >> >> >>> >> >> >> BTW, I've just seen that you also have to release the base >>> >> >> >> packages >>> >> >> >> in >>> >> >> >> order to get out pax-runner-1.7 :) >>> >> >> >> >>> >> >> >> Kind regards, >>> >> >> >> Andreas >>> >> >> >> >>> >> >> >> On Mon, Mar 21, 2011 at 8:55 PM, Toni Menzel >>> >> >> >> <[email protected]> >>> >> >> >> wrote: >>> >> >> >> > Hi Guys, >>> >> >> >> > i need to make a couple of releases in order to kick out a RC >>> >> >> >> > for >>> >> >> >> > Pax >>> >> >> >> > Exam >>> >> >> >> > 2.0 >>> >> >> >> > The only direct dependency is Pax URL 1.2.6 and Pax Runner 1.7 >>> >> >> >> > (because >>> >> >> >> > of >>> >> >> >> > the new Aether stuff). >>> >> >> >> > So, those are the ones that will get a release, perhaps already >>> >> >> >> > today, >>> >> >> >> > but >>> >> >> >> > possibly tomorrow. >>> >> >> >> > Question: any objections or issues with those ? >>> >> >> >> > I am currently trying to port Karaf to Exam2 but so far having >>> >> >> >> > problems >>> >> >> >> > fighting the build. >>> >> >> >> > So, once that is done, i will share & release the RC. >>> >> >> >> > Maybe someone from Karaf (Guillaume, Andreas) ? Can help out? >>> >> >> >> > Toni >>> >> >> >> > _______________________________________________ >>> >> >> >> > general mailing list >>> >> >> >> > [email protected] >>> >> >> >> > http://lists.ops4j.org/mailman/listinfo/general >>> >> >> >> > >>> >> >> >> > >>> >> >> >> >>> >> >> >> _______________________________________________ >>> >> >> >> general mailing list >>> >> >> >> [email protected] >>> >> >> >> http://lists.ops4j.org/mailman/listinfo/general >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > -- >>> >> >> > Toni Menzel - http://www.okidokiteam.com >>> >> >> > >>> >> > >>> >> > >>> >> > >>> >> > -- >>> >> > Toni Menzel - http://www.okidokiteam.com >>> >> > >>> > >>> > >>> > >>> > -- >>> > Toni Menzel - http://www.okidokiteam.com >>> > >> >> >> >> -- >> Toni Menzel - http://www.okidokiteam.com >> > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
