felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shrini Joshi (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-2200) FileInstall restricts the configuration file ext to *.cfg
Date Sat, 13 Mar 2010 21:02:27 GMT
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.


Mime
View raw message