How to not send Target files

Asked

Viewed 607 times

3

When Syncronize in my project on SVN it appears a giant list with the files of Target where if I try to give commit of error.

How to make SVN ignore these files?

I’m using the Eclipse SVN.

  • Are you having problems with the svn:ignore Or you don’t know this resource?

  • @bigown The option appears disabled both on my pc and on the staff of my team.

  • I don’t know Eclipse but I can try to give you a solution.

2 answers

1


I don’t know Eclipse but I think you should do this manually on the command line:

svn propset svn:ignore Target .

svn:ignore is the property that does what you want.

Use propedit if you need to change.

If you want to ignore certain file types and not a folder:

svn propset svn:ignore "*.txt" .
  • But this command I run on my machine or on the server?

  • Usually on your machine. It is possible to use on the server as well, but it does not seem to be your case.

  • I’ll test it here.

  • I managed to run, but say that my svn is in an old version, and I have to download a new one. I can turn around from here, thanks!

1

I know the question is old, but as I needed it now and I was able to find the answer, I would like to leave it on record for future research.

You can include directories you don’t want to send to SVN at Eclipse in WindowsPreferenceTeamIgnored Resources.

Click on AddPattern and type target or the desired folder name.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.