Thaks Emily.
Once i set the system property, if my test depends on bundleA in the OBR
repository , when i run the test
will be the bundle to provisioned automatically
Regards
Kamal
<font style="BACKGROUND-COLOR:#ffdfbf;" color="#0000ff">You are someone to the
world but to someone you are the world, so be what you are because somewhere...
someone like the way u are...</font><img
src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/c.gif">
<img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/m.gif">kamal<img
src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/m.gif">
From: Emily Jiang <emijia...@googlemail.com>
To: kamalakannan C M <kamal_thero...@yahoo.com>; General OPS4J
<general@lists.ops4j.org>
Sent: Thursday, June 16, 2011 1:41 AM
Subject: Re: Provision bundles through OBR repository.xml
In you config(), you set up a system variable called obr.repository.url with
the value of the url of repository.xml. The syntax will be like:
systemProperty("obr.repository.url").value("http://repo.org.com/repository.xml"),
Hope this helps.
Regards,
Emily
On Wed, Jun 15, 2011 at 11:56 PM, kamalakannan C M <kamal_thero...@yahoo.com>
wrote:
Hi
>
>i want to use pax exam to unit test Maven based OSGI projects. i dont want
>developer
>to specify the dependencies in the configuration, instead if provisiong could
>be done
>using the OBR repository.xml, it would be great.
>
>can you please tell me how this could configured in the configuration to pax
>exam. i am expecting
>something like
> @Configuration()
>publicOption[] config()
>{
>returnoptions(
>junitBundles(),
>equinox()
>,provision(obr("http://repo.org.com/repository.xml"))
>);
>}
>
>Regards
>Kamal
>
>
><font style="BACKGROUND-COLOR:#ffdfbf;" color="#0000ff">You are someone to the
>world but to someone you are the world, so be what you are because
>somewhere... someone like the way u are...</font><img
>src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/c.gif">
>
>
>
><img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/m.gif">kamal<img
>src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/m.gif">
>_______________________________________________
>general mailing list
>general@lists.ops4j.org
>http://lists.ops4j.org/mailman/listinfo/general
>
>
--
Thanks
Emily
=================
Emily Jiang
eji...@apache.org
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general