I would like to individually, locally exclude IntelliJ .iws files from my Subversion changelist however for some reason the settings I've configured to ignore files in IntelliJ don't seem to be applied as I'd expect them to be.
Is it possible to have my own ignored files in my own local version of the project and if so, can you explain why after configuring a host of files in IntelliJ to ignore my project still wants to commit modified files?
Existing Configuration: As per the answer here on the question 'IntelliJ and svn:ignore' I configured my local ignored files in my project by going to the following locations in IntelliJ
Settings | Version Control | Ignored Files
However as I mentioned, still end up with these files in my modified files list on each commit.
I use Maven to build my project/modules and IntelliJ version 12
If the .iws file is blue, then there is no svn:ignore configured on it and that is why IntelliJ thinks that it will need to go on changelists.
You need to be able to right-click on the .iws file, and ignore it like this:
(click) `Subversion` -> `Ignore` -> `*.iws`
But the trouble is that you have checked in the file once already, and the ignore option isnt available, so you can fix this as follows.
Method 1:
Method 2:
You want to see (finally) that the .iws file goes grey in the project pane (this means it is successfully set with svn:ignore) and then lastly you can ignore it in intellij config so you wont see it.
Hope this helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.