You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/03/02 15:49:18 UTC

[jira] [Commented] (TIKA-1657) Allow easier XML serialization of TikaConfig

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

Hudson commented on TIKA-1657:
------------------------------

UNSTABLE: Integrated in tika-trunk-jdk1.7 #918 (See [https://builds.apache.org/job/tika-trunk-jdk1.7/918/])
TIKA-1657 move xmlification of TikaConfig to tika-core.  Thank you, (tallison: rev 3aa1dca4eef13de99b83989010fe02bfd391b378)
* tika-example/src/main/java/org/apache/tika/example/DumpTikaConfigExample.java
* tika-app/src/test/resources/test-data/tika-config2.xml
* tika-app/src/main/java/org/apache/tika/cli/TikaCLI.java
* tika-example/src/test/java/org/apache/tika/example/DumpTikaConfigExampleTest.java
* tika-core/src/main/java/org/apache/tika/config/TikaConfigSerializer.java
* tika-app/src/test/java/org/apache/tika/cli/TikaCLITest.java
* tika-core/src/test/java/org/apache/tika/config/TikaConfigSerializerTest.java
TIKA-1657 move xmlification of TikaConfig to tika-core.  Thank you, (tallison: rev 5a341071532ac950efeaad222afe3e4a33bb9bee)
* CHANGES.txt


> Allow easier XML serialization of TikaConfig
> --------------------------------------------
>
>                 Key: TIKA-1657
>                 URL: https://issues.apache.org/jira/browse/TIKA-1657
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Minor
>             Fix For: 1.13
>
>         Attachments: TIKA-1558-blacklist-effective.xml, TIKA-1657v1.patch
>
>
> In TIKA-1418, we added an example for how to dump the config file so that users could easily modify it.  I think we should go further and make this an option at the tika-core level with hooks for tika-app and tika-server.  I propose adding a main() to TikaConfig that will print the xml config file that Tika is currently using to stdout.
> I'd like to put this into core so that e.g. Solr's DIH users can get by without having to download tika-app separately.  
> There's every chance that I've not accounted for issues with dynamic loading etc.  Also, I'd be ok with only having this available in tika-app and tika-server if there are good reasons.
> Feedback?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)