Import a new Project into a SVN Repository
SVN > Share is the
process for importing a project into a SVN repository so that
it can be managed by SVN. You share your project when you have
already been using SVN and you have an existing working copy
in your workspace that you want to connect to SVN.
To share (import) a
project into SVN repository
- Right-click (Mac OS: Ctrl+click) the model item (the item of the
uppermost level) in the Projects
choose SVN > Share...
from the popup menu, or
Select any element of the model and choose File > SVN > Share...
from the main menu.
- You will see the Share Project
wizard. First of all you should specify the repository location where
you want to add your project. On the first page of the Share Project wizard you can choose
an existing repository
create a new one:
- If you have already defined the repository location where you
want to add your project, choose the Use existing repository location,
select the repository URL in the list below and click Next.
if you have not yet defined a connection to your repository, you will
need to define the connection to a new repository location in AnyLogic.
In this case choose the Create a new
repository location option and click Next.
The page like shown on the next figure will be opened. It prompts you
for a repository location URL. Enter the URL of the repository you want
to connect to and the authentication information. Once you
click Next, the wizard will
store the information about this new repository location in AnyLogic
- On the next step you must specify the folder name where you want
to store the project.
The folder name is relative to the URL of the repository location you
specified in the previous step. All intermediate folders must already
exist in the repository, but the final folder name must not already
exist. You may simply Use project
name as folder name (in this example it will be Linear Population). Or you can use the Browse... button to select a path
the repository. Click Next
when you are through.
- The final page of the wizard is just a final confirmation page.
Here you can enter a comment to associate with the commit or choose a
entered comment from the list. When
you ready, click Finish to
complete the import operation.
- If you have not specified your authentication information in the
wizard, you will be asked for your username and password required for
the connection with the specified SVN repository. Finally your project
will be added into SVN repository.