Aqua 2024.2 Help

Import projects

Open a project (simple import)

This option imports the selected project to Aqua as is (opens it). If you want to set custom settings while importing the project (for example, select another SDK or choose the libraries that you want to import), refer to Create a project from existing sources.

  1. Launch Aqua.

    If the Welcome screen opens, click Open.

    Otherwise, go to File | Open in the main menu.

  2. In the dialog that opens, select the directory in which your sources, libraries, and other assets are located and click Open.

  3. When you import or clone a project for the first time, Aqua analyzes it. If the IDE detects more than one configuration (for example, Eclipse and Gradle), it prompts you to select which configuration you want to use.

    Select the necessary configuration and click OK.

    Dialog that prompts you to select how you want to import the project

    The IDE pre-configures the project according to your choice. For example, if you select Gradle, Aqua executes its build scripts, loads dependencies, and so on.

  4. If you have been working with another project, select whether you want to open the new project in a new dialog or in the current one.

Import a project with settings

Import a project from an external model

Use this type of import if your project comes from an external model, and you want to import it as a whole. In this case, Aqua interprets the project files (for example, your Eclipse project will be migrated to Aqua).

  1. Launch Aqua.

    If the Welcome screen opens, press Ctrl+Shift+A, type project from existing sources, and click the Import project from existing sources action in the popup.

    Otherwise, go to File | New | Project from Existing Sources in the main menu.

    Importing a project from existing sources
  2. In the dialog that opens, select the directory in which your sources, libraries, and other assets are located and click Open.

  3. Select Import project from external model and select the model that your project uses:

    Select Eclipse and click Next.

    Importing a project from an external model

    Select Maven and click Create.

    For Maven projects, the IDE configures the settings automatically. You will be able to adjust them after the project is imported.

    Importing a project from an external model

    Select Gradle and click Create.

    For Gradle projects, the IDE configures the settings automatically. You will be able to adjust them after the project is imported.

    Importing a project from an external model

Create a project from existing sources

Use this type of import to create a Aqua project over the existing source code that is not necessarily an exported project.

  1. Launch Aqua.

    If the Welcome screen opens, press Ctrl+Shift+A, type project from existing sources, and click the Import project from existing sources action in the popup.

    Otherwise, go to File | New | Project from Existing Sources.

    Importing a project from existing sources
  2. In the dialog that opens, select the directory in which your sources, libraries, and other assets are located and click Open.

  3. Select the Create project from existing sources option and click Next.

    Creating a project from existing sources
  4. Specify the name and location and select a format for the new project. It's recommended that you use the .

    Click Next.

    If you are importing the project to the same directory, the IDE asks you whether you want to overwrite it. If you click Yes, Aqua will overwrite the files in .idea directory and the .iml files, your source files will remain intact.

    A popup warning you that the folder will be overwritten
  5. Select the directories that you want to use as source root directories (folders with your source code) and click Next.

    Importing sources
  6. Select the libraries that you want to add to the new project.

    You can join several selected libraries or archives into a new library by clicking the Merge button or split the selected library into two by clicking the Split button.

    Click Next

    Importing libraries
  7. Review module structure: select the modules that you want to include in your project.

    You can merge several modules into one by clicking the Merge button or split the selected module into two by clicking the Split button.

    Click Next

    Importing modules
  8. Specify the SDK that you want to use.

    If the necessary SDK is already defined in Aqua, select it from the list on the left. Otherwise, click the Add button and add a new SDK.

    Click Next.

    Importing SDK
  9. Enable support for the detected frameworks and technologies: select checkboxes next to the necessary items.

    You can also specify how the files-indicators should be grouped: by type (by framework) or by directory (by location).

  10. Click Create.

Last modified: 22 August 2024