131 | | In case you would like to connect to a remotely located !RefactorErl node instead, fill in the node address of this node in the **Server address** field. |
132 | | |
133 | | Click **OK**. Click **Yes** on the dialog inquiring wheter you want to reconnect to !RefactorErl. If the connection was successful, a `Connected to RefactorErl` message will appear in the left side of the status bar at the bottom of the Eclipse window. |
| 134 | In case you would like to connect to a remotely located !RefactorErl node instead, fill in the node address of this node in the **Server address** field. |
| 135 | |
| 136 | The arbitrary directory specified in the **Logs directory** field will contain the error logs. The arbitrary directory specified in **Data directory** field will contain the files (eg. graph drawings) you create with the plugin. (There is also a **!Refactorerl data directory** which will contain the files created by the !RefactorErl process. You can leave this field blank.) |
| 137 | |
| 138 | Click **OK**. Click **Yes** on the dialog inquiring whether you want to reconnect to !RefactorErl. If the connection was successful, a `Connected to RefactorErl` message will appear in the left side of the status bar at the bottom of the Eclipse window. |
| 296 | |
| 297 | [=#troubleshooting] |
| 298 | = Troubleshooting |
| 299 | This section describes some of the most frequently experienced problems relating to the installation and starting of the plugin. If the proposed solutions aren't working or you have a problem not in this list, feel free to [https://plc.inf.elte.hu/erlang/refactorerl-contact.html contact us.] |
| 300 | * **The installation won't finish and shows an error message** - Make sure you have the correct Eclipse version listed in the [#instdep dependencies section]. |
| 301 | * **There is no !RefactorErl menu after the installation** - You need to open the !RefactorErl perspective or the Erlide perspective to access the !RefactorErl menu. |
| 302 | * **There is no !RefactorErl perspective nor is there a !RefactorErl entry in the Preferences window.** - You either did not have installed the plugin, or you have installed it, but the Eclipse platform could not run the plugin. This is commonly caused by unsuitable Java versions. Check if the version of your JRE/JDK environment on your system matches the one listed in the [#instdep dependencies section]. |
| 303 | * **The plugin runs, but I'm unable to connect to the !RefactorErl tool** - This can happen for various reasons, you can try taking the following steps: |
| 304 | 1. Make sure the tool is installed properly and can be run from the command line. (Take care, because Mnesia can only be start with one name per data directory, and this also stands for the default values!) |
| 305 | 1. Try ticking the **Debug mode** button in the **Preferences** window. When you attempt to connect, a console view will appear, where you can check the output of the process. If there is no output, you're likely not supplied the correct path to the !RefactorErl process. |
| 306 | 1. If the process starts, but the connection doesn't, you can try checking the logs. These files are containing the Erlang-formatted communication between the plugin and the !RefactorErl process. |