how to import Eclipse 3.1 workspace in IDEA?

Hello,

Would you mind to pointer me out where I can get info about subj?
I've searched EAP and found mentioning about IDEA can import Eclipse workspace, but no details how to do it.
I run Eclipse 3.1M5

Can IDEA #3378 import Eclipse 3.1 workspace? Its declared for IDEA 5.0, but without spec. for what Eclipse version.

Thanks.

7 comments
Comment actions Permalink

Roughly, you have to create a module in your project for each Eclipse project and when you create the module, select the option "import Eclipse project", then follow the wizard's instruction.
(I had problems, though: once this is done, I had to quit IntelliJ and fix the module file:
each time a jar file is referenced, the line starts with file: --> it should be jar:
and the line should end with "somelib.jar!/"
(that is you have to add the !/ characters))

0
Comment actions Permalink

thanks for answer
IDEA imports Eclipse module as plain module
It doesn't allow do modify module type to web or j2ee.
I did that by editing iml file by myself.
Just after that I was able to setup addidtional settings for web type module.

What I'm missing here?

0
Comment actions Permalink

We are developing special plugin for Eclipse 3.0.X that exports Eclipse
workspace to IDEA project. Now it has not been tested for Eclipse 3.1
(beta) yet.

To Export eclipse workspace install plugin (just copy contents of
]]>/eclipsePlugin folder to your eclipse folder), select
projects and click Export menu item. There you will see "Export to IDEA
project" item.


Michael Kor wrote:

Hello,

Would you mind to pointer me out where I can get info about subj?
I've searched EAP and found mentioning about IDEA can import Eclipse workspace, but no details how to do it.
I run Eclipse 3.1M5

Can IDEA #3378 import Eclipse 3.1 workspace? Its declared for IDEA 5.0, but without spec. for what Eclipse version.

Thanks.



--


Sergey Grigorchuk
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

I think the main point is that someone may not have eclipse installed to
import and create projects in idea based on the eclipse project. I
wouldn't want to go through the pain of dealing with eclipse just to
import a project.

R

0
Comment actions Permalink

Yes, I agree with you and may be sometime later we will create such
feature within IDEA. Now you can use "import module from" feature when
create IDEA module but it cannot import all parameters from Eclipse project.

Robert S. Sfeir wrote:

I think the main point is that someone may not have eclipse installed to
import and create projects in idea based on the eclipse project. I
wouldn't want to go through the pain of dealing with eclipse just to
import a project.

R



--


Sergey Grigorchuk
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

I see. I just want to open an eclipse project in idea, not completely
interested in all the settings etc...

Thanks
R

0
Comment actions Permalink

So far I do project import manualy and haven't completed it yet.
Yes, IDEA did import module, but module is plain Java module.
After editing iml to change module type to web and set extra setting for the module it almost works.

Now what to do with another module that is SAR in Eclipse?
What type I have to select for SAR? I don't need EAR or EJB, just SAR.

p.s. in Eclipse 3.1M5 I use JBoss-IDE

0

Please sign in to leave a comment.