Monday, August 27, 2007

Source Control Tips for Netbeans Projects

This post is specifically for SOA projects centered around JBI composite applications and service units, but I think 90% would still apply to any project type. If you create the projects inside of NetBeans and use an external source control tool, like 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 subversion by setting the ignore 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!

1 comment:

Jeff said...

Happy to contribute, James.

Posted: Netbeans Community Doc Wiki