Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
added 97 characters in body
Source Link
Nir
  • 601
  • 8
  • 24

I have created a new IntelliJ Project, and I want it to have JAR dependencies like I have in another project.

Is there a way to Export-Import / Copy-Paste JAR dependencies from one IntelliJ project to another without using POM?

Thanks.

Optional Solution:

1. Open <old-project>/.idea/libraries folder and <new-project>/.idea/libraries folder. 2. Make sure to enable the displaying of hidden files (in Win7, go to control-panel--> Folder Options --> View, and select the 'Show hidden files...') 3. Copy all XML files exists in .idea/libraries from the old project to the new one. 4. Make sure that each xml points to the right location of Jar. (In case of relative link) 5. Open the <old-project>.iml and <new-project>.iml, and copy all <orderEntry type="library" name"..."/> elements. 56.  Restart your new project. 

I have created a new IntelliJ Project, and I want it to have JAR dependencies like I have in another project.

Is there a way to Export-Import / Copy-Paste JAR dependencies from one IntelliJ project to another without using POM?

Thanks.

Optional Solution:

1. Open <old-project>/.idea/libraries folder and <new-project>/.idea/libraries folder. 2. Make sure to enable the displaying of hidden files (in Win7, go to control-panel--> Folder Options --> View, and select the 'Show hidden files...') 3. Copy all XML files exists in .idea/libraries from the old project to the new one. 4. Open the <old-project>.iml and <new-project>.iml, and copy all <orderEntry type="library" name"..."/> elements. 5. Restart your new project. 

I have created a new IntelliJ Project, and I want it to have JAR dependencies like I have in another project.

Is there a way to Export-Import / Copy-Paste JAR dependencies from one IntelliJ project to another without using POM?

Thanks.

Optional Solution:

1. Open <old-project>/.idea/libraries folder and <new-project>/.idea/libraries folder. 2. Make sure to enable the displaying of hidden files (in Win7, go to control-panel--> Folder Options --> View, and select the 'Show hidden files...') 3. Copy all XML files exists in .idea/libraries from the old project to the new one. 4. Make sure that each xml points to the right location of Jar. (In case of relative link) 5. Open the <old-project>.iml and <new-project>.iml, and copy all <orderEntry type="library" name"..."/> elements. 6.  Restart your new project. 
removed tags from title, fixed grammar
Source Link
Matheus Lacerda
  • 6k
  • 11
  • 32
  • 45

IntelliJ - How to import External Jarsexternal JARs from one project to Anotheranother?

I have created a new IntelliJ Project, and I want it to have JarJAR dependencies like I have in another project.

Is there a way to Export-Import / Copy-Paste JarJAR dependencies from one IntelliJ project to another without using POM?

Thanks.

Optional Solution:

1. Open <old-project>/.idea/libraries folder and <new-project>/.idea/libraries folder. 2. Make sure to enable the displaying of hidden files (in win7Win7, gotogo to control-panel--> Folder Options --> View, and select the 'Show hidden files...') 3. Copy all XML files exists in .idea/libraries from the old project to the new one. 4. Open the <old-project>.iml and <new-project>.iml, and copy all <orderEntry type="library" name"..."/> elements. 5. restartRestart your new project.  

IntelliJ - How to import External Jars from one project to Another

I have created a new IntelliJ Project, and I want it to have Jar dependencies like I have in another project.

Is there a way to Export-Import / Copy-Paste Jar dependencies from one IntelliJ project to another without using POM?

Thanks

Optional Solution:

1. Open <old-project>/.idea/libraries folder and <new-project>/.idea/libraries folder. 2. Make sure to enable the displaying of hidden files (in win7 goto control-panel--> Folder Options --> View, and select the 'Show hidden files...') 3. Copy all XML files exists in .idea/libraries from the old project to the new one. 4. Open the <old-project>.iml and <new-project>.iml, and copy all <orderEntry type="library" name"..."/> elements. 5. restart your new project.  

How to import external JARs from one project to another?

I have created a new IntelliJ Project, and I want it to have JAR dependencies like I have in another project.

Is there a way to Export-Import / Copy-Paste JAR dependencies from one IntelliJ project to another without using POM?

Thanks.

Optional Solution:

1. Open <old-project>/.idea/libraries folder and <new-project>/.idea/libraries folder. 2. Make sure to enable the displaying of hidden files (in Win7, go to control-panel--> Folder Options --> View, and select the 'Show hidden files...') 3. Copy all XML files exists in .idea/libraries from the old project to the new one. 4. Open the <old-project>.iml and <new-project>.iml, and copy all <orderEntry type="library" name"..."/> elements. 5. Restart your new project. 
added 524 characters in body
Source Link
Nir
  • 601
  • 8
  • 24

I have created a new IntelliJ Project, and I want it to have Jar dependencies like I have in another project.

Is there a way to Export-Import / Copy-Paste Jar dependencies from one IntelliJ project to another without using POM?

Thanks

Optional Solution:

1. Open <old-project>/.idea/libraries folder and <new-project>/.idea/libraries folder. 2. Make sure to enable the displaying of hidden files (in win7 goto control-panel--> Folder Options --> View, and select the 'Show hidden files...') 3. Copy all XML files exists in .idea/libraries from the old project to the new one. 4. Open the <old-project>.iml and <new-project>.iml, and copy all <orderEntry type="library" name"..."/> elements. 5. restart your new project. 

I have created a new IntelliJ Project, and I want it to have Jar dependencies like I have in another project.

Is there a way to Export-Import / Copy-Paste Jar dependencies from one IntelliJ project to another without using POM?

Thanks

I have created a new IntelliJ Project, and I want it to have Jar dependencies like I have in another project.

Is there a way to Export-Import / Copy-Paste Jar dependencies from one IntelliJ project to another without using POM?

Thanks

Optional Solution:

1. Open <old-project>/.idea/libraries folder and <new-project>/.idea/libraries folder. 2. Make sure to enable the displaying of hidden files (in win7 goto control-panel--> Folder Options --> View, and select the 'Show hidden files...') 3. Copy all XML files exists in .idea/libraries from the old project to the new one. 4. Open the <old-project>.iml and <new-project>.iml, and copy all <orderEntry type="library" name"..."/> elements. 5. restart your new project. 
added 1 character in body
Source Link
Nir
  • 601
  • 8
  • 24
Loading
added 114 characters in body
Source Link
Nir
  • 601
  • 8
  • 24
Loading
Source Link
Nir
  • 601
  • 8
  • 24
Loading