I want to intergate the apache tika jar or source files into my grail application and how can i do it please ...
what about access source files into my groovy controller or something
I want to intergate the apache tika jar or source files into my grail application and how can i do it please ...
what about access source files into my groovy controller or something
There are a lot's of way to include jar on a grails project, however i think that te best way is using maven.
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>...</version>
</dependency>
add on your BuildConfig.groovy file
dependencies {
...
compile'org.apache.tika:tika-core:1.7'
...
}
try grails apache tika plugin http://grails.org/plugin/tika-parser
there is a thrird option. you can put the downloaded .jar file into the /lib
dir of your grails project. do grails package
and it should get picked up. this of course is a much inferior solution, than just using a plug-in or dependencies, but might come handy.