Hi, You can use the file: protocol to reference your file within your karaf feature. the file: with an absolute path should also work in exam.
Sample for solution 1: https://github.com/OsgiliathEnterprise/net.osgiliath.parent/blob/master/net.osgiliath.samples/net.osgiliath.hello/net.osgiliath.hello.features/src/main/resources/net.osgiliath.hello.features.xml Regards, 2015-03-18 11:19 GMT+01:00 Christian Eugster <c.eugs...@docuteam.ch>: > Hi, > > I want to point to a file located in a project folder in a pax-exam > integration test in karaf container. While running the test, the root_path > seems to change to the karaf container. Is there a direct way, how I can > obtain the projects path within the test method? > > Regards > > Christian > > Christian Eugster > Docuteam GmbH > Langacker 16 > Postfach > CH-5405 Baden-Dättwil > +41 (0)56 470 03 37 > c.eugs...@docuteam.ch > > > > > > -- Charlie Mordant Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent