How to Delete a File on SVN Eclipse

By Mike Wallace

Updated September 28, 2017

Items you will need

  • Computer with Eclipse installed

  • Access to SVN server

Subversion (SVN) is a source control solution that allows you to manage the changes made to your program. Using SVN, you can roll back to earlier versions of your software project. The Eclipse open-source integrated development environment (IDE) can be integrated with an SVN server, allowing you to take advantage of all of the features SVN and Eclipse offer. You can use Eclipse to delete files from your SVN repository using a simple series of operations.

Start the Eclipse IDE by clicking on its icon. When it fully loads, the left half of the application window will detail all of your Eclipse projects.

Select the project from which you would like to delete a file. Press the “+” symbol to the left of the project name. A listing of subdirectories appears.

Press the “+” symbol to the left of the subdirectory that contains the file you want to delete. The subdirectory opens and reveals a listing of its contents. If the file you want to delete is nested in a deeper subdirectory, repeat this step until your file is displayed.

Right-click the file you want to delete. A context menu appears.

Click the “Delete” option in the context menu. Subversion flags this file for removal from the project.

Commit your changes to the repository. This will delete the file you flagged for deletion as well as update any other changes you’ve made since the last commit. Right-click the project name, and select “Team/Commit.” Eclipse will connect to the Subversion server and commit the changes.