Skip to main content

Linkage with SCM system

Overview

Next Design works with Subversion, which is a configuration management system, so that a series of file operations for the configuration management repository can be completed through UI operations on Next Design.

The operations of Next Design linked with the configuration management repository are described in the following order.

  • Fetch project from repository and open
  • Get editing permissions and start editing
  • remove edit permission
  • get latest from repository
  • Undo and undo changes
  • Commit changes and update repository
  • Show commit log
  • Register the project in the repository
  • Manage the repositories you use
note
  • Please prepare a configuration management repository to be linked with Next Design in advance.

Get the project from the repository and open it

To get a project from the repository and open it, from the Next Design start page, follow these steps:

Open a Project from the repository

Operation procedure
  1. Click Start > Open a Project from the repository... to display the Repository Selection dialog.
  2. Select the repository where the project is stored by one of the following methods and press the [Next] button.
    • If you are using the configuration management repository for the first time in Next Design or if the configuration management repository that stores the project has not been registered, follow the steps below to register the repository.
      (1) Select [Register a new Repository] and press the [Next] button.
      (2) Enter the connection information for the configuration management repository and click the [Next] button.
    • If the configuration management repository that stores the project has already been registered, select that repository and press the [Next] button.
  3. Select the project files to retrieve using one of the following methods:
    • Select a project from the list of projects displayed on the [Select Project File] tab.
    • Switch to the [Select from Folder] tab and select the folder containing the project file (.iproj) from the displayed folder tree.
  4. Specify the destination folder of the project file in [Check out to], and click [Check out].
  5. If the project file is successfully acquired, the project file will be opened.
caution
  • Specify a new empty folder as the destination folder.

Get edit permissions and start editing

To get edit permissions and start editing, follow these steps:

start editing

Operation procedure
  1. Select the project or model file to start editing by one of the following methods.
    • Select a file in the project navigator.
    • Select a project or model in the model navigator.
  2. Start editing in one of the following ways:
    • Click Team Collaboration > Edit > Get edit permission/Get Edit Permission below Selected Model/Get all edit permission from the ribbon.
    • Click Get edit permission from the context menu.
  3. When you start editing, the icon of the model file will change and [(Editing by me)] will be added to the model file in the project navigator.

remove edit permission

To revoke editing privileges, follow these steps:

Release Edit

Releasing editing privileges for the specified file

Operation procedure
  1. Select the project or model file for which you want to release the editing authority by one of the following methods.
    • Select a project or model in edit status in the model navigator.
    • Select an editable file in the project navigator.
    • Select a file in edit status in the configuration management navigator.
  2. Undo the editing by doing one of the following:
    • Click either [Team Collaboration] > [Edit] > [Release edit permission]/[Release Edit Permission below Selected Model] from the ribbon.
    • Click Release edit permission from the context menu.

If you want to remove editing privileges for all files at once

Operation procedure
  1. Click Team Collaboration > Edit > Release All Edit Permission from the ribbon.
caution
  • If you cancel the editing authority without committing the changes from the configuration management navigator, the changed files will remain and will be inconsistent with the repository.
  • To make it consistent with the repository, revert the changes as described in "Undoing and Reverting Changes" below.

get latest from repository

To update a file previously retrieved from the repository to the latest revision:

Get latest from repository

If you want to check if it has been updated after getting it previously

Operation procedure
  1. From the Ribbon, click Team Collaboration > Sync Repository > Get the Latest, click the ▼ at the bottom, and click Check for updates.

When updating all files to the latest revision

Operation procedure
  1. Update to the latest revision using one of the following methods:
    • Click the [Team Collaboration] > [Sync Repository] > [Get the Latest] icon from the ribbon.
    • From the Ribbon, select Team Collaboration > Sync Repository > Get the Latest, click the ▼ at the bottom, and click Get All Files.

When updating the specified file to the latest revision

Operation procedure
  1. Select the project or model file to update to the latest revision using one of the following methods.
    • Select a project or model in the model navigator.
    • Select a project file or model file in the project navigator.
  2. Update to the latest revision using one of the following methods:
    • From the ribbon, select Team Collaboration > Sync Repository > Get the Latest, click the ▼ at the bottom, and click Update Selected File Only.
    • Click Get the latest version of selected File from the context menu.
note
  • Files that have been modified since fetching are ignored, and other files are updated to the latest revision.

undo and revert changes

To undo changes in an uncommitted file and revert to the original revision:

undo changes

If you want to undo changes in all files

Operation procedure
  1. Switch the Navigator to the Configuration Management Navigator.
  2. Click Revert All from the Commit Target context menu.
  3. When the dialog to confirm reloading of the project is displayed, press the [Yes] button.

To undo changes in the specified file

Operation procedure
  1. Switch the Navigator to the Configuration Management Navigator.
  2. Select the file whose changes you want to undo from [Commit Target] in the Configuration Management Navigator.
  3. Click Revert This File from the context menu.
  4. When the confirmation dialog for reloading the project is displayed, click the [Yes] button.
caution
  • Editing permissions have been removed from the file for which changes have been undone.
  • If you want to continue editing, please obtain editing authority again and start editing.
  • Committed changes cannot be undone in Next Design.

commit the changes and update the repository

To commit changes to files and update the repository:

commit changes

Operation procedure
  1. Save the modified file.
  2. Switch to the Configuration Management Navigator by doing one of the following:
    • Click Team Collaboration > Sync Repository > Commit from the ribbon.
    • Click [Change Navigator] from the selector at the top of the navigator.
  3. Check the file displayed in Commit Target. By default, all modified files are checked for commit. Uncheck to exclude some files from being committed.
  4. Enter your commit message.
  5. After entering the commit message, click the [Commit] button below the input field or press the ctrl+enter key.
  6. This will update the files in the repository and add the commit log.
tip
  • If there are uncommitted files after being changed and saved, the icon in the configuration management navigator will be marked. Change Navigator
  • Icons of uncommitted files are marked with changes. change mark
tip
  • If you check the [Keep editable state] checkbox at the bottom of [Commit Target] before committing, each file will retain editing permissions and you can continue editing.
  • By default, it is unchecked and the edit permission is released at the same time as the commit.
caution
  • It doesn't appear in Commit Target until you save the modified file.
  • Save before committing.

Show commit log

To view the commit log for a file, do the following:

![Show commit logs](./images/scm-show commitlogs.png)

![Show commit log](./images/scm-show commitlogs-list.png)

Operation procedure
  1. Select the project or model file whose commit log you want to view by doing one of the following:
    • Select a file in the project navigator.
    • Select a project or model in the model navigator.
    • Select the file in the Configuration Management Navigator.
  2. View the commit log in one of the following ways:
    • Click Team Collaboration > Sync Repository > Commit Log from the ribbon.
    • Click Show commit log from the context menu.
  3. The Log Messages dialog will appear, listing commit logs by revision.
  4. The list of commit logs can be filtered by specifying the start date and end date.

Register the project in the repository

Follow the steps below to newly register a project that has not been registered to the repository.

Create folder and move

Registration to Repository

Select a repository

Select folder

Operation procedure
  1. Create a folder with the same name as the folder that will be added to the repository, and move the project files and other items there.
  2. Open the project file in Next Design.
  3. Click Team Collaboration > Repository > Registration to Repository from the ribbon.
  4. Select the repository to store the project using one of the following methods, and click the [Next] button.
    • If you are using the configuration management repository for the first time in Next Design or if the storage destination repository has not been registered, follow the steps below to register the repository.
      1. Select [Register a new Repository] and press the [Next] button.
      2. Enter the connection information for the configuration management repository and click the [Next] button.
    • If the storage destination repository has already been registered, select that repository and press the [Next] button.
  5. Select the destination folder for the project folder and click [Register].
  6. After successfully registering the repository, Configuration Management Navigator can be selected as a navigator option.
caution
  • Be sure to register on Next Design when registering to the repository.
  • If you use a Subversion client tool other than Next Design to register in the repository, Next Design's configuration management system linkage function may not work properly.
  • Immediately after registering the repository, you are in a state where you have started editing the set of registered files.
  • If you do not want to edit after registering the repository, cancel the editing authority.

Manage using repositories

Follow the steps below to register a configuration management repository in Next Design or change registered connection information.

Manage repository registration

select a repository

repository connection information

Operation procedure
  1. Click Team Collaboration > Repository > Repository Management from the ribbon to display the Repository Management dialog.
  2. To register a new repository, press the [Add] button, enter the connection information to the repository in the [Editing Repository Setting] dialog, and press the [Add] button.
  3. To change the connection information of a registered repository, select the registered repository and press the [Edit] button, then edit the connection information to the repository in the [Editing Repository Setting] dialog, Click the [OK] button.
  4. To delete a registered repository, select the registered repository and press the [Delete] button, then press the [OK] button on the confirmation message.
  5. To commit the above changes, press the [OK] button in the [Repository Management] dialog.