I am using Intellij IDea ultimate 15.
I want to compile/test/deploy on a remote host. So this is what I did: 1. File -> New -> Project -> Empty Project -> Specify project name/location
Then it complains:
Local Path '[my local path]' is out of project
The path is the project location that I set to, it exists, and I have the right permission. So don't know why it complains.
Thanks for your time!
On the IntelliJ IDEA welcome screen, select Remote Development. In the Run the IDE Remotely section, click SSH Connection. If you have the IDE already running on the remote server and you have a connection link, you can use the Connect to Remote Host With a Link section.
I have just now done hit this problem myself, and came up with a solution. The problem is that in an empty project, if you open the project tree, you will see that there are no directories in your project.
If you open a "static web page" project, for example, you will notice that the directory is now a part of your project.
try doing the same thing, but in a "static web" project and the error will not occur any more
Configure your Projectdeployments and save this. Pay attention to correct paths! Then open "Directories" in the "Settings". Mark the baseline of your project as "Resource root" (required) and the other folders (as example - adjust to the project) as Sources. Apply and the problem is solved.
Check if the folder you want to exclude is not excluded from the project under Settings->Directories
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