J. Schmidt
J. Schmidt

Reputation: 458

how to export intellij project

I simply want to export my java intellij project from one pc to another, no need for git because I only want to test something on the other pc because it has more memory. Surprisingly no information on this is available, there is information on how to export a project to a jar file, but I cannot import from this jar file. On their website : https://www.jetbrains.com/help/idea/2016.3/import-existing-sources-project-name-and-location.html they don't give any clear instructions on how to do this simple operation? how is this done?

Upvotes: 5

Views: 38683

Answers (3)

Jose Viñas
Jose Viñas

Reputation: 11

Take all directories of your project and copy them into the other computer. Launch IntelliJ and open the folder of your main directory project, that is all it needs to work (*.iml files do all stuff for you). If you don't know what directory is the main, you can close the project in your other IDE and see what paths it is catching. For example in my case:

IntellIj Welcome View

Upvotes: 1

arin
arin

Reputation: 1834

With the latest version of IntelliJ IDEA, all you need to do is unzip the project in the new computer and then select Open in the IntelliJ IDEA new project wizard. Do not use the option to import the project from the zip file, as that doesn't work.

Upvotes: 1

Pratik Ambani
Pratik Ambani

Reputation: 2570

Till version 2016.3.4 IntelliJ doesn't provide such facility.

Best way to do so would be to copy the whole directory containing your project or module. Doing this would retain all your project related settings.

Upvotes: 5

Related Questions