Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Team Sync:Way to not view added files?
Team Sync:Way to not view added files? [message #208924] Wed, 10 March 2004 10:32 Go to next message
Eclipse UserFriend
I'm working on a project that uses a compiler to generate .java files
(which then get compiled). These .java files are derived files and
thus should not be checked into the CVS repository. My problem is
that the default Team Sync. view shows all files that have been added
to my local build. Is there any way to turn this off?

I know that objects marked as derived do not show up but the prospect
of marking hundreds of files as derived does not appeal to me and it
does not appear that I can just mark the containing folder as derived.

Shane
Re: Team Sync:Way to not view added files? [message #208944 is a reply to message #208924] Wed, 10 March 2004 10:47 Go to previous messageGo to next message
Eclipse UserFriend
sholder@chipdata.com writes:

> I know that objects marked as derived do not show up but the prospect
> of marking hundreds of files as derived does not appeal to me and it
> does not appear that I can just mark the containing folder as derived.

OK, I hate following up to my own posts. It looks like marking the
parent folder as derived does do the trick but only after restarting
Eclipse. (3.0 M7)

Shane
Re: Team Sync:Way to not view added files? [message #209007 is a reply to message #208924] Wed, 10 March 2004 11:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-user.jibeinc.com

sholder@chipdata.com wrote:

> I'm working on a project that uses a compiler to generate .java files
> (which then get compiled). These .java files are derived files and
> thus should not be checked into the CVS repository. My problem is
> that the default Team Sync. view shows all files that have been added
> to my local build. Is there any way to turn this off?
>
> I know that objects marked as derived do not show up but the prospect
> of marking hundreds of files as derived does not appeal to me and it
> does not appear that I can just mark the containing folder as derived.

Select the folder that the generated files are built into and choose
"Team > Add to .cvsignore" from the pop-up menu.

HTH,
Eric
--
Eric Rizzo
Software Architect
Jibe, Inc.
http://www.jibeinc.com
Re: Team Sync:Way to not view added files? [message #209091 is a reply to message #209007] Wed, 10 March 2004 14:32 Go to previous messageGo to next message
Eclipse UserFriend
Eric Rizzo <eclipse-user@jibeinc.com> writes:

> Select the folder that the generated files are built into and choose
> "Team > Add to .cvsignore" from the pop-up menu.

I thought about that but I was hoping there would be an Eclipse
specific way to achieve this without needing to modify the default
behavior of CVS for other developers who may choose not to use
Eclipse.

Yeah, I know it shouldn't really be a problem but it's the principle
of the thing. I don't like modifying configurations of other tools to
enhance the behavior of another. I was hoping for an option to the Team
Sync View of "hide added files."

Shane
Re: Team Sync:Way to not view added files? [message #209777 is a reply to message #209091] Thu, 11 March 2004 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-user.jibeinc.com

sholder@chipdata.com wrote:

> Eric Rizzo <eclipse-user@jibeinc.com> writes:
>
>
>>Select the folder that the generated files are built into and choose
>>"Team > Add to .cvsignore" from the pop-up menu.
>
>
> I thought about that but I was hoping there would be an Eclipse
> specific way to achieve this without needing to modify the default
> behavior of CVS for other developers who may choose not to use
> Eclipse.

Hmm, perhaps I misunderstand your situation. My thinking is that
everyone would want to make sure those generated files are not managed
by CVS. For example, our standard is to define a "build destination"
directory for all our Ant scripts and then to add that directory to
..cvsignore. Doesn't matter if it's Eclipse, Ant, or something else that
generates the contents of that directory, just that it is the well-known
place where builds end up and the team does not want that managed by CVS.

If your situation is different, my thinking may not apply then.

HTH,
Eric
--
Eric Rizzo
Software Architect
Jibe, Inc.
http://www.jibeinc.com
Re: Team Sync:Way to not view added files? [message #212902 is a reply to message #209777] Thu, 18 March 2004 10:16 Go to previous messageGo to next message
Eclipse UserFriend
Eric Rizzo <eclipse-user@jibeinc.com> writes:

>> Eric Rizzo <eclipse-user@jibeinc.com> writes:
>
> Hmm, perhaps I misunderstand your situation. My thinking is that
> everyone would want to make sure those generated files are not managed
> by CVS. For example, our standard is to define a "build destination"
> directory for all our Ant scripts and then to add that directory to
> .cvsignore. Doesn't matter if it's Eclipse, Ant, or something else
> that generates the contents of that directory, just that it is the
> well-known place where builds end up and the team does not want that
> managed by CVS.

No, you've got it right, but cvs by default "ignores" newly created
files. Viewing added files in the Team Synchronize view unnecessarily
clutters the view with files I don't really care about. Some way to
toggle "added files" might be nice.

Shane
Re: Team Sync:Way to not view added files? [message #212941 is a reply to message #212902] Thu, 18 March 2004 10:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

CVS does not ignore newly created files by default. It presents them to
you to add them to cvs. They won't go away until you either add them to
the appropriate .cvsignore file or until you commit them.

you can mark a directory in the .cvsignore, and then any new files below
that directory will automatically also be ignored. But this only works
if the directory WAS NEVER added. Once it was added, you need to update
the .cvsignore file in that directory with a "*.*" entry so new files in
that directory will also be ignored.


--
Thanks, Rich Kulp

Previous Topic:How to launch plug-in when eclipse started?
Next Topic:A Recent Source of the "Could not create action delegate" Error
Goto Forum:
  


Current Time: Sat Jul 05 07:59:43 EDT 2025

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

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

Back to the top