This _should_work automatically if you use a standard Maven directory layout. Your proble bundle is constructed by Tinybundles which normally puts the resources from the same Maven (sub-)project into the test bundle.
What is the structure of your test project? Best regards, Harald 2011/9/30 Sathyakumar Seshachalam <[email protected]>: > Hi, > > > > I was wondering if there is a way by which a resource can be included as > part of a testcase. Am using pax runner container and so the test case > executes in a different VM (as an on-the-fly-bundle) which seems to miss my > local resources. (Using Pax exam 2.2.0) > > > > If a do a this.getClass().getClassLoader().getResourceAsStream(“someFile”), > this always returns null. > > > > Regards > > Sathya > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > > _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
