When runing felix, we will copy the .cfg file (the text file) to the deploy directory, which will be deployed by the fileinstall bundle.
I do not know how to do it when run the framework with pax-exam. In pax-exam, I could create options for bundles, but I do not know how to deal with the .cfg file in the otions. You please give me the advice the way to deploy the .cfg file to the framework when using pax-exam. Thanks for your response. Guofeng -----Original Message----- From: general-boun...@lists.ops4j.org [mailto:general-boun...@lists.ops4j.org] On Behalf Of Harald Wellmann Sent: Tuesday, December 13, 2011 10:21 PM To: General OPS4J Subject: Re: How to deploy .cfg file when using pax-examn 2.3.M1? Am 12.12.2011 07:42, schrieb Guofeng Zhang: > Hi, > > I am new to pax-exam. > > I have a file org.apache.felix.http.cfg that need to be deployed for the > configuration admin service when running pax-exam. > > How could I let pax-exam deploy it? Depends on how this config file is accessed in any vanilla OSGi set-up (i.e. without Pax Exam). As a bundle resource? By system property? As a fragment bundle? It's hard to answer your question without further details on your setup. Regards, Harald _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general