6

I believe I've scanned the web pretty thoroughly and exhaustively on this issue by now, so here goes. I have some source files (Java) that live on a remote machine (Amazon EC2 hosted). I can SSH into the machine, and I can use Eclipse's RSE plugin to view and edit files remotely. Nice!

Now, I want to create a project that would be tied to that remote location. I can do that by selecting a directory in RSE perspective, and selecting (Create Remote Project). That 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 doesn't seem to be a neat way to convert the remote project into Java in Eclipse. Is there a way to do that? Note that I'm trying to use tools installed on the remote machine (compilers and such).

Phonon
  • 12,549
  • 13
  • 64
  • 114

2 Answers2

0

I am not familiar with RSE, but you may be able to manually add the java nature / facet to the project metadata. One example is here: eclipse default project to java project.

Community
  • 1
  • 1
Scott Heaberlin
  • 3,364
  • 1
  • 23
  • 22
0

You can simply export a empty java project into your remote file system. Then use this new project as 'New Remote project'. All other methods that generates a Java. .project file in the remote folder will work well, too.

Lu_kors
  • 80
  • 6