Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved [Eclipse] How to commit certain files to SVN?

Joined
Feb 15, 2016
Messages
64
Hey guys,

I'm having trouble using the SVN in Eclipse because when I do commits it commits everything in the project folder when really all I want is one bot folder and it's sub folders. I used the same project for the tutorial bots and skeletons and stuff but I don't want to commit them. There's an svn:ignore option but it's greyed out for pretty much all files. Probably because I've committed them before. I'll add a photo of my project layout. It seems easy to use with IntelliJ so I don't know if it would be better in the long run to switch IDEs for developing bots? I've been trying different things to exclude everything except my cow killer bot but don't know how. Any suggestions would be appreciated.

Thanks!

Project Layout
fsdggf.JPG
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Seems like you've added all this to your svn.
Not sure how this would work in eclipse, but you need to remove the unnecessary folders from svn (not your drive though).
Or do it with command line arguments.
 
Joined
Feb 15, 2016
Messages
64
Seems like you've added all this to your svn.
Not sure how this would work in eclipse, but you need to remove the unnecessary folders from svn (not your drive though).
Or do it with command line arguments.

Yeah I wasn't suppose to add it all to the SVN. Lol. I think I removed all the folders from the SVN but not sure what to do now. xD
 
Well I was trying to figure out but now I can't commit my files for some reason. I get this error:

Code:
Some of selected resources were not committed.
Some of selected resources were not committed.
svn: E200014: Commit failed (details follow):

svn: E200014: Commit failed (details follow):
svn: E200014: Base checksum mismatch on '/src/com/smitty260/cowkiller/CowKiller.java':
   expected:  559d787c8c36bd3629fd036958182bce
     actual:  124d89175ec3b7f8618f827a9c726428
svn: E175002: PUT of '/svn/smitty260/!svn/wrk/f92e9d10-5301-0010-b754-7bb814de9fb6/src/com/smitty260/cowkiller/CowKiller.java': 500 Internal Server Error (https://svn.runemate.com)

Any ideas? xD
 
Figured it out. I deleted the whole repository and all my files in my project (after backing them up) then readded the project and all the files and only commited the files I wanted instead of the whole thing. Lol.
 
Top