Imports an entire Eclipse workspace in the current IDEA project.
The import is performed by reading the config files found in the root directories of the eclipse projects defined in the
provided workspace (a directory containing a .metadata subdirectory). Both regular Eclipse
projects and OSGi bundle plugins are taken into account.
The plugin will create an IDEA module for each project found in the workspace. It imports:
- Source paths
- Output paths, if specified (while Eclipse supports an output path per source path, IDEA has only 2 output paths, for src and test)
- Excluded paths
- Library configurations (including usages of OSGi bundles from Eclipse's installation directory and aditionally provided locations)
- Project dependencies, converted to module dependencies
Eclipse projects with WSAD web nature or WTP config files will be acknowledged as web modules. IDEA web modules will be created for them,
but the web specific configuration will not be imported. An attempt to identify MyEclipse web projects is done by checking the existence of
the WebRoot subdirectory in the eclipse project dir.
After the first import, incremental updates can be performed. Colour coding is used to indicate the new (green), changed (blue) or non-eclipse (brown) modules.