Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Team -> Commit wants to commit files that I haven't added.
Team -> Commit wants to commit files that I haven't added. [message #178235] Fri, 03 November 2006 15:40 Go to next message
Eclipse UserFriend
Originally posted by: cjbottaro.alumni.cs.utexas.edu

Hello,
This is a major annoyance given the way my project is setup. For whatever
reason, a bunch of files get copied around in my project tree. Eclipse
sees these as new files (obviously), but the problem is when I do a Team ->
Commit at the project root, Eclipse wants to add/commit all those "new"
files.

How can I setup Eclipse to only commit new files that I have manually added
to CVS myself?

Thanks for the help,
-- Christopher
Re: Team -> Commit wants to commit files that I haven't added. [message #178364 is a reply to message #178235] Sat, 04 November 2006 06:18 Go to previous messageGo to next message
maarten meijer is currently offline maarten meijerFriend
Messages: 146
Registered: July 2009
Senior Member
What new files are you talkoing about (filenames)?

Either Team/Add to .cvsignore or set /Properties/derived

Maarten

Christopher J. Bottaro schreef:
> Hello,
> This is a major annoyance given the way my project is setup. For whatever
> reason, a bunch of files get copied around in my project tree. Eclipse
> sees these as new files (obviously), but the problem is when I do a Team ->
> Commit at the project root, Eclipse wants to add/commit all those "new"
> files.
>
> How can I setup Eclipse to only commit new files that I have manually added
> to CVS myself?
>
> Thanks for the help,
> -- Christopher
Re: Team -> Commit wants to commit files that I haven't added. [message #178576 is a reply to message #178235] Mon, 06 November 2006 15:30 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse4.rizzoweb.com

Christopher J. Bottaro wrote:
> Hello,
> This is a major annoyance given the way my project is setup. For whatever
> reason, a bunch of files get copied around in my project tree. Eclipse
> sees these as new files (obviously), but the problem is when I do a Team ->
> Commit at the project root, Eclipse wants to add/commit all those "new"
> files.
>
> How can I setup Eclipse to only commit new files that I have manually added
> to CVS myself?

The problem is that Eclipse can't read your mind and doesn't know the
difference between files that were generated and ones that you "meant"
to create.
As someone already pointed out, .cvsignore is often used to keep
specific files and directories from CVS's attention.
I will also recommend that you use the Synchronize feature instead of
just Commit - the Synchronize view will allow you to preview all
potential changes and pick-and-choose which ones you want to actually
commit.

Hope this helps,
Eric
Previous Topic:Shutting down remote eclipse opens all desktop windows
Next Topic:BIRT to remote maven repository
Goto Forum:
  


Current Time: Fri Apr 26 19:03:27 GMT 2024

Powered by FUDForum. Page generated in 0.09286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top