Working with branches in CVS

Abstract: Working with branches in CVS

Question:

If I have a project checked into CVS which is the active JBuilder project, if I use Team | Admin | Create branch, does my current project now follow the branch?

Answer:

No, the active project will continue to be the HEAD (tip).

If you want to work on the branch, then you can use the 'Pull project from CVS' wizard and indicate the branch that you created. You can have multiple projects open in JBuilder, so you can have both the branch (project) and the HEAD (project) open at the same time and switch between them as needed.

As an example, if you are working on the HEAD (project), and you create a new class and perform a commit, that class will only be shown in the HEAD. Likewise, if you create a new class when working on the branch (project) and perform a commit, that class will only be shown in the branch.