Total Pageviews

Sunday 31 March 2013

Integrate Maven into Eclipse via m2eclipse


Maven is a useful cross-language tool that enables the user to import dependencies into a project and will automatically resolve transitive dependencies. Maven can be used as a command-line tool; however, to unlock its true potential, you should integrate it into Eclipse.

1.In the Eclipse IDE, navigate through the Help menu to Install New Software.
2.Navigate to the m2eclipse plugin page on the Eclipse website located athttp://eclipse.org/m2e/download/ in order to obtain the latest release information. Copy the latest release information to the clipboard (Ctrl+C).
3.In the Eclipse IDE, click the Add button in order to add the new software repository location for m2eclipse.

4.Choose an appropriate name (e.g., “m2eclipse Plugin”), and enter it into the Name field. Paste the copied repository location into the Location field. Click OK.

5.In the resulting drop-down list, select all available entries in order to install the complete plugin. Click Next.

6.For each item chosen in the drop-down list, you may review the details of the software to be installed. Do this, if you choose, and then click Next.

7.Read and accept the licensing terms, and click Finish.

8.You will be prompted with an Installing Software progress bar. It is necessary to wait for this installation operation to complete in order to use the m2eclipse plugin. If you would like to do other work while waiting for the installation to complete, you may click the Run in Background button.

9.After the software installation is complete, it is necessary to restart Eclipse by clicking Yes when prompted.

10.To check that the m2eclipse plugin is installed, create a new Maven Project.

Now that you have the m2eclipse plugin added to Eclipse, you are well on your way to being more productive by using Maven to resolve dependencies in your Eclipse projects.
Via[Tech-Recipes]

How to Install Spring Plugin in Eclipse


The Spring Framework contains many useful tools and plugins for a developer using Java. It is popularly used in conjunction with the Eclipse IDE for rapid, effective Java development. In order to use Spring with Eclipse, one must either download a specialized version of Eclipse which comes pre-integrated with Spring or install the Spring software in an existing version of Eclipse. This tech-recipe will guide you through the latter.
1.In the Eclipse IDE, navigate through the Help menu in order to Install New Software.

2.In the Eclipse IDE, click the Add button in order to add the new software repository location for Spring.

3.Choose an appropriate name (e.g., Spring Plugin), and enter it into the Name field. Paste the following repository location into the Location field: http://dist.springsource.com/snapshot/TOOLS/composite/e3.7. Click OK. Please note that this repository location is for Eclipse version 3.7, but guides exist for other versions as well.

4.In the resulting plugin list, choose all required list elements and optional items that you may wish to install. Click Next.

5.For each item chosen in the drop-down list, you may review the details of the software to be installed. Do this if you choose, and then click Next.

6.Read and accept the licensing terms. Click Finish.

7.You will be prompted with an Installing Software progress bar. It is necessary to wait for this installation operation to complete in order to use the Spring plugin. If you would like to do other work while waiting for the installation, you may click the Run in Background button.

8.After the software installation is complete, it is necessary to restart Eclipse. When prompted, choose Yes.

9.You should now be able to view the Spring perspective in Eclipse and start developing Spring applications.

Via[Tech-Recipes]

Tuesday 12 March 2013

Run Commands in the Windows Explorer Address Bar


Stupid Geek Tricks: Run Commands in the Windows Explorer Address Bar

Here’s a fun little tip for you: did you know that you can run commands from the address bar in Windows Explorer? It’s true — any app that you could run on the command line can be run from the address bar, including opening a new command prompt.
For instance, if you were to type cmd into the address bar, you would end up opening a command prompt with the current path already set to whatever the current folder is. Useful.
You can also run other commands, like opening a file in the current folder with Notepad. Imagine that you have a file on your desktop called test.txt and you want to open it. From the Desktop folder in Explorer, type notepad test.txt into the address bar, and hit the enter key.
Just like that, Notepad will open the file. Easy!
You could also use other commands directly from the address bar — for instance, if you wanted to see a directory listing of the current directory in the command prompt, you could use cmd /k dir in the address bar. Obviously that would be silly, but you can do it.

Via[HowToGeek]

How to Encrypt and Password Protect Your USB Drives Without Extra Software



image

BitLocker is a lesser-known technology included in Windows that allows you to both password protect and encrypt the contents of your storage mediums.
Note: BitLocker requires Windows 8 Pro.

Turning On BitLocker for a Removable Drive

Open explorer and right click on your removable drive to open the context menu, then click on Turn on BitLocker.
When the wizard starts up you will need to check the “Use a password to unlock the drive” checkbox.
Then go ahead and type in a password and click next.
Now you will need to choose where you want to save the recovery key incase you forget the password for your drive. Usually you would only be able to either print it or save it to a file, however starting with Windows 8 you can also back it up to your Microsoft account, which I chose to do.
You then have to choose whether your drive is already in use or if it is new. Then click next.
Finally, you can click the Start encrypting button.

Unlocking the Drive

When you plug in the encrypted drive you will get a notification saying that it is BitLocker-protected.  Click on it.
You will then be asked for the password. Once you have typed it in, click on the Unlock button.
That’s all there is to it.
Via[HowToGeek]

Related Posts Plugin for WordPress, Blogger...