Importing Multiple Local/Remote C/C++ Projects

To create multiple projects for your C/C++ files on the remote server, use the Import Local/Remote C/C++ Projects wizard.

About this task

Procedure

  1. To create multiple Local/Remote C/C++ Projects begin by opening the Import Local/Remote C/C++ Projects wizard by going to File -> New -> Project. Under C/C++, select Import Local/Remote C/C++ Projects
  2. Use the Connection field pull down to select your remote host. Select the folder(s) to import. Click Next
    Note: Do not create projects pointing to the same project location on the remote host in multiple IDEs. This will cause unexpected behavior to occur.
  3. Select the Project Type:
  4. Specify project location: The remote location root will be generated for the selected folders. New projects will have the same name as its folder name.
    • For Synchronized projects:
      • Use default location: enable/disable using the default location for project location
      • Push on save: enable/disable pushing local changes to the remote location when a file is saved
      • Pull from remote on project creation: enable/disable pulling files from remote location on project creation
    • For Remote Only projects:
    • For Network File System projects:
  5. Select the Language options, and Tool Chain options that best suite your new projects
    Note: The tool chains available at this step will depend on the type of project, as well as the operating system of the remote system. The XL C/C++ Tool Chain is only available when the remote system is an AIX or Linux on Power system.
  6. Press Finish, or optionally specify additional Project Options:
    Additional Project Options
    • Build Command: the command to be used to build your project
    • Build Directory: the location where the build command is to be issued
    • Compiler Executable Directory: the location where the XL compiler executable can be found. The default install location is chosen by default.
    • Import an off-line index: import a previously generated off-line index. To import an off-line index from the remote system for the new project, browse for the off-line index zip file. For more information, see Creating/Importing an Offline Index.
    • Do not index project until project has been built: enable/disable this will prevent the indexer from launching until the project has been built.
  7. Click on Advanced... to edit the configuration for the C/C++ Indexing service and/or the Build service. For more information, see Local/Remote C/C++ Project Wizard - Service Providers..
    When you have finished your edits, click OK
  8. Click Finish in the Local/Remote C/C++ Project wizard to create the project. Creating the project may take a few minutes. Once the project has boon created it will appear in the Project Explorer view.
    Once you have created a Local/Remote C/C++ project, you are ready to create a C or C++ source file.

Feedback