Version

    Initial Check-Out of Project from Repository

    GIT

    SVN

    There is an existing project in the repository. Your task is to create a new server project with content from the repository.

    GIT

    Eclipse Plugin - EGit

    External GUI Tool - TortoiseGit

    External Command Line Tool

    To version files with Git, you can use Eclipse plugin (EGit), external GUI or command line tool.

    Eclipse Plugin - EGit
    1. Clone the remote Git repository:

      Switch to Git perspective.

      In the Git Repositories tab, click Clone a Git Repository and add the clone to this view.

      Enter the remote repository location and password.

      Choose branches to be tracked.

      Enter the path for the local repository.

      Switch back to CloverDX perspective.

    2. Import the project.

      From the File menu, choose Import.

      Choose Git  Projects from Git and click Next.

      Choose Existing local repository.

      Choose the repository.

      Select the Import existing projects option.

      Select projects that should be imported.

    3. Convert the project to Server Project.

      Right click the project in Project Explorer and choose Convert to server project.

      Enter CloverDX Server URL, User name and Password.

      Select Create new sandbox. Enter the sandbox Name.

      Select type of merge. As you created a new sandbox, you can use the Use local content only (sandbox will be cleaned) option.

    You have a new server project. The project has content of a master branch of local repository.

    EGit allows you to have more projects within the same repository.

    External GUI Tool - TortoiseGit
    1. Clone the remote repository.

      In File Explorer, right click and choose Git Clone.

      In Git clone - TortoiseGit dialog, enter the path to remote repository and the path to local repository.

      Click OK.

      Enter password.

      Close the cloning log window.

    2. Import the project.

    3. Convert project to Server Project.

    External Command Line Tool
    1. Clone the git repository

      Type the command

      git clone path_to_remote path_to_local

      e. g.

      git clone ssh://git@127.0.0.1:30022/home/git/project1 project1
    2. Import the project.

    3. Convert project to Server Project.

    SVN

    Eclipse Plugin - Subclipse

    External GUI Tools - TortoiseSVN

    Command Line Tools

    Eclipse Plugin - Subclipse
    1. Import project from SVN.

      Choose File  Import.

      Choose SVN  Checkout Projects from SVN.

      In Select/Create Location step of the wizard, choose Create new repository location.

      Specify location of SVN repository. The URL for remote projects can be, e.g. https://svn.example.org/svn. The URL for local projects can be, e.g. file:///Users/clover/repositories/svn/repo1.

      Select the folder (project) to be imported.

      In Check Out As step, choose Check out as a project in the workspace and change ProjectName if necessary.

      Optionally, change the location to which the project will be checked or add the project to working sets.

    2. Convert the project to Server Project.

    External GUI Tools - TortoiseSVN

    You can use an external graphical tool to check out an svn project. The following steps describe checking out of an existing project with help of TortoiseSVN.

    1. Check-out the content of projects from SVN:

      Right click the project directory in File Explorer and choose SVN Checkout…​ from context menu.

      Delete the last entry from the Checkout directory text field. Click OK.

      TortoiseSVN complains that the directory is not empty. Choose Yes.

    2. Import the project.

    3. Convert the project to Server Project.

    Command Line Tools
    1. Check out the project from svn:

      Move to the directory with the Project in workspace (on the computer with Designer).

      Type svn checkout --force /path/to/repository . The --force forces svn to overwrite the content created during the project creation. Otherwise, you would have to resolve conflicts after checkout.

    2. Import the project.

    3. Convert the project to Server Project.