Migration from Eclipse Plugin

Last modified 12 Mar 2021 10:22 +01:00

Importing Eclipse Project

Importing an existing Eclipse project consists of opening the project in IntelliJ IDEA and creating the files which MidPoint Studio needs.

To migrate existing Eclipse project, follow these steps:

  1. start IntelliJ IDEA

  2. go to File → Open …​

  3. navigate to the directory with your Eclipse project

  4. click OK button

  5. press Shift key twice to open the IntelliJ IDEA search window

  6. start to type midpoint

  7. select the row MidPoint Settings to open midPoint project settings

  8. keep Download file pattern as is unless you know what you are doing. See also Updating Project Settings

  9. keep Generated file pattern as is unless you know what you are doing. See also Updating Project Settings

  10. click Import from Eclipse button

  11. set the Master password for your encrypted properties store (Keepass).

    • do not set Old password, keep it empty

    • the master password will be used for encryption of Keepass file. See Using Keepass File

    • the master password will be stored in your operating system key management subsystem to not ask for it each time you start IntelliJ IDEA

  12. Select a proper Environment

  13. click OK button

Screenshot of importing project
Figure 1. Importing existing project, step 1
Screenshot of importing project
Figure 2. Importing existing project, step 2

Limitations

  • MidPoint Studio will not automatically migrate environments (as they are global in Eclipse). You have to create your environments manually including references to properties files

  • MidPoint Studio will not overwrite .gitignore and pom.xml files if they existed in the imported Eclipse project

The default content of these files:

File

Content

.gitignore

https://github.com/Evolveum/midpoint-studio/blob/master/studio-idea-plugin/src/main/resources/fileTemplates/MidPoint%20Git%20Ignore.git.ft

Migrating From Eclipse

If you were used to the Eclipse keyboard shortcuts, don’t despair! In IntelliJ IDEA you can use them.

  1. start IntelliJ IDEA

  2. go to File → Settings

  3. select Keymap

  4. select your favorite keymap, e.g. Eclipse

  5. click OK button

Was this page helpful?
YES NO
Thanks for your feedback