You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by GitBox <gi...@apache.org> on 2020/09/04 02:19:39 UTC

[GitHub] [tika] PeterAlfredLee commented on pull request #350: Fix java build errors caused by wrong depenency settings

PeterAlfredLee commented on pull request #350:
URL: https://github.com/apache/tika/pull/350#issuecomment-686860503


   Hi @tballison 
   
   > I use Intellij, too, and I have had to run find . -name *.iml -exec rm -rf {} \; && rm -r .idea/ a number of times during development of Tika 2.0 because the changes have overwhelmed Intellij's metadata.
   
   You can try this : [Intellij: Get rid of iml file](https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006734039-Intellij-Get-rid-of-iml-file).
   
   This would remove all .iml in project directories and store them in a externally way. Just do it like this :
   1. Set the `Store generated project files externally` in `Build, Execution, Deployment | Build Tools | Maven | Importing` for new project settings(in Files -> New Project Settings -> Settings for New Projects)
   2. Remove all `.iml` files and `.idea/` using `find . -name *.iml -exec rm -rf {} \; && rm -r .idea/`
   3. Reopen your project with Intellij
   
   Therefore no `.iml` files would be generated in project directories. The Intellij could detect the deletion of directories and notify you to update the project.
   
   Hope this helps. :)


----------------------------------------------------------------
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.

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