[ 
https://issues.apache.org/jira/browse/FELIX-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845779#action_12845779
 ] 

Guillaume Nodet commented on FELIX-2200:
----------------------------------------

I would not have any problem to add use a property from the bundle context for 
that.  However, note that custom artifact installers are global and thus can 
not be configured on a per-directory basis.
We also need to keep the current behavior as the default.

> FileInstall restricts the configuration file ext to *.cfg
> ---------------------------------------------------------
>
>                 Key: FELIX-2200
>                 URL: https://issues.apache.org/jira/browse/FELIX-2200
>             Project: Felix
>          Issue Type: Wish
>          Components: File Install
>            Reporter: Shrini Joshi
>
> The file install should allow users to specify file name matching pattern 
> (similar to FilenameFilter ) for storing configuration files. Restricting to 
> *.cfg may not be appropriate in all the cases.
> ====
> ConfigInstaller.java
>     public boolean canHandle(File artifact)    {
>         return artifact.getName().endsWith(".cfg");
>     }
> ====
> Existing property "felix.fileinstall.filter" simply restricts the file 
> install to read config property or to read bundle jars. 
> How sensible is this requirement? Your comments please.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to