34.5.3 Import an Existing Project
importProject <project_path> [-workingset [-newwindow]] [-force] [-close_others]
[-clearcase] [-git <repo1:repo2:...:repoN>][-p4 <connection_parameters>]
Mandatory arguments:
<project_path> absolute path to project
Optional arguments:
-force Use this flag to overwrite an existing project with the same name but a different location.
-clearcase Share project with ClearCase Eclipse plugin.
-git Add the specified repositories to the Git Repositories View. A colon (:) separated
list of repository paths must be provided.
[NOTE] Repository paths must include (end with) the /.git segment.
-newwindow Open a new window with the working set selected.
-p4 Share project with Perforce Eclipse plugin. The <connection_parameters>
argument must be specified as a list of <parameter>=<value> separated by commas.
Mandatory parameters:
P4PORT=<host:port> (P4PORT=company_server:1666)
P4CLIENT=<perforce_workspace_name> (P4CLIENT=perforce-work)
P4USER=<username> (P4USER user1)
Optional parameters:
P4CHARSET=<charset_type> (P4CHARSET=none)
P4PASSWD=<password> (P4PASSWD=password123)
SAVEPASS=<save_in_secure_storage_or_not> (SAVEPASS=false)
OFFLINE=<working_offline_or_not> (OFFLINE=false)
-svn Share project with the Subversive SVN Eclipse plugin.
The SVN repository URL must be provided.
The repository is added to the SVN Repositories View if not existing.
-workingset Add project to a working set.
-close_others Close all projects in the workspace except the newly imported one.