AMT Help Files

Importing

To start an import select File -> Import from the top menu of the AMT Developer Studio. The following dialog will open:

 
The first step is to select a file of type LionSource to import. This can be done using the file browse button at the right of the File name field. When selected the dialog will show information about the selected file in the File info section.

 
The file info section will show four properties of the file:

The import behaviour for the different export types will be explained below.
 

Import options

There are a couple of options that can be set before executing the import.

Load shortcuts and create folders

When objects were exported that have shortcuts in folders created by the software developer, and this option is unchecked, the shortcuts and folders will not be created on import.

Skip duplicate objects

When exported objects of an application are imported into an application with objects bearing the same name, this option will prevent overwriting existing objects when the objects are identical (e.g. identical code content for a report). This prevents unnecessary increments of the objects version number.

Due to technical reasons the Application Options will not be checked for duplicates and will always be imported even if the contents is unchanged. When overwriting the Application options is not wanted, make sure the export is executed without Application Options.

Duplicate label action:

This setting determines the import behaviour for objects that have one or more labels assigned to them which are already present in the repository.

Import behaviour

This section describes the import behaviour depending on the export type.

Whole Repository

A Whole Repository export can only be imported into a new empty repository database.

The import option 'Load shortcuts and create folders' can be used. The option 'Skip duplicate objects' will have no effect.

After clicking the Finish button a log window will open showing the progress of the import.
 

Whole Application with revisions

A Whole Application with revisions export can only be imported as a new application. Trying to import into an existing application will result in an error.

The import option 'Load shortcuts and create folders' can be used. The option 'Skip duplicate objects' will have no effect.

After clicking the Finish button a log window will open showing the progress of the import.
 

Objects with revisions

The import behaviour is dependent on whether the application was exported with or without the application options.

 

Application version in generation set

The import behaviour is dependent on whether the application was exported with or without the application options.

 

Importing dialog

When importing a Whole Repository or Whole Application the import will just start after clicking the Finish button. In the other to export types to import a dialog will open after clicking the Finish button. 

This dialog shows what will happen when the actual import is started by clicking the Finish button of this dialog.

Before importing individual objects can be selected with CTRL-Click and excluded from the import by clicking the 'Do not load selected' button. 

The major and minor version of the files to import can be set to a new value by selecting the objects to set the version number of and clicking the 'Load as version' button. The following dialog will open:

The new version will have to be set to a version greater than the highest version used available in the selected objects. Also an existing Label can be selected to add the objects to import to.

When everything is Ok, the actual import can be started by clicking the Finish button. A log window will open showing the progress of the import.