Easy way to Import Project to Eclipse workspace


There was this situation where I had to import my non-eclipse project to eclipse environment. I tried to import with the regular eclipse way Import → General → File System. But It required the empty project existing into the eclipse environment. So, I always had problems with it.

Then, I accidently found a newer way to import project to eclipse environment, it is also easy and doesn’t take time.

Follow the instructions below

My workspace is e:\htdocs
Switch workspace

1. First copy the project to the eclipse workspace.
For e.g. I have copied my “news” zend proejct to the root of my workspace.
Non-eclipse Project

2. Then create the eclipse new project with the same name as the project. i.e. if the root project folder is dummy_project then create eclipse new project with name dummy_project.
Create new eclipse project

Ignore the message shown during creation of new project about the existing project.

3. Finally click “Finish” to import the project. It takes some processing and then the project is imported into the eclipse workspace.
Create new eclipse project
I felt this way quite easy to import eclipse project then the usual import provided in eclipse.

Hope you find it useful. If you have any comments please drop them in the comment below 🙂

[Review] Eclipse (Helios) Vertical Selection Feature


I have been using Eclipse as an IDE for JAVA and PHP for almost every project that I have done so far. And yet always there is room for exploration in Eclipse IDE. And today I am going to review a latest feature that has been added to the Eclipse, The feature is known as vertical selection

This feature is the mere replication of the Textmate (IDE in Mac). It is very nice and handy at situations when we need the multiple copies of the same lines, rather than copying and pasting the same line over all the lines, we can simply highlight multiple lines at once with vertical selection and write on all of them at once.

Q. Well, How do we do this Vertical Selection ?
Quick Code :

  • Alt + Shift + A to toggle the mode for vertical selection.  After this shortcut is executed the cursor changes to the plus sign
  • Select area vertically, position the cursor at the top, begin writing
  • Use Shortcut (Alt+Shift+A) again to toggle the mode.


Use shortcut Alt+shift+A to toggle the mode.

Now just drag the cross pointer downward making a vertical selection, remember while you are doing this the cursor must be positioned at the top so there is enough room for all lines.
After vertical selection has been done it might be similar to the screenshot below.
Eclipse Vertical Selection Feature Demonstration

Now just type in single line, and you will see that the other lines are filled up automatically as you are typing. See the Screenshot below). That’s the feature we were talking about.
Eclipse Vertical Selection Demonstration

For Anyone doing with the HTML Templating and Design might find this feature very as it saves us writing same lines, copy and pasting and thus saves our precious time.

Minor Project SMS Banking in Java


SMS Banking Projects and Locus

We (Asee and Me )have kept stall in LOCUS (http://locus.ioe.edu.np) Room no. 304 and getting nice feedback from the visitors. Our presentation went good and judges seemed to be happy. Volunteers were really very helpful and co-ordination was impressive. Today I knew why IOE students are good, because they have the environment which gives them opportunities to learn and explore themselves.

Since most of the friends have asked for the source-code of the program we thought of releasing the source and making it available for everyone so others can study our code. We agree our code is not so much efficient and hasn’t been well documented but the places were document is most has been documented. If you are thinking on implementing this code for commercial purpose, then we’ll not be responsible for any kind of damage caused by the use of these codes. There is no any kind of licensing. As long as you are happy to use these codes, you are all yourself.

Project on SMS banking requires some knowledge of AT Commands for controlling the GSM/GPRS Modem

Our project requirements are categoriesed into hardware and software.


1. Java Programming Langauge (Download Link)

2. Java Communication API (Please google and find it, start with javaxcomm.zip)

3. Eclipse IDE (Optional)

4. MySql Server (Download Link)

5. Mysql Connector for Java(Download Link)

Softwares listed above are available freely available but we’ll also need a hardware i.e. GSM/GPRS Modem, which costs around Rs. 10,000/- here in Nepal alternative would be to use cell phones that can be controlled through AT Commands.


1. GSM/GPRS Modem

GPRS Modem

2. Connectivity Cable for GSM Modem

We have tested our system in windows and haven’t tested it under linux environment, so you’ll have to manage yourself to get it working under linux environment, let me know if you have any difficulty in setting up, and I will try to assist you as much as I can.

Initial Setup

At first you have to install Java Development Kit ( JDK 7.0 ) then You’ll have to configure Java Communication API, this is the most annoying part of the project, and people find this quite confusing. (See How to configure Java Communication API-not available will write it down soon).

After configuring Java Communication API, you’ll have to install MySql Server in your system, this will be the backend database server for our project.

To connect MySql Server throguh java we’ll need MySql connector/J for Mysql developed by MySql Developers for Java.

(PS How to configure MySqlConnector/J for Java-not available will write it down soon).

Eclipse IDE

We have used Eclipse IDE as our primary IDE for development of this software, as eclipse is quite easy for project management and development tasks and it has got some quite nice features.

bove all are available freely but we’ll also need a hardware i.e. GSM/GPRS Modem, which costs around Rs. 10,000/- here in Nepal. We can also use mobile phones which can be controlled via AT Commands.

Here is the full sourcode for the project Download Full Sourcode Here

Here is the Github repository link

[How To] Get/Install PyDev in Eclipse editor.


1. Start Eclipse Editor

2. Click in Help > Install New Software

3.Then Click in Add and use the entries as shown below

Name : PyDev Eclipse

Location : http://pydev.org/updates/

Add PyDev Eclipse Repository
Add PyDev Eclipse Repository

Click on Ok.

Then wait for few seconds, the list will be updated and you’ll be presented with two options

PyDev and PyDev Mylyn Integration(optional).

Select the upper one. Then click Next > Finish.

PyDev Eclipse Plugin Select
PyDev Eclipse Plugin Select

When asked to trust the certificate from Aptatna Tick the box next to it, then Eclipse will download the plugin.

Q. How to confirm plugin installation has succeed ?

A. Click File > New > Other

PyDev is also listed, that confirms the installation of PyDev has succced.

PyDev Installation Confirmation
PyDev Installation Confirmation

Have a nice day.


Reference: http://marketplace.eclipse.org/content/pydev-python-ide-eclipse