Learnathon2019
Learnathon2019
IntelliJ nice way to duplicate an existing project
Have your base project open
From the project use Right Click → Refactor → Copy...
Give it a new name and select the Parent Directory
IntelliJ creates it but does not open it automatically
Go to nav{File > Open...}
Select the folder with your new project, here new-project
Changes to reflect the new project properties
In the POM
To reflect the new project. Important fields are
- artifactId,
- name
- description
- main-class (in the properties tag)
In the File → Project Structure...
You can change the following things
Project Name
Module Name under Modules
The actual Java Class
Navigate to one of the Java Classes in your new project and hit
Right-click → Refactor → Rename...
And rename it to reflect your new project.
Nice things to have
If you want to have things getting copied to your Fiji installation when you hit install
<scijava.app.directory>C:/My_Fiji/</scijava.app.directory> <scijava.app.subdirectory>plugins/My_Dir</scijava.app.subdirectory>
This should be between the <properties> tabs
Tags
None
Subscribers
None
- Last Author
- oburri
- Last Edited
- Jun 25 2019, 09:19