Importing a project from the team server

First, the project for the team is created on the team server and afterwards it is imported into logi.CAD 3.

Creating a project on the team server

logi.CAD 3 does not provide a feature to create a project on the team server. First, create the project in the web browser interface of the the team server and then import the project into logi.CAD 3.

  • Appropriate experience and prior knowledge are required for creating a project on the team server.

  • Assign sufficient privileges to edit the project for each team member who should be able to edit the project. According to the GitLab server documentation, at least the "Developer" role is required to lock files or commit changes to the server. Guests or reporters are not allowed to do this.

Importing the project from the team server

How to import a project existing on the team server into logi.CAD 3:

  1. In menu File or from the context menu within the project explorer, select Import...

  2. In the wizard, expand Other, select Team Server and click Next >.

  3. On the next wizard page, select the project or projects which you would like to import.
    To speed up the selection process: Click button Select All to select all found projects or button Deselect All to deselect all found projects. Click button Refresh project list to rescan the team server for projects to import.

  4. Enter the target directory for the project. If you do not enter one, the project is automatically imported into the directory of the workspace.

  5. Click Finish to start the import.
    Result: The imported projects for the team are displayed within the views containing the projects/resources.

Good to know

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/lightbulb.svg See "Modifying, creating, deleting objects in the team project" for how to modify the objects of this project, create new objects, lock objects, and upload changes to the server.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/lightbulb.svg If the Team Monitor view is empty and/or you cannot create objects in the project, contact the administrator of the team server and ask for privileges to edit the project. If this has already been done and/or the project is not available for selection in the team monitor, close the project and reopen it and check whether the problem still occurs.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/lightbulb.svg logi.cals recommends that you enhance the .gitignore file of the project by files that are automatically created when you save an editor. These are the files located in the src-gen and target folders. Using the .gitignore file, you configure the team server to ignore the defined files/folders when committing the changes to the server. By default, the .gitignore file is not displayed in the views containing the projects/resources. The best practice is to do it this way:

  1. Click images/download/attachments/451280970/IconViewMenu-version-1-modificationdate-1598000630466-api-v2.png in toolbar of the project explorer and select Filters and Customization... In the dialog, uncheck .* - Resources (under Filter) and click OK.

    Result: The .gitignore file and other files matching the filter now appear in the project explorer.

  2. Lock this .gitignore file as described in "Modifying, creating, deleting objects in the team project".

  3. Open this .gitignore file in any text editor.

  4. Paste the following lines into the file and save the changes:

    **/src-gen
    **/target
  5. To apply the change for all the team members, commit the changes for the file to the server as described in "Modifying, creating, deleting objects in the team project".

  6. Check the filter that you unchecked in the 1st step to hide the .gitignore file and the other files again.