Fwd: [pax-exam2] @Before method runs outside container

2011-03-15 Thread Sanjeeb Sahoo
Any comment? -- Forwarded message -- From: Sanjeeb Sahoo Date: Thu, Mar 10, 2011 at 1:46 AM Subject: [pax-exam2] @Before method runs outside container To: general@lists.ops4j.org I have not compared with pax-exam1, but while using pax-exam2, I noticed that @Before annotated meth

Re: PAX-WEB registering the resources?

2011-03-15 Thread Matt Madhavan
Thanks Achim! Will spend the next couple of days on the examples and the iTests On Mar 15, 2011 5:39 PM, "Achim Nierbeck" wrote: > Hi Matt, > > I don't know how familiar you are with the OSGi HttpService, basically > Pax-Web provides additional ServletWrappers for deploying also JSPs via > the Htt

Re: PAX-WEB registering the resources?

2011-03-15 Thread Achim Nierbeck
yeah it's quite different but you get used to it, and after a while you will also see points where it is definitely better :) - Achim > Hi Achim, > Thanks and could you point me to some other examples where I do not > need to use the Activator. This kind of ties the Bundle to the PAX Web > classe

Re: PAX-WEB registering the resources?

2011-03-15 Thread Achim Nierbeck
Hi Matt, I don't know how familiar you are with the OSGi HttpService, basically Pax-Web provides additional ServletWrappers for deploying also JSPs via the HttpService. So you are not really "tied" to Pax Web classes. The Activator is a "standard" way of starting bundles in OSGi. If you are lookin

Re: PaxWeb samples download problem

2011-03-15 Thread Matt Madhavan
Thanks Achim, And I spent about 15 mns already on the GIT site and an article. Very interesting! Different kind of approach than SCM's I have used in the past! (PVCS/CVS/SVN etc). Thanks a lot and I'll spend some time off and on GIT going forward. Thanks Matt On Tue, Mar 15, 2011 at 5:27 PM, Ach

Re: PAX-WEB registering the resources?

2011-03-15 Thread Matt Madhavan
Hi Achim, Thanks and could you point me to some other examples where I do not need to use the Activator. This kind of ties the Bundle to the PAX Web classes. Not sure if thats a good idea. Thanks Matt On Tue, Mar 15, 2011 at 5:26 PM, Achim Nierbeck wrote: > Hi > > the jsp samples are pure HTTPS

Re: PaxWeb samples download problem

2011-03-15 Thread Achim Nierbeck
Hi Matt, basically the documentation at GitHub is quite OK to start with. Depending on the System you use (*nix/Windows) you might get running with either shell commands or other gui tools :) Regards, Achim > Hi Achim, > Thanks for the reply! I was afraid that I do not know *git, *luckily I > fo

Re: PAX-WEB registering the resources?

2011-03-15 Thread Achim Nierbeck
Hi the jsp samples are pure HTTPService samples, that's why there is no web.xml. Everything is setup inside the Activator class. Regards, Achim > Hello, > I was reviewing the PAX-WEB examples today. The examples - all > 'register' the resources and jsps etc from inside the bundle activator. > >

PAX-WEB registering the resources?

2011-03-15 Thread Matt Madhavan
Hello, I was reviewing the PAX-WEB examples today. The examples - all 'register' the resources and jsps etc from inside the bundle activator. Is is this my only option? Can this be done via some bundle manifest header or some other way? Also I did not see any web.xml file as well. And I was not s

Re: PaxWeb samples download problem

2011-03-15 Thread Matt Madhavan
Hi Achim, Thanks for the reply! I was afraid that I do not know *git, *luckily I found read only download link. *Anyway can you point me to a good tutorial page for GIT? I think its time to start learning it! * Thanks Matt On Tue, Mar 15, 2011 at 4:49 PM, Achim Nierbeck wrote: > Hi Matt, > >

Re: PaxWeb samples download problem

2011-03-15 Thread Achim Nierbeck
Hi Matt, the sources for Pax-web can be found on github: https://github.com/ops4j/org.ops4j.pax.web Regarding your problem with the pax-runner, I'm sorry I'm no big help. Regards, Achim Am 15.03.2011 21:53, schrieb Matt Madhavan: > Hi Andreas, > I'm trying to download the paxweb samples and I'm

PaxWeb samples download problem

2011-03-15 Thread Matt Madhavan
Hi Andreas, I'm trying to download the paxweb samples and I'm following the online instructions. pax-run scan-file:jar:mvn:org.ops4j.pax.web.samples/provision!/sample-helloworld-jsp.bundles I'm getting the following errors: Any idea please? Are you able to email me the source code for the pax-we

Re: Problem while testing Apache Karaf

2011-03-15 Thread Toni Menzel
Hi Michael, You are using some extra runtime bundle from the Karaf project: org.apache.felix.karaf.tooling.testing This looks like importing something, that - at least i - did not intend to have available at runtime at all. So its 2 folds: - check if the version of org.apache.felix.karaf.tooling.

Problem while testing Apache Karaf

2011-03-15 Thread Michael Szalay
Hi all I want to setup a integration test infrastructure for my OSGi blueprint projects. We use Apache Karaf as a framework. I wrote my JUnit test and installed my features. Now I have the unresolved dependency: Unresolved constraint in bundle org.apache.felix.karaf.tooling.testing [12]: Unabl