Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to manage a IDEA project in Eclipse?

 
allen shao
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there any ways to open up a maven based IntelliJ IDEA project in Eclipse? and manage the project in Eclipse and continue to work on that within Eclipse?
 
Nina Niskanen
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Allen,

At least IDEa 7.0 has a ready made control for this; File -> Export to Eclipse.
 
Dmitry Jemerov
author
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Allen,

If the project is Maven based, you shouldn't really care whether it was created in IntelliJ IDEA or in another IDE. The key information is anyway stored in Maven pom.xml files, and you should use the Eclipse Maven integration to work with those.
 
allen shao
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Nina&Dmitry,

It is a maven based project, but I don't know maven yet.Try to keep my head around.

There's no pom.xml file in my folder, only maven.xml and project.xml sitting under the root.

Any thoughts?
 
Dmitry Jemerov
author
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Allen,

The file name maven.xml means that the project was created using Maven 1.x. As far as I understand, the Mevenide plugin for Eclipse supports Maven 1.x:
http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html
 
allen shao
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dmitry,

It seems you are right.

But when I load this maven1.x based project into eclipse with the assistance of Mevenide plugin, I still face a lot of jar file missing.

IDE always said "the build cannot continue because of the following unsatisfied dependencies", but when I add download the jar files it required,new jar files come,which project requires again.

Correct me if I am wrong. I think it should be a problem with jar repository.

Any advice?
 
allen shao
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't sort it all out for maven1.x project. Is it easy to migrate this maven 1.x project to a maven2.0 project? If build up a new maven2.0 project, all the dependencies are added from scratch, which generates a pom.xml file instead of project.xml in maven1.x, but how about the info in maven.xml in maven1.x? Where should I put these info in?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic