Altova Authentic 2024 Desktop

Application Project

Home Prev Top Next

Create or load the Altova application project you wish to place under source control. If you wish to place a single file under source control, this file must be included in a project—since source control can only be accessed via a project.

 

For example, consider a project in Altova's XMLSpy application. The project's properties are saved in a .spp file. In the application, the project is displayed in the application's Project window (see screenshot below). The project in the screenshot below is named MyProject and the project's properties are saved in the file MyProject.spp.

 

SrcProjectWin01

 

You can place the entire project (all files in the project) or only some project files under source control. Only files that are in the project can be placed under source control. So you will need to add files to the project before you can place them under source control. The project file (.spp file) will automatically be placed under source control as soon as a file from within the project is placed under source control.

 

The entire project, or one or more project files, is placed under source control via the command Project | Source Control | Add to Source Control (see next section below).

 

Note, however, that the folder structure of the repository corresponds not to the project's folder structure (screenshot above) but to the structure of the local workspace folder (see folder diagram below). In the diagram below, notice that the MyProject folder in the repository has a folder structure corresponding to that of the local workspace folder. Note that the bound folder occurs within the repository folder.

 

 

Local Workspace Folder

Repository

|

|

|-- MyProject.spp

|-- MyProject (bound to Local Workspace)

|-- QuickStart

|

|-- MyProject.spp

|

|-- QuickStart.css

|

|-- QuickStart

|

|-- QuickStart.xml

|

|

|-- QuickStart.css

|

|-- QuickStart.xsd

|

|

|-- QuickStart.xml

|-- Grouping

|

|

|-- QuickStart.xsd

|

|-- Persons

|

|-- Grouping

|

|

|-- Persons.xml

|

|

|-- Persons

 

 

 

|

|

|

|-- Persons.xml

 

 

 

Note:An application project can contain project folders (green) and external folders (yellow). Only files in (green) project folders can be placed under source control. Files in (yellow) external folders cannot be placed under source control.

 

Note:Files from outside the local workspace folder can be added to the application project. But whether you can place such a file under source control depends upon the source control system you are using. Some source control systems could have a problem placing a file from outside the local folder into the repository. We therefore recommend that all project files you wish to place under source control be located in the local workspace folder.

 

© 2017-2023 Altova GmbH