How can I ignore the assembly directory in Subclipse?

After the build, I got a lot of class files in the build directory, which are automatically generated. I do not want to comment on them, so I tried to ignore them using Team -> Add to svn:ignore , but they are already inactive.

enter image description here

I tried to remove the assembly directory using Project -> Clean , but it is interesting that Subclipse still has them when I tried to commit.

Something went wrong? How to ignore assembly directory in Subclipse?

enter image description here

+6
source share
3 answers

I had to go back (command -> go back) to enable the element (command -> add to svn). I'm not sure if this is relevant to this change, but I had to do svn update manually to remove some errors.

0
source

You cannot ignore a file that is already in the svn repository. Delete this file from the repository, and then try again.

+2
source

I think they have already been added to the version control view and have not yet been fixed. I hope you do not see your files in the subclipse repository. If so, first try cleaning project-> team →.

If this does not work, let me know, I will send you manual cleaning steps.

Please note: in clean I do not refer to the project as clean, but I refer to the repository cache cleanup , which is maintained in the .svn folder of your project folders.

+1
source

Source: https://habr.com/ru/post/928155/


All Articles