I want to create a Java-project in a subfolder of the workspace-directory. The wizard either lets me create a project in the workspace-directory, or import an existing one. Is there any way to achieve this?
Step 1) Create project X as usual (it will end-up in the root of your workspace)
Step 2) Use a command-line shell of your OS to move the project X directory hierarchy under the desired target directory e.g. mv ~/workspace/abc ~/workspace/target/some_directory/
Step 3) Delete the original project X (do not select 'delete files')
Step 4) Import project X using `File -> Import -> Existing project into workspace'
Project X will appear in the package explorer view as it normally would.
Hope this helps :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With