aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse - Workspace view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse - Workspace view" Watch "Eclipse - Workspace view" New topic
Author

Eclipse - Workspace view

Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
First.. Congratulations to all 4

Ok.. I am having the following problem...

For a Java Project, in Team Synchronizing perspective I can see that it is asking me to COMMIT a new folder (PROJECT/bin) into CVS. However, I cannot see that folder under Java Perspective. No filters applied.

Any idea ?

Regards,
Arijit
Eric Clayberg
author
Ranch Hand

Joined: Sep 24, 2004
Posts: 63
Originally posted by Arijit Ghosh:
For a Java Project, in Team Synchronizing perspective I can see that it is asking me to COMMIT a new folder (PROJECT/bin) into CVS. However, I cannot see that folder under Java Perspective. No filters applied.Any idea ?
The Package Explorer view in the Java perspective automatically filters out the /bin directory (which contains all of your .class files). You can use other views like the Navigator view in the Resource perspective to see those files.

In general, you probably don't want to commit your /bin directory to CVS. You can add a ".cvsignore" file to the root of your project to tell Eclipse/CVS to ignore specific files and folders (just add "bin" to that file). Each excluded file or directory should appear on a separate line.


Eric Clayberg
Software Engineering Manager
Google
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30758
    
156

Arijit,
Also note that it isn't so terrible if the bin folder gets committed. Eclipse filters out .class files by default. So it is just an empty folder in CVS.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
Thanks Eric. Thanks Jeanee.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Eric Clayberg:

In general, you probably don't want to commit your /bin directory to CVS. You can add a ".cvsignore" file to the root of your project to tell Eclipse/CVS to ignore specific files and folders (just add "bin" to that file). Each excluded file or directory should appear on a separate line.


You can do this in Eclipse by simply choosing "add to cvsignore..." from the team submenu.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
Thanks Ilja. I figured that out
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse - Workspace view