java - Migrating from Eclipse to IntelliJ -


i moved eclipse intellij program in java. have following questions:

  • eclipse has concept of workspace , each project must in owen workspace. however, bit different in intellij (from understand). when created new project in intellij, created projects in default folder called ideaprojects/

so if have 2 folders courses (csci123 , cyb342) , want have intellij assignments these courses in subfolder called intellij-stuff ::

eg csci123/intellij-stuff/project1 csci123/intellij-stuff/project2 csci123/intellij-stuff/project 

and

cyb342/intellij-stuff/project1 cyb342/intellij-stuff/project2 cyb342/intellij-stuff/project3 

can have each of intellij projects in different folders or have in ideaprojects/ folder?

  • how export project jar source files (like in eclipse)

  • how import jar ?

  • how convert old eclipse projects intellij?

when create project asked project location:

enter image description here

you choose location , not have in "ideaprojects/ folder".

intellij provides topic titled migrating eclipse intellij idea maps eclipse concepts intellij concepts. might useful read apply expect (based on how eclipse behaves/is desigend) how intellij behaves.

re other questions:

  • export jar intellij
  • import jar: presume mean add jar dependency project. if so, if yours maven or gradle project done once declare jar dependency. if yours not maven or gradle project can add dependency manually follows:
    • open project ...
    • file > project structure > libraries ...
    • click on + ...
    • choose java , file browser opened , can use browse jar want include in project.
  • migrate project eclipse intellij. again, if project maven or gradle project can open in intellij since ide needs know project structure can inferred pom or gradle file , conventions of tools. if project not maven or gradle project can open eclipse project in intellij , intellij attempt interpret it. ...
    • file > new > project existing sources ... then
    • browse directory contains eclipse .project or .classpath file

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -