NetbeansProjectIntoCvs

Placing NetBeans projects into CVS

This trick is specifically for SOA projects centered around JBI composite applications and service units, but would still apply to most project types. If you create the projects inside of NetBeans and use an external source control tool, like SmartCVS or SmartSVN, these are the directories you'll want to exclude and ignore.

For a service unit project, like a BPEL module, exclude

  • build
  • nbproject/private

For a composite application, exclude

  • build
  • dist
  • nbproject/private
  • src/jbiasa
  • src/jbiServiceUnits

After you successfully commit the projects, make sure the above directories stay out of source control.

For subversion, you do this by setting the ignore pattern/property. In SmartSVN, do this by clicking on the the project name and using the menu bar to select Properties > Edit Ignore Patterns.... Enter the directory names, save and don't forget to commit!

For CVS, create a .cvsignore file and add each directory or file to ignore on a new line. Save and commit the .cvsignore file.


Have a programming question or need help with using Sun products or community technologies in your development projects? Get Sun Developer Expert Assistance! This online support service for developers provides technical assistance for code support, programming questions, and diagnostic advice to resolve problems. Buy Now

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo