• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CVS Implementation

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to implement CVS for our Java (web) development, so I am using NetBeans as a development tool. My question is should I put entire NetBeans project to CVS repository and check out entire project or add only required file to CVS repository and check out required file to separate NetBeans project ?

Regards,
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's possible to do things either way. If your developers have a standard corporate desktop, so that paths and IDE settings are likely to be just the same for everyone, then you can check the IDE project files into CVS along with the project. On the other hand, many teams have developers with some variation in their environments, so identical project files would not work for all team members. In this situation, you should not check the project files in; just check in the source code, Ant files, etc, and not the IDE project file(s).
 
Nuwan Priyadarshana
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Ernest for the information.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I might add that, if there's a clear majority of developers using the exact same workspace settings, then it might make sense to add the project files used by that majority under version control. The others would then have to override the "default" with their own, but at least the majority wouldn't need to configure anything after checking out the project from CVS.

Having said that, I suppose it just might happen that every now and then someone mistakenly checks in their non-standard project files...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic