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 > () > *public* Option[] config() > { > *return* *options*( > *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