Re: Problems with Karaf 2.2.5 integration tests

2012-02-27 Thread lennart.jorelid
Hello all, I'm trying to find the pattern for something presumably rather simple WRT integration testing in Karaf with Pax Exam, but I cannot seem to find a working example anywhere. Basically I would like to factor out some integration test utilities to a separate Maven project, like so: The

Re: Problems with Karaf 2.2.5 integration tests

2012-02-27 Thread Andreas Pieber
Hey Lennart, Just to make sure: If I read the previous thread correctly you're using labs-paxexam-karaf for your integration tests on karaf-2.x; right? On Tue, Feb 28, 2012 at 03:43, lennart.jore...@teliasonera.com wrote: /SKIP It doesn't seem to matter if I provision the bundle holding the

Problems with Karaf 2.2.5 integration tests

2012-02-24 Thread lennart.jorelid
Hello all, I have been trying for some time to get integration tests running properly in Karaf 2.2.5. The test rig is copied from what little integration tests could be found on the net. My problem is that I always receive an exception claiming that the executed command does not exist. Is

Re: Problems with Karaf 2.2.5 integration tests

2012-02-24 Thread Łukasz Dywicki
Hey Lennart, You can take a look for cellar integration tests. They execute commands on test container. https://github.com/apache/karaf-cellar/tree/trunk/itests Current cellar trunk is tested with Karaf 2.2.5. Best regards, Lukasz Dywicki -- Code-House http://code-house.org Wiadomość napisana

Re: Problems with Karaf 2.2.5 integration tests

2012-02-24 Thread Guillaume Nodet
The point is that in karaf 2.x, the command is named osgi:list and not bundle:list which is only for 3.x On Fri, Feb 24, 2012 at 12:51, lennart.jore...@teliasonera.com wrote: Hello all, I have been trying for some time to get integration tests running properly in Karaf 2.2.5. The test rig

Re: Problems with Karaf 2.2.5 integration tests

2012-02-24 Thread lennart.jorelid
Hello Guillaume, Gaah... You are quite correct. What a silly error on my part. Thanks! 24 feb 2012 kl. 15:24 skrev Guillaume Nodet: The point is that in karaf 2.x, the command is named osgi:list and not bundle:list which is only for 3.x On Fri, Feb 24, 2012 at 12:51,

Re: Problems with Karaf 2.2.5 integration tests

2012-02-24 Thread Jean-Baptiste Onofré
Yes and no. osgi:list is the command, and bundle:list is an alias. Unfortunately, aliases are not well supported. Regards JB On 02/24/2012 03:24 PM, Guillaume Nodet wrote: The point is that in karaf 2.x, the command is named osgi:list and not bundle:list which is only for 3.x On Fri, Feb 24,