• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse - Workspace view

 
Arijit Ghosh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Arijit Ghosh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric. Thanks Jeanee.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Arijit Ghosh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ilja. I figured that out
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic