Turn off auto commit of new files [message #532970] |
Tue, 11 May 2010 13:40  |
Eclipse User |
|
|
|
If I create a new file and then do a commit, it is now listed in the "commit" window. How do I turn this off? I only want resources listed there that are under version control. If I want to add the new resource to version control I can do a Team->Add to Version control.
This is really annoying and only started happening when I upgraded to Eclipse 3.5.
For example. I make changes to my code. I build my project via ant which creates a jar file. Now I want to commit the changes. The changed files are listed in the commit window, but so is the .jar that is build. How do I configure this so the .jar isn't listed in the commit window? I know I can just svn:ignore it, but that is a pain to do when I have many generated files and directories that are not under version control, but now appear every time I want to do a commit.
|
|
|
Re: Turn off auto commit of new files [message #532989 is a reply to message #532970] |
Tue, 11 May 2010 14:40  |
Eclipse User |
|
|
|
Tue, 11 May 2010 13:40:40 -0400, /jbppsu@gmail.com/:
> If I create a new file and then do a commit, it is now listed in the
> "commit" window. How do I turn this off? I only want resources listed
> there that are under version control. If I want to add the new resource
> to version control I can do a Team->Add to Version control.
>
> This is really annoying and only started happening when I upgraded to
> Eclipse 3.5.
I think it has always been like that. For this there's a preference
setting "Check the new resources in the commit dialog":
http://www.eclipse.org/subversive/documentation/preferences/ pref_svn.php
I have it unchecked. New resources get listed in the commit dialog
but are unchecked by default and so are not committed automatically.
> For example. I make changes to my code. I build my project via ant which
> creates a jar file. Now I want to commit the changes. The changed files
> are listed in the commit window, but so is the .jar that is build. How
> do I configure this so the .jar isn't listed in the commit window? I
> know I can just svn:ignore it, but that is a pain to do when I have many
> generated files and directories that are not under version control, but
> now appear every time I want to do a commit.
You may consider placing all build generated stuff under a single
directory you have once ignored with svn:ignore.
--
Stanimir
|
|
|
Powered by
FUDForum. Page generated in 0.03252 seconds