Salesforce

Working with Version Control (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Working with Version Control (Magic xpa 4.x)

To work with Version Control you should select the Create a new project on the Version Control Database option when you create a new project. If you did not select this option when you first created the project, you can then enable Version Control, by selecting Add To VC Server from the Version Control options in the File menu.

In Magic xpa, when you create a project, the information about your project is held in a number of source files. A source file is an export file that contains project information, while references between objects are written in Internal Sequence Numbers (ISN). Each source file contains a Magic xpa object, such as a repository or program. Even before you begin to develop a new project, the empty project will already have source files for each repository and for the Main Program.

When you are developing a project, you need to have access to all of the project source files. When you are deploying a project, you need either the project source files or a cabinet file holding the project source files.

You can develop your projects without using Version Control. When you create a new project, do not select the Create a new project on the Version Control Database option.

Once you open a project in Version Control mode, the source files remain as “Read Only” as long as they are not checked out.

If you define a project to work with Version Control and later remove the Version Control status, any objects that were not yet checked out when you make the change, remain as read only. You will have to remove the read only status manually.

You can select the Create a new project on the Version Control Database check box to let project revisions and concurrent development to be handled by an independent version control server, installed separately.

If your previous project was managed within a Version Control system, the Version Control check box is selected by default. You can clear the check box if required. If you already have the most current project, you don't need to select the Open from Server option for the new project. To stop using version control, select Exclude from Server from the Version Control submenu.

If you did not initially decide to use Version Control management with your project, but later want to work in a Version Control system, you can add your project to the Version Control system by selecting Adding To Server from the Version Control submenu.

If you did initially decide to use Version Control management with your project, but later want to work in “stand-alone mode”, you can remove the project from the VC system by selecting Exclude from Version Control from the Version Control submenu. Magic xpa displays a message asking if you want to remove the project from the Version Control system. If you click Yes, Magic xpa removes the Version Control settings and the project source files are no longer displayed as read only.

Related Topics

Reference
Attachment 
Attachment