[ https://issues.apache.org/jira/browse/TIKA-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134213#comment-13134213 ]
Ingo Renner commented on TIKA-761: ---------------------------------- Jukka, I hope this is what you meant with moving this to tika-core... However, I couldn't test the latest version of the patch since for some reason I'm now getting the following exception when executing tika-app. I haven't changed anything besides what's in the diff. Any ideas? Exception in thread "main" java.lang.NullPointerException at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:81) at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:135) at org.apache.tika.mime.MimeTypes.getDefaultMimeTypes(MimeTypes.java:573) at org.apache.tika.detect.DefaultDetector.<init>(DefaultDetector.java:63) at org.apache.tika.cli.TikaCLI.<init>(TikaCLI.java:295) at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:96) > Provide version number by CLI argument -V > ----------------------------------------- > > Key: TIKA-761 > URL: https://issues.apache.org/jira/browse/TIKA-761 > Project: Tika > Issue Type: New Feature > Components: cli, general > Reporter: Ingo Renner > Priority: Minor > Attachments: TIKA-761.diff, TIKA-761.diff, TIKA-761.diff, > TIKA-761.diff > > > I'd like to get the Apache Tika version number through CLI argument -V or > --version. The patch is trivial and basically finished. The only thing > missing (because Java is not my native programming language) is the actual > version number. Any hints where I can get that from? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira