[
https://issues.apache.org/jira/browse/TIKA-1851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15135544#comment-15135544
]
Tim Allison edited comment on TIKA-1851 at 2/6/16 3:52 AM:
-----------------------------------------------------------
So, we're zipping _all_ the test files into a jar, and then each parser module
has to grab tika-test-resources-tests.jar and unzip it even though it might use
only a few of the files. The total tika-2.x directory after a build takes up
~2.0gb vs 0.6gb for 1.x, and then there's the time. I wonder if there's a more
efficient way to do this...or is this acceptable to everyone?
I remember [~tpalsulich] and I were advocating for moving the test-docs into
subfolders by file type, but [~gagravarr] had a persuasive argument for leaving
the test-docs all in one folder. I wonder if it might be time to consider
moving the test files into the appropriate modules? Not part of this ticket.:)
was (Author: [email protected]):
So, we're zipping _all_ the test files into a jar, and then each parser module
has to grab tika-test-resources-tests.jar and unzip it even though it might use
only a few of the files. I wonder if there's a more efficient way to do
this...or is this acceptable to everyone?
I remember [~tpalsulich] and I were advocating for moving the test-docs into
subfolders by file type, but [~gagravarr] had a persuasive argument for leaving
the test-docs all in one folder. I wonder if it might be time to consider
moving the test files into the appropriate modules? Not part of this ticket.:)
> Tika 2.0 - Move test resources from core to test-resources
> ----------------------------------------------------------
>
> Key: TIKA-1851
> URL: https://issues.apache.org/jira/browse/TIKA-1851
> Project: Tika
> Issue Type: Sub-task
> Reporter: Tim Allison
> Assignee: Tim Allison
> Priority: Trivial
> Fix For: 2.0
>
>
> Let's try to move resources that are used for testing to the test-resources
> module if possible: MockParser, DummyParser, TikaTest and the unit tests for
> MockParser. That should also allow us to drop the test-jar goal in
> tika-core. Anything else?
> Haven't actually tried this yet; there may be surprises.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)