Error in doing build in Eclipse: Could not delete .svn

0

When I try to do a build in Eclipse I get the following error message:

  

The project was not built due to "Could not delete '/xxx/WEB-INF/classes/.svn'.". Fix the problem, then try refreshing the project and building it since it may be inconsistent.

I've tried doing the clean and the refresh , but nothing, the error is still there. And since I can not do the build I do not know if my changes are good or not.

Project tree:

Sorry but I can not give more information than this tree

Project

---- package folder

-------- packages

------------ classes

---- html

-------- folders

------------. jsp

---- web-inf

-------- folders

------------ folders

---------------- content

The .svn folder that asks me to delete this inside content, the container folder is called com which in turn is inside WEB-INF

    
asked by exferos 21.12.2017 в 15:34
source

1 answer

0

As indicated in this Stack Overflow response in English for a similar problem, you can fix it in two different ways:

  • Move / Delete the .svn directory outside the project tree
  • Create an unversioned tree from the Working Copy (svn help export) and import that project.
  • The proper way is that .svn must exist in all less directories in output directories. The reason is because you should not check-in or out of the compiled files, only the files with source code.

        
    answered by 21.12.2017 в 15:51