How can I import *1* eclipse .classpath to create an Intellij project

Hi,

I have been using eclipse to break android source code. I have 1 .classpath/.project for my eclipse project.
Now I want to switch to Intellij. How can I import that 1 .classpath/.project to create an Intellij project.

I have tried using the import tool in intellij. But it tries to search ALL subdirectory for the directory I specifed and tries to import ALL .classpath that it finds.
How can I by-pass that?

Thank you.

4 comments
Comment actions Permalink

Hi.

When IDEA finds all eclipse .classpath files it lists them all in New Module wizard, and you can deselect superfluous ones. Can't you?

Regards,
Alexander.

0
Comment actions Permalink

But somehow Intellij find all the projects in the sub-directories, but it does not find the .project/.classpath in the root directory.
And there are a lot (~50 projects) to be 'de-select'ed.

0
Comment actions Permalink

The list supports multiple selection + Space key.

> it does not find the .project/.classpath in the root directory
This is really should not be so, I will try to reproduce the case.

Regards,
Alexander.

0
Comment actions Permalink

Well, I tried the structure like:

.../root-dir/.classpath
.../root-dir/.project
.../root-dir/sub-dir/.classpath
.../root-dir/sub-dir/.project

And pointed to root-dir in the wizard. IDEA sees both file sets. There is no problem.

1. What IDEA build do you use?
2. Please try Synchronize (Ctrl+Alt+Y) action and try to call re-import.
3. If nothing helps, please, attach or specify your file directories structure.

Thanks,
Alexander.

0

Please sign in to leave a comment.