[
https://issues.apache.org/jira/browse/FELIX-4075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666419#comment-13666419
]
Carsten Ziegeler commented on FELIX-4075:
-----------------------------------------
The number one reason for using the names as the file name was for automated
processing of a configuration zip, especially if json is generated. The name is
pretty much stable which title and definitely the numbering are not.
I guess there are different solutions for this, what about adding an additional
file to the zip which contains json in the form
{
"pluginX-name" : [array of generated files for this plugin],
...
"pluginY-name" : [array of generated files for this plugin]
}
and if this file has a well defined file name, automated tooling could process
this file first and from there read the plugin files it's interested it
> Cleanup InventoryPrinter generated file names in the ZIP file
> -------------------------------------------------------------
>
> Key: FELIX-4075
> URL: https://issues.apache.org/jira/browse/FELIX-4075
> Project: Felix
> Issue Type: Bug
> Components: Inventory
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: inventory-1.0.0
>
>
> Generating the ZIP creates files whose names are actually the value of the
> InventoryPrinter names, aka URL labels, instead of the printer titles
> previously used. Also the files are not numbered any more.
> I pretty much like the numbering and it makes sure the files are unique
> (should two or more InventoryPrinter services use the same title but
> different names).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira