You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/10/26 12:21:19 UTC

[jira] Commented: (FELIX-2200) FileInstall restricts the configuration file ext to *.cfg

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

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

Now that fileinstall support ".config" files with a different syntax, it becomes more difficult to support several extensions.


> 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.