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 (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/16 11:11:40 UTC
[jira] [Resolved] (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:all-tabpanel ]
Guillaume Nodet resolved FELIX-2200.
------------------------------------
Resolution: Won't Fix
Assignee: Guillaume Nodet
Please reopen if needed. I suppose one way would be to make the extensions of the config installer (both '.cfg' and '.config') customizable through properties if needed.
> 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
> Assignee: Guillaume Nodet
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira