Verifying a remote source as a Java project using Eclipse using RSE

I believe that right now I have carefully looked through the website on this subject, so here. I have some source files (Java) that live on a remote machine (Amazon EC2). I can use SSH in the machine, and I can use the Eclipse RSE plugin to remotely view and edit files. Nice!

Now I want to create a project that will be bound to this remote location. I can do this by selecting a directory in the RSE perspective and selecting (Create Remote Project). This imports the project into Eclipse, and I can view and edit files from there. Nice!

The problem is that this project is imported as a โ€œgeneralโ€ project, while I would like it to be a Java project. There seems to be no easy way to convert a remote project in Java to Eclipse. Is there any way to do this? Please note that I am trying to use tools installed on a remote computer (compilers, etc.).

+6
source share
2 answers

I am not familiar with RSE, but you can manually add java nature / facet to the project metadata. For example: the default eclipse project project for a java project .

0
source

You can simply export an empty java project to your remote file system. Then use this new project as the โ€œNew Remote Projectโ€. All other methods that generate a Java..project file in a remote folder will also work.

0
source

Source: https://habr.com/ru/post/915047/


All Articles