XFY9326 commented on PR #24:
URL: https://github.com/apache/tika-docker/pull/24#issuecomment-2633992296

   According to the [Java 
documentation](https://docs.oracle.com/en/java/javase/21/docs/specs/man/java.html#setting-the-class-path),
 using asterisk (*) in `-classpath` or `-cp` will only match jar files. The 
previous configuration could only load external jar files, but could not load 
xml files. 
   
   Due to TIKA-4147, Tika will look for "custom-mimetypes.xml" directly on the 
classpath, NOT under "/org/apache/tika/mime/". Since I want to use 
`custom-mimetypes.xml` in a Docker container, I need to put it into the 
CLASSPATH. That's why I hope to fix this feature through this PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tika.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to