Monday, February 22, 2010

Wednesday, February 17, 2010

SONAR-NEMO

http://sonar.codehaus.org/
http://nemo.sonarsource.org/

Good for knowing about some FOSS projects from a different angle

Monday, February 15, 2010

GRAILS on Eclipse

Today I setup a grails project on eclipse successfully.


1. The following requires that Eclipse with the Groovy plugin is installed. Please see Groovy Eclipse Plugin for more information.

1. After running "grails create-app" you may notice the .project and .classpath file. These Eclipse related files are created automatically and allow you to import the project into Eclipse. Import your project via File -> Import -> General -> "Existing Project into Workspace".


3. The environment variable "GRAILS_HOME" may not be set in Eclipse. Select your project, right-mouse click on it and select properties. Select the Java Build Path and here the tab "Libraries. Press "Add Variable" and then "Configure Variables". Press New and add GRAILS_HOME.(GRAILS_HOME as in installation of grails)





Thursday, February 11, 2010

Tortoisegit

Learnt using git as repository from

Tested all functionalites (pull, diff etc.) using Tortoisegit
Practised git operations on git-bash shell

Monday, February 8, 2010

Sentiment Analysis

Was looking for "Open-source" "Java" "Library" for sentiment analysis/mining.
Found out instead that it's more of an NLP and text mining task.
So looking at the following tools now

Thursday, February 4, 2010

JAD eclipse

Installed JAD JAA decompiler as an eclipse plugin today.
Installation instructions:(from http://www.devx.com/Java/Article/22657)

on't you hate it when you are debugging your code within Eclipse, and while stepping into a method call, a Class File Editor pops up exclaiming "Source Not Found"? Wouldn't you rather see the Java source the next time that happens? By integrating a Java decompiler into your IDE, you can enable this functionality. Follow this complete step-by-step guide to integrate the Jad decompiler into Eclipse. Along the way, you'll find out what makes Java decompilers such handy additions to the developer's toolkit.

Installation
First, you need to download the necessary tools. Before anything else, make sure you have an installation of Eclipse. This article uses Eclipse 3.0.1. Note that in order to use Eclipse 3, you must use a J2SE of 1.4 or higher. This article uses J2SE 5.0 (formerly Tiger).

Figure 1. Eclipse JadClipse Settings

Now download the latest version of the Jad Java decompiler. This article uses version 1.5.8 for Windows. Unzip the zip file to your computer:

  1. Add your JAD_HOME directory to your PATH environment variable. For example, I unzipped my Jad download to C:\jadnt158 and added it to PATH.
  2. To test whether you have configured correctly, open a new DOS shell. Type 'jad' at the prompt. You should see information about Jad and options for usage.

Next, download the latest version (beta 2.06) of the JadClipse plugin for Eclipse. Unzip the zip file to your computer. Copy the jadclipse folder (not jadclipse_b206) to your Eclipse\plugins folder.

Finally, download the Spring Framework (Spring 1.1.2 was the latest version at the time of this article) and unzip the download to your computer.

Figure 2. Eclipse Workbench File Associations Settings

Configure JadClipse
Now configure the JadClipse plugin within Eclipse:

  1. Open Eclipse. At the top menu, click Window->Preferences->Java->JadClipse.
  2. Set Path to decompiler = %jadnt158_directory%\jad.exe. Additionally, you can also set the output directory for decompiled files as well (seeFigure 1). Click Apply.
  3. Now expand the Workbench node, and choose File Associations. In the top box named File Types, select *.class. In the bottom box namedAssociated Editors, select JadClipse Class File Viewer, and click Default (see Figure 2).