JavaRush /Java Blog /Random EN /how to create a duplicate/copy of an IntelliJ IDEA projec...
volko
Level 32
Донецк

how to create a duplicate/copy of an IntelliJ IDEA project?

Published in the Random EN group
Hi all. Need advice on how to make an independent, most accurate copy of an IntelliJ IDEA project? This is the task. There is a project JavaRushHomeWork, with many solved problems. I would like to print out some of them (i.e., my solutions to these problems). Moreover, print using IntelliJ IDEA itself, because it prints the code the same way (coloring and formatting are preserved) as it appears when edited. But in order to print the files I need (in a book with continuous page numbers), I must first delete the files I don’t need. Naturally, I don’t want to do this in this project. This means that you need to create a duplicate of the project. This is something I just can’t do. I tried to create a new empty project (both with and without the src folder) and import the existing project into it. It's nonsense. I also tried to import the MODULE, but this is even worse - it is displayed in a new (empty before import) project, but no copies of java files appear on the hard drive in the folder of this project - which means this is only a link to the original project. I tried using O.S. copy files and directories - tasks are not compiled, package headers are underlined with a wavy red line. Those. Somewhere there are paths to the original project. Should I manually change the xml settings files? How to make an independent copy of an IntelliJ IDEA project with a different name in it? In this case, it is very desirable that workspace.xml be automatically changed, but not by deleting lines, but by replacing paths/names.
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION