[ 
https://issues.apache.org/jira/browse/TIKA-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001725#comment-14001725
 ] 

Lewis John McGibbney commented on TIKA-1272:
--------------------------------------------

We this issue is kinda strange... I am unsure as to why an entire file *0* was 
created and loaded at runtime when it contains only one Key, Value item, the 
value for which can just as easily be obtained by making the existing call to
{{new Tika().toString()}}
I should note that the abobe Tika object was being constructed already... this 
is not something I've added.
 I am proposing to merely remove the (useless?) tikaserver-version.properties 
file and clean up the logging to remove duplication for logging Tika version.

[0] 
http://svn.apache.org/repos/asf/tika/trunk/tika-server/src/main/resources/tikaserver-version.properties

> tika-server version is incorrectly defined 
> -------------------------------------------
>
>                 Key: TIKA-1272
>                 URL: https://issues.apache.org/jira/browse/TIKA-1272
>             Project: Tika
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 1.5
>            Reporter: Lewis John McGibbney
>            Priority: Trivial
>             Fix For: 1.6
>
>         Attachments: TIKA-1272.patch
>
>
> There is a trivial bug in o.a.tika.server.TikaServerCLI where we double log 
> that we are starting the server. The initial logging statement reading in 
> static String value from a properties file. This static value is currently 
> set to ${project.version} which is strange...
> Secondly, there is actually no requirement to have this file as this is the 
> only property contained within the file and it is only used in this context.
> This simple issue improves INFO logging to server initialization as well as 
> removal of useless properties file. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to