Difference between revisions of "Remote System Explorer Setup for Eclipse"

From wiki.emacinc.com
Jump to: navigation, search
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{todo|Polish this and mark it as OE 4(11.13.13-18:10->MG+)|Michael Gloff|project=oe 4,ky,mg, Review}}
+
{{todo|SEOKWREV (11.15.13-15:56->KY+);(11.17.13-22:100>MD+);(03.04.14-16:50->BS-);(03.25.14-16:30->BS+)|Michael Gloff|project=oe 4,ky,mg,md,bs,SEOKWREV}}
  
The Remote Systems Explorer is a useful tool for implementing remote development on EMAC products. It does require some initial setup, however. This page will guide developers through the process of selecting the RSE perspective in Eclipse and using it to create a connection in the Remote Systems View.
+
{{#seo:
 +
|title=Remote System Explorer Setup for Eclipse
 +
|titlemode=append
 +
|keywords=Remote System Explorer Setup,Eclipse,RSE Perspective,Remote Connection
 +
|description=The Remote Systems Explorer is a useful tool for implementing remote development on EMAC products.
 +
}}
 +
The Remote Systems Explorer (RSE) is a useful tool for implementing remote development on EMAC products. However, it does require some initial setup. This page will guide developers through the process of selecting the RSE perspective in Eclipse and using it to create a connection in the Remote Systems View.
  
{{mbox | type = notice | text = This setup assumes that both [[Installing EMAC Eclipse|Eclipse]] and the [[Installing EMAC OE 4.0 SDK|EMAC OE SDK]] have been installed.}}
+
{{mbox | type = notice | text = This setup assumes that both [[Installing Eclipse|Eclipse]] and the [[Installing EMAC OE 4.0 SDK|EMAC OE SDK]] have been installed.}}
 
<br>
 
<br>
  
Line 43: Line 49:
 
<br clear=all>
 
<br clear=all>
  
* Click ''Finish.'' Once the remote connection is created, the Eclipse workbench should appear as shown in Figure 4 below.  
+
* Click ''Finish.'' Once the remote connection is created, the Eclipse workbench should appear as shown in Figure 5 below.  
  
 
[[File:EMAC_Eclipse_RSE_Intial_View.png|600px|left|thumb|Figure 5: Initial RSE Perspective With New Connection]]
 
[[File:EMAC_Eclipse_RSE_Intial_View.png|600px|left|thumb|Figure 5: Initial RSE Perspective With New Connection]]
Line 51: Line 57:
 
== Initiate an RSE Connection ==
 
== Initiate an RSE Connection ==
 
To use the new connection to the remote machine:
 
To use the new connection to the remote machine:
# Right-click on the new connection created above in the Remote Systems View.  
+
<cl>
 +
1. Right-click on the new connection created above in the Remote Systems View.  
  
# Select ''Connect''
+
* Select ''Connect''
# Set the User ID to the user you wish to use on the remote system. The default user for EMAC products is <code>root</code>.
+
* Set the User ID to the user you wish to use on the remote system. The default user for EMAC products is <code>root</code>.
# Set the Password for the user chosen in the previous step. The default password for the default EMAC user is <code>emac_inc</code>.
+
* Set the Password for the user chosen in the previous step. The default password for the default EMAC user is <code>emac_inc</code>.
 +
</cl>
  
 
Once connected, the Properties View and the Remote System Details View will be updated to reflect the remote system's details. This is shown below in Figure 6. Note that the Remote System Details View also shows information about local host connections.
 
Once connected, the Properties View and the Remote System Details View will be updated to reflect the remote system's details. This is shown below in Figure 6. Note that the Remote System Details View also shows information about local host connections.
Line 65: Line 73:
  
 
== Next Steps ==
 
== Next Steps ==
Learn more about RSE by following the [[Remote System Explorer SFTP Setup for EMAC Eclipse|RSE SFTP setup guide]].
+
Learn more about RSE by following the [[Remote System Explorer SFTP Setup for Eclipse|RSE SFTP setup guide]].
  
[[Category:EMAC Eclipse]]
+
<!--[[Category:Eclipse]]-->

Latest revision as of 16:32, 25 March 2014

TODO: {{#todo:SEOKWREV (11.15.13-15:56->KY+);(11.17.13-22:100>MD+);(03.04.14-16:50->BS-);(03.25.14-16:30->BS+)|Michael Gloff|oe 4,ky,mg,md,bs,SEOKWREV}}

The Remote Systems Explorer (RSE) is a useful tool for implementing remote development on EMAC products. However, it does require some initial setup. This page will guide developers through the process of selecting the RSE perspective in Eclipse and using it to create a connection in the Remote Systems View.


Open the RSE Perspective

The first step to any task involving remote application development, execution, or debugging is to open the RSE Perspective. Follow the steps below to begin this process.

Procedure

  1. Open the Eclipse application
  2. Select Window -> Open Perspective -> Other...
  3. Select Remote System Explorer as shown in Figure 1. The list of available perspectives may differ depending on which plugins are installed in Eclipse.
Figure 1: Open Perspective Dialog


Create a Remote Connection

This set of configuration steps assumes that Eclipse has the RSE Perspective active.

Procedure

  1. Right-click anywhere in the Remote Systems view

  2. Select New -> Connection... See figure 2.

    Figure 2: New Remote Connection


  3. Select General -> SSH Only and click Next > in the Select Remote System Type dialog.

    Figure 3: Select Remote System Type


  4. Using Figure 4 as a guide, enter the following information:

    • Enter the IP address or host name of the target board in the Host name: field

    • Optionally, enter a Connection name and Description

    • Leave all other options set to their defaults

    Figure 4: Remote SSH Only System Connection


  5. Click Finish. Once the remote connection is created, the Eclipse workbench should appear as shown in Figure 5 below.

    Figure 5: Initial RSE Perspective With New Connection



Initiate an RSE Connection

To use the new connection to the remote machine:

  1. Right-click on the new connection created above in the Remote Systems View.

  2. Select Connect

  3. Set the User ID to the user you wish to use on the remote system. The default user for EMAC products is root.

  4. Set the Password for the user chosen in the previous step. The default password for the default EMAC user is emac_inc.

Once connected, the Properties View and the Remote System Details View will be updated to reflect the remote system's details. This is shown below in Figure 6. Note that the Remote System Details View also shows information about local host connections.

Figure 6: RSE Perspective With Active Connection


Figure 6 has the Properties View highlighted in red and the Remote System Details View highlighted in blue. The Properties View provides information about, but no control over, the remote system whereas the Remote System Details View provides control in the form of the same connection context menu available in the Remote Systems View.

Next Steps

Learn more about RSE by following the RSE SFTP setup guide.