You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Peter Kriens (JIRA)" <ji...@apache.org> on 2008/06/02 09:25:45 UTC

[jira] Issue Comment Edited: (FELIX-528) Support nested folders in fileinstall

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

pkriens edited comment on FELIX-528 at 6/2/08 12:24 AM:
-------------------------------------------------------------

Yes, I should have reacted earlier, sorry. I looked at it when it was registered and I was not sure if  liked the idea in the first place,
nor did it seems to have priority because it can already be achieved by adding more directories to watch.

1. We can only make it backward compatible by adding a flag (I usually have a nested folder "unused")
2. Multiple folders are already supported with Configuration Admin. E.g. adding a simple text file in your watched directory 
    can already add a new directory to be watched, ad infinitum.
3. Nested directories can easily be a very large set, it is hard to see the scope. 

I like to keep things as simple as possible, this kind of stuff bloats quickly, however small each feature might be. Now I am not
the boss so if you get some other people that feel strong about it we can discuss it further.

  Peter Kriens

 


      was (Author: pkriens):
    Yes, I should have reacted earlier, sorry. I looked at it when it was registered and I was not sure if  liked the idea in the first place,
nor did it seems to have priority because it can already be achieved by adding more directories to watch.

1. One we can only make it backward compatible by adding a flag (I usually have a nested folder "unused")
2. Multiple folders are already supported with Configuration Admin. E.g. adding a simple text file in your watched directory 
    can already add a new directory to be watched, ad infinitum.
3. Nested directories can easily be a very large set, it is hard to see the scope. 

I like to keep things as simple as possible, this kind of stuff bloats quickly, however small each feature might be. Now I am not
the boss so if you get some other people that feel strong about it we can discuss it further.

  Peter Kriens

 

  
> Support nested folders in fileinstall
> -------------------------------------
>
>                 Key: FELIX-528
>                 URL: https://issues.apache.org/jira/browse/FELIX-528
>             Project: Felix
>          Issue Type: New Feature
>          Components: File Install
>            Reporter: Toni Menzel
>            Priority: Minor
>         Attachments: FELIX-528.patch
>
>
> Currently FileInstall just supports "flat" jar-Files as bundles in its load folder.
> How about supporting (nested) folders?
> This way, you could:
> 1. just drop an arbitrary folder structure and fileinstall would install all bundles inside.
> 2. you could enable/disable entire "bundle-sets" with:
> 2a. in/move it out of the folder
> 2b. rename the folder with prefix that means "unrecognized folder"
> Just a thought..
> Toni

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