[
https://issues.apache.org/jira/browse/TIKA-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Heinz Marbaise updated TIKA-74:
------------------------------------
Attachment: y.diff
Yes your are right of course. Here is a patch which focuses only on fixing
TIKA-74.
ChangeLog:
TIKA-74
- src/test/java/org/apache/tika/TestParsers.java
- Enhanced the Unit Tests to use only getResourceAsFile()
- tika-config.xml / tika-mimetypes.xml
- added tika-config.xml to src/test/resources/org/apache/tika
area.
- tike-mimetyps.xml moved from src/main/resources/mime to
src/main/resources/org/apache/tika/mime
- Added the fontbox dependency to get the unit tests running.
Only for scope test.
- Removed the resources defintion from pom.xml file,
cause we have put the resources to their appropiate
places under src/main/resources or src/test/resources.
> Test Resources should be loaded by the class loader (e.g.
> getResourceAsStream()).
> ---------------------------------------------------------------------------------
>
> Key: TIKA-74
> URL: https://issues.apache.org/jira/browse/TIKA-74
> Project: Tika
> Issue Type: Improvement
> Components: general
> Affects Versions: 0.1-incubating
> Reporter: Keith R. Bennett
> Priority: Minor
> Fix For: 0.2-incubating
>
> Attachments: x.patch, y.diff
>
>
> Resources should be loaded by the class loader rather than assumed to be a
> file in a certain location.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.