Hi,

+1 for having this. This is a very valid requirement for AS side.

On Fri, May 10, 2013 at 6:09 PM, Pradeep Fernando <[email protected]> wrote:

> Hi,
>
> Some of the 3 rd party jars search config files from their classPath.
> However due to one loader per bundle policy of OSGi, the class path is
> fragmented. There are two options to solve this issue,
>
> - use absolute paths
> - use fragment bundles
>
> the latter option,
>
> say if the bundle foo needs config file bar.xml. How about user creates a
> directory named 'foo' under conf directory and put the config file there.
> During the startup, we create new fragment bundle out of bar.xml and attach
> it to bundle foo.
>

> we are doing similar thing in log4j.properties file. but the approach is
> not generic at the moment. WDYT ?
>
+1,
IMO directory should be /conf/etc/foo or conf/xxx/foo.

thanks,


>
> --Pradeep
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [email protected] <[email protected]>
mobile - 071 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to