FTP and SSH servers can use different port other than the default and most of these servers are configured using default ports, but often times FTP/SSH servers may be on different port, so how do you configure Eclipse RSE to access these servers? That’s what this little article is about.
- Make sure you know the FTP/Port port first, create an account on the server
- Start up Eclipse with RSE
- Go to Window -> Open Perspective -> Remote System Explorer to bring up Remote Systems Panel
- Expand SSH/FTP node(s) if you created them already, otherwise, please refer to XXXXXX to create an FTP or SSH connection, your Remote Systems panel will look like this:
- For FTP right click Files node under your FTP root node and choose properties from context menu, for SSH you can click on Sftp Files, Ssh Shells or Ssh Terminals node. You will now be presented the following dialog:
- Select Subsystem node on the left panel of the properties dialog, note the port field on the right side of the dialog, change the value to whatever port you have in hand (see above image for details)
- Click OK to accept the changes you just made, and right click FTP/SSH node and choose connect, now you should be able to connect to your FTP/SSH server
Hope you enjoy it
I wrote an article on how to install Eclipse RSE (Remote System Explorer), and how to access Eclipse DStore agent using Eclipse RSE. Since then I also explored how to access SSH servers as most of our environments are only SSH enabled. It would be convenient if I can access the remote system using SSH within Eclipse while I am working on projects. I shall be able to run any commands that are supported by my system through Eclipse RSE, and I should also be able to execute programs that I am working on from within Eclipse through Eclipse RSE. According to what I tried so for, that’s what Eclipse RSE is going to do for you. With these features (such as browsing files, shell and terminal, and even FTP) you don’t have to open any extra windows/terminals on your desktop. One concern of Eclipse is memory usage which may be very big, so for I haven’t yet. Ok, let’s start the session.
- First make sure you install Eclipse Ganymede for J2EE. Follow this link to install Eclipse RSE
- Make sure you have an SSH account. If you don’t have it, you need to consult your system administrator. Or you can install a local SSH server, you can get a copy of SSH server from SSH for Win32. Use Putty to confirm that you can access your SSH server if you haven’t done so.
- Start Eclipse
- Let’s first bring up the RSE Explorer, go to Eclipse Window -> Open Perspective -> Remote System Explorer, if you don’t see it, then do Eclipse Window -> Open Perspective -> Other. From Open Perspective dialog select Remote System Explorer and click OK
- Now you should see a default “Local” Connector Service in Eclipse RSE explorer, from here you can navigate through your local systems such as home, and different drives Continue reading
- It also complains when using alert function. I guess it will complain when you use other built-in functions
- It doesn’t quite support code completion as claimed
- I didn’t even try to try the debugging features because of above issues
Eclipse skins/themes provide custom look and feels to your Eclipse platform and make your monotonous working environment spicy. My old versions of Eclipse (3.1.2 and 3.3.2, not so old, right?) do have 2-3 working skins that I like, note that VS Improved Presentation doesn’t work on 3.3.2 as expected, also see notes from VS Improved Presentation. After upgraded to Eclipse 3.4 – Ganymede – skin VS Improved Presentation still behaves very weird, even with the latest version of it, I am assuming the author still doesn’t have time to fix it.
Here are other skins that I am using:
Installing them is very simple. If you know how to manually install Eclipse plugin, then you are all set, just unzip the plugin into eclipse’s plugins directory or copy the jar file that directory.
After installing it, you need to restart eclipse. Then go to “Window->Preferences->General->Appearance” and change “Current presentation” to a Presentation that you like, now you need to restart eclipse again.
After it’s up and you can go to preference and select a theme to best suit your taste. You are warned there are not many themes available though, ha, better than nothing.
You are all done, enjoy it!
I just noticed that Eclipse 3.4 Ganymede J2EE package includes RSE – Remote System Explorer – a framework and toolkit that allows you to connect and work with a variety of remote systems, including
- remote file systems through SSH, FTP or dstore agents (seamless editing of remote files including remote search and compare),
- remote shell access (compiling with error navigation),
- remote process handling through dstore agents,
- and remote debugging through CDT/gdb/gdbserver.
I am not sure if it’s included in any 3.3.x releases but I know we should be able to install it just like any other eclipse plugins. Out of the box, you can use RSE to browse through your local system. And you can also easily set up an FTP connection to an FTP server, and then you are ready to use it just with any other FTP clients such as Filezilla client, CuteFTP and FTPExplorer.
Ok, let’s get started on installing DStore Server for remote system explorer. Continue reading
Eclipse is very popular IDE for java community and it also supports other languages such as PHP, C and C++. I use Eclipse for my development for many years, and I just love it so much. I will always ponder if Eclipse could do the same for me anytime I need to work on different projects. Even recently on a project which must use Oracle ADF framework, but it turns out this time I have to use JDeveloper to develop the project. Well, what I really expect from JDeveloper is what I can get from Eclipse. So here is the list of shortcuts that I always want to have no matter if I am using Eclipse, Netbeans and JDeveloper.
Here are the top 20 Eclipse shortcuts that I used most of the time during java development, and some of them can even be used for other languanges such as PHP
- Ctrl + Shift + F : format code. If nothing is selected then whole document will be formatted. Otherwise, only the selection of your code will be formatted. It’s not quite smart when talking about formatting the selected code
- CTRL + L : Go to line. Wow, man, you need to remember this one, especially when trouble shooting
- Alt + left and Alt + Right: Navigation
Ctrl + Left and Ctrl + Right can be used to navigate through where you visit. For example, you navigate to the definition or declaration of a method, and even go deeper to other functions using F3. Now you want to go back one level, you can do so using Ctrl+left. If let’s say you come back a few levels and now you want to go back further again, you can do that using Ctrl+Right combination. It’s very quick way to navigating through your code
- Ctrl + Shift + R : Open Resource, very helpful on finding the class/interface
- Ctrl + Shift + O : Organize imports
- Ctrl + T : Open Type Hierarchy
- Ctrl + Shift + F4 : Close all Opened documents
- Ctrl + O : Open declarations
- Ctrl + E : Open Editor, let you quickly switch among the opened documents
- Ctrl + / : Line Comment. It also allows to comment your selection using ‘/’
- Ctrl + Shift + / : Comment your selection using /* and */ instead of ‘/’
- Alt + Shift + R : Rename
- Alt + Shift + L : extract to Local Variable
- Alt + Shift + M : extract to Method
- F3 : Open Declaration
- Ctrl + S : Save your document
- F5 : Reload your project. It’s useful after you modify or sync your code
- Tab or Shift Tab : Indent your line or selection
- Ctrl + Space : Code assistence
- Ctrl + Shift + L : list all the shortcuts
The list keeps going on. It will significantly increases your productivity 🙂
JDeveloper is a decent and convenient IDE tools which can be used to develop standalone java , J2EE, UML modeling and web services development. With its supports of visual and declarative development with Oracle ADF (Application Development Framework) and JavaServer Faces, the development of web applications is getting easier and quicker.
Personally I have visited JDeveloper a few times, I had many puzzles the first time I was trying to use it, to see the details please visit: