development
SVN Merge Branch into Trunk using Eclipse
I needed to merge the branch changes into trunk of the project, after many changes at both the branch and trunk… First we have to commit all changes, in case of some failure at the merge operation we may revert all changes. Select Team > Merge from menu, select the path of the branch and [...]
Code Analysis – Finding Duplicate Code
I tried Maven plugins for code analysis and finding duplicate/similar code. CPD-PMD’s Copy/Paste Detector can be used for finding duplicate code, which is included in PMD, a Java code analysis tool. run mvn pmd:cpd , The report is displayed at cpd.html file, and the results are very efficient. Simian – Similarity Analyser is also an [...]
Code Analysis using PMD and Checkstyle
We started code review using Crucible, so i searched for some code analysis maven plugins. PMD is a Java code analysis tool and used to find potential problems like unused code, duplicate code, unused variables… PMD is useful and easy: pom.xml:
Format and Color Code Snippets For Blog
I need formatting java code snippets at my blogs so i use an eclipse plugin, simply you can copy html code to editor. java2html Eclipse Plugin I think the most practical way to format html and xml code snippets is using: http://www.manoli.net/csharpformat Thanks to Truong Hong Thi for sharing Edit: I also found a brilliant [...]
maven 2.0.7 filtering
I upgraded maven 2.0.4 to 2.0.7 and the i couldn’t compile the existing projects because of filtering problem – filtering files couldn’t be read, the source of problem was maven-assembly-plugin. I think such kind of incongruities generally may occur. The simplest solution of such problems is simply renaming the maven folder ….m2repositoryorgapache and installing the [...]

