<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:media="http://search.yahoo.com/mrss"
	>

<channel>
	<title>Lijin's Localhost</title>
	<atom:link href="http://lijinjoseji.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lijinjoseji.wordpress.com</link>
	<description>The future belongs to those who believe in the beauty of their dreams.</description>
	<pubDate>Wed, 30 Apr 2008 07:44:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Configuring &#34;Cruise Control&#34; with &#34;Maven2&#34; and &#34;Subversion 1.4.6&#34; for continuous build environment</title>
		<link>http://lijinjoseji.wordpress.com/2008/04/29/configuring-cruise-control-with-maven2-and-svn-146-for-continuous-build-environment/</link>
		<comments>http://lijinjoseji.wordpress.com/2008/04/29/configuring-cruise-control-with-maven2-and-svn-146-for-continuous-build-environment/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 14:38:15 +0000</pubDate>
		<dc:creator>Lijin</dc:creator>
		
		<category><![CDATA[Cruise Control]]></category>

		<category><![CDATA[Maven]]></category>

		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://lijinjoseji.wordpress.com/2008/04/29/configuring-cruise-control-with-maven2-and-svn-146-for-continuous-build-environment/</guid>
		<description><![CDATA[Continous Integration build system is very useful in a software development company where members of a team integrate their work frequently. It reduces the wastage of time and at the same time it helps us to maintain all the builds up to date. Previous week we also configured a continous build flow in our R&#38;D [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Continous Integration build system is very useful in a software development company where members of a team integrate their work frequently. It reduces the wastage of time and at the same time it helps us to maintain all the builds up to date. Previous week we also configured a continous build flow in our R&amp;D division using Cruise Control, Maven and Subversion.&nbsp; For this what we did is, we&nbsp; created our project module builds in MAVEN2 (Using the latest technology which gives us more options and easiness to handle projects). Created <a href="http://lijinjoseji.wordpress.com/2008/03/24/installing-subversion-just-follow-this-7-steps/" target="_blank">a new SVN environment</a> and Configured the SVN with Cruise Control.</p>
<p>Here In this post I am describing about the Configuration of Cruise control with Maven and Subversion.</p>
<blockquote><p><strong>Versions Used:</strong></p>
<p>Subversion <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1.4.6</strong></p>
<p>Maven&nbsp; <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2.0</strong></p>
<p>Cruise Control <strong>&nbsp; : 2.7.2</strong></p>
</blockquote>
<p><strong>What is Cruise Control?</strong></p>
<p>CruiseControl is a popular open source tool for implementing <a href="http://lijinjoseji.wordpress.com/2008/02/07/what-is-continous-integration-and-continous-integration-servers/" target="_blank">Continuous Integration (CI)</a> of Java applications. The idea behind CI is; Build, regression test, and deploy your software application to a test environment every time a code change is committed to version control. If the code change causes the build to break, the regression test to fail, or a problem with the deployment, identify and correct the problem promptly. CruiseControl is ideally suited for CI. It is a reliable tool that provides real value to Java development teams of any size.</p>
<p><strong>What is <a href="http://lijinjoseji.wordpress.com/2008/02/07/what-is-continous-integration-and-continous-integration-servers/" target="_blank">Continuous Integration</a>?</strong></p>
<p><strong></strong></p>
<p>Continuous Integration is a software development practice where members of a team integrate their work frequently; usually each person integrates at least daily - leading to multiple integrations per day. Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible. Many teams find that this approach leads to significantly reduced integration problems and allows a team to develop cohesive software more rapidly.</p>
<p><strong>What is the goal which we want to acheive from this process?</strong></p>
<p>Using maven we are maintaining a Center repository for the JARs and trying to avoid the famous Java programers error word.. &#8220;Its working in my machine but I dont know why its not in yours&#8221;. Maven will give an Object oriented way to our build system and will give a lot of plugins to make it more advanced and useful.</p>
<p>The cruise control will build automatically when we update any new code to the SVN and will send emails to the respective persons about the build&#8217;s&nbsp; success or failures. It will give the name of the programmer who is checked in the code to SVN and also the files where the code is failing.</p>
<p><strong>1. Installing and running Cruise Control</strong></p>
<p><strong>Step 1:</strong></p>
<p>Download the latest version of Cruise Control from the following link. <a href="http://cruisecontrol.sourceforge.net/download.html">http://cruisecontrol.sourceforge.net/download.html</a></p>
<p><strong>Step 2:</strong></p>
<p>Extract the files in to a specific location where you want to install the CruiseControl. For Example: <strong>C:\CruiseControl2.7.9</strong></p>
<p><strong>Step 3:</strong></p>
<p>In the Cruise control installation directory we have a batch file called <strong>cruisecontrol.bat</strong>. Double click on this will start the cruise control in port <strong>8080</strong>. Internally a jetty Server is running… We can change the port by editing the batch file.</p>
<p><strong>2. Configuring Cruise Control for Maven2 and Subversion1.4.6.</strong></p>
<p><strong>Prerequisites: </strong></p>
<ol>
<li>Apache Maven2 should be installed in the server where we are installing and configuring CruiseControl
<li>Subversion should be installed and running on the server. </li>
</ol>
<p>Follow the two Steps below to configure a new project in Cruise control.</p>
<ol>
<li>Configuring in <strong>config.xml</strong> file. </li>
</ol>
<p>This is the main part of configuring a project in the cruise control. Here we are giving the necessaey informations about the project, the Scheduling the time, configuring the bootstrappers, giving the location of the local copy, Giving the SVN location, specifing the MAVEN or ANT commands which we have to run in scheduled time etc. Please find the comments written in each part for more information.</p>
<p>Here in this I had configured all the common parameters at the TOP of the config.xml for reusability.</p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! &#8212; Project Configurations &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;log.dir&#8221; value=&#8221;./logs/${project.name}&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;projects.dir&#8221; value=&#8221;./projects&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;projects.checkout.dir&#8221; value=&#8221;${projects.dir}&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;project.log.dir&#8221; value=&#8221;${projects.dir}/logs/${project.name}&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! &#8212; Repository configurations for that project &#8212; &gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;svn.repository&#8221; value=&#8221;<strong>&lt; Repository URL&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;svn.portal.project&#8221; value=&#8221;${svn.repository}/<strong>&lt;Project name Here&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;svn.user&#8221; value=&#8221;<strong>&lt;username here&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;svn.password&#8221; value=&#8221;<strong>&lt;password here&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;! &#8212; Build Specific Configurations &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;maven.home&#8221; value=&#8221;E:\Apache\apache-maven-2.0.8&#8243;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;ant.home&#8221; value=&#8221;E:\cruisecontrol-bin-2.7.1\apache-ant-1.7.0&#8243;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! &#8212; Cruise Control - Scheduler Specific Configurations&#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;schedule.interval&#8221; value=&#8221;600&#8243;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;quiet.period&#8221; value=&#8221;300&#8243;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! &#8212; Mail configurations &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;buildresults.url&#8221; value=&#8221;http://localhost:8080/buildresults/${project.name}&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;css.location&#8221; value=&#8221;E:\cruisecontrol-bin-2.7.1\docs\cruisecontrol.css&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;xsl.dir&#8221; value=&#8221;E:\cruisecontrol-bin-2.7.1\webapps\cruisecontrol\xsl&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;mail.host&#8221; value=&#8221;<strong>&lt;mail server name&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;build.url&#8221; value=&#8221;<strong>&lt;The url where Cruise control is running&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;mail.subject.prefix&#8221; value=&#8221;[Cruise Control] Project [${project.name}]&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;cc.mail.username&#8221; value=&#8221;<strong>&lt;mail username here&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;cc.mail.password&#8221; value=&#8221;<strong>&lt; mail password here&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;return.name&#8221; value=&#8221;Cruise Control Agent&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! &#8212; Always send addresses &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;mail.address.buildmanager&#8221; value=&#8221;<strong>&lt;mail address here&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! &#8212; Failure addresses &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;mail.address.ifFails&#8221; value=&#8221;<strong>&lt;mail address here&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! &#8212; Success addresses &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;mail.address.ifSuccess&#8221; value=&#8221;<strong>&lt;mail address here&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! &#8212; Return Address &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;property name=&#8221;mail.address.return&#8221; value=&#8221;<strong>&lt;mail address here&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! — Starting the Project Specific information &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;project name=&#8221;<strong>&lt;Give project name here&gt;</strong>&#8220;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! —Specifying the cruise control plug-ins information [It’s optional] &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;plugin name=&#8221;svn&#8221; lassname=&#8221;net.sourceforge.cruisecontrol.sourcecontrols.SVN&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;plugin name=&#8221;svnbootstrapper&#8221; classname=&#8221;net.sourceforge.cruisecontrol.bootstrappers.SVNBootstrapper&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! — This writes a build status snippet to the file system. &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;listeners&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;currentbuildstatuslistener file=&#8221;logs/${project.name}/status.txt&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;/listeners&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! — This bootstraps resources from Subversion. &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;bootstrappers&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;svnbootstrapper LocalWorkingCopy=&#8221;projects/${project.name}&#8221; /&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;bootstrappers&gt;</font></em></span></p>
<p align="left"><font size="2"><span style="font-size:x-small;color:#008000;"><em>&lt;! — A container element for a set of modifications collected from all included SourceControl elements.</em></span><span style="font-size:x-small;"><em><span style="color:#008000;"><code>&lt;modificationset&gt;</code> can contain multiple elements which can be useful to check only parts of a large </span></em></span><span style="font-size:x-small;color:#008000;"><em>Project rather than checking all files every time. &#8211;&gt;</em></span></font></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;modificationset quietperiod=&#8221;${quiet.period}&#8221;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;svn Localworkingcopy=&#8221;projects/${project.name}&#8221; RepositoryLocation=&#8221;${svn.portal. project}&#8221; </font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">useLocalRevision=&#8221;true&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;maven2snapshotdependency pomfile=&#8221;projects/${project.name}/pom.xml&#8221; user=&#8221;<strong>&lt;SVN username here&gt;</strong>&#8220;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;/modificationset&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! — This is the main part. Here the first ant task will copy the current data from the SVN to the local project folder. </font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">The second task is doing scm update, clean and install goals of maven&#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;schedule interval=&#8221;${schedule.interval}&#8221;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;composite&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><strong><font size="2">&lt;ant anthome=&#8221;${ant.home}&#8221; buildfile=&#8221;projects/${project.name}/</font></strong></em></span><a><span style="font-size:x-small;color:#0080c0;"><em><strong><font size="2">cc-build.xml</font></strong></em></span></a><a href="#_msocom_1" name="_msoanchor_1"><span style="font-size:x-small;color:#ff0000;"><em><strong><font size="2">[l1]</font></strong></em></span></a><span style="font-size:x-small;color:#0080c0;"><em><strong><font size="2"> &#8221; /&gt;</font></strong></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><strong><font size="2">&lt;maven2 mvnhome=&#8221;${maven.home}&#8221; pomfile=&#8221;projects/${project.name}/pom.xml&#8221; goal=&#8221;clean install site:site site:deploy&#8221;/&gt;</font></strong></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;/composite&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;/schedule&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#008000;"><em><font size="2">&lt;! — In this part we are configuring the mail related information. To whom we need to send mails, what structure etc… etc &#8211;&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;publishers&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;onsuccess&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;artifactspublisher dest=&#8221;artifacts/${project.name}&#8221; file=&#8221;projects/${project.name}/target/${project.name}.jar&#8221;/&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;/onsuccess&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;htmlemail mailhost=&#8221;${mail.host}&#8221; subjectprefix=&#8221;${mail.subject.prefix}&#8221; returnaddress=&#8221;${mail.address.return}&#8221;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">buildresultsurl=&#8221;${build.url}/${project.name}&#8221; css=&#8221;${css.location}&#8221; xsldir=&#8221;${xsl.dir}&#8221; </font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">xslfilelist=&#8221;header.xsl,buildresults.xsl&#8221; returnname=&#8221;${return.name}&#8221; skipusers=&#8221;false&#8221; spamwhilebroken=&#8221;false&#8221;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">username=&#8221;${cc.mail.username}&#8221; password=&#8221;${cc.mail.password}&#8221; &gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;always address=&#8221;${mail.address.buildmanager}&#8221;/&gt; </font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;/htmlemail&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;/publishers&gt;</font></em></span></p>
<p align="left"><span style="font-size:x-small;color:#0080c0;"><em><font size="2">&lt;/project&gt;</font></em></span></p>
<p align="left"><strong><span style="text-decoration:underline;">Main points to note:</span></strong></p>
<p align="left"><strong>1. Schedule Time Interval :</strong> This is the time period in which cruise control is checking the SVN for updation.</p>
<p align="left"><strong>2. ANT script</strong> in schedule composite tag: Which is used to copy the SVN updated files.</p>
<p align="left">3. <strong>MAVEN goals:</strong> <strong>mvn clean compile site:site site:deploy</strong> This we used to clean and compile the code. Then it will create the site related files for that project and deploy it in a server which we specified in that POM file</p>
<p>If you have to configure more options please refer this link: <a href="http://cruisecontrol.sourceforge.net/main/configxml.html#modificationset">http://cruisecontrol.sourceforge.net/main/configxml.html#modificationset</a></p>
<p>2. Create a local copy of the project in the <strong>Projects</strong> folder of the Cruise Control. Follow the following steps for that.</p>
<ul>
<li>Copy the entire project folder from our eclipse workspace in to the “<strong>Projects</strong>” folder.
<li>Make sure that that copy contains the <strong>correct SVN information</strong> also.
<li>Create a ANT build file with the following information and store it in <strong>Projects&gt; [Current Project folder]</strong> </li>
</ul>
<p>Name it as <strong>cc-build.xml</strong> as we mentioned in the <strong>config.xml</strong> of Cruise oontrol.</p>
<blockquote><p><span style="color:#008080;">&lt;project name=&#8221;Project&#8221; default=&#8221;update-src&#8221; basedir=&#8221;.&#8221; &gt;</span></p>
<p><span style="color:#008080;">&lt;property name=&#8221;base.dir&#8221; value=&#8221;.&#8221; /&gt;</span></p>
<p><span style="color:#008080;">&lt;target name=&#8221;update-src&#8221;&gt;</span></p>
<p><span style="color:#008080;">&lt;echo&gt;Updating source from Subversion&lt;/echo&gt;</span></p>
<p><span style="color:#008080;">&lt;exec executable=&#8221;svn&#8221; dir=&#8221;${base.dir}&#8221;&gt;</span></p>
<p><span style="color:#008080;">&lt;arg line=&#8221;up&#8221; /&gt;</span></p>
<p><span style="color:#008080;">&lt;/exec&gt;</span></p>
<p><span style="color:#008080;">&lt;/target&gt;</span></p>
<p><span style="color:#008080;">&lt;/project&gt;</span></p>
</blockquote>
<p><em></em></p>
<p>
<hr size="1"> <a name="_msocom_1"></a>
</p>
<p><a href="#_msoanchor_1"><span style="color:#ff0000;">[l1]</span></a>This is the ANT script which is copying all the SVN updated data in to the Local copy. So we need to copy that ANT build file in to the Local projects folder.</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:021d47d2-37e7-49ae-be38-b3ef8f134fd4" style="display:inline;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/Cruise%20Control" rel="tag">Cruise Control</a>,<a href="http://technorati.com/tags/Maven" rel="tag">Maven</a>,<a href="http://technorati.com/tags/SVN" rel="tag">SVN</a>,<a href="http://technorati.com/tags/Continous%20Integration" rel="tag">Continous Integration</a>,<a href="http://technorati.com/tags/ANT" rel="tag">ANT</a></div>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a1f0d99f-916d-4e62-b377-30ac4b954714" style="display:inline;margin:0;padding:0;">del.icio.us Tags: <a href="http://del.icio.us/popular/Cruise%20Control" rel="tag">Cruise Control</a>,<a href="http://del.icio.us/popular/Maven" rel="tag">Maven</a>,<a href="http://del.icio.us/popular/SVN" rel="tag">SVN</a>,<a href="http://del.icio.us/popular/Continous%20Integration" rel="tag">Continous Integration</a>,<a href="http://del.icio.us/popular/ANT" rel="tag">ANT</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lijinjoseji.wordpress.com/427/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lijinjoseji.wordpress.com/427/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lijinjoseji.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lijinjoseji.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lijinjoseji.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lijinjoseji.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lijinjoseji.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lijinjoseji.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lijinjoseji.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lijinjoseji.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lijinjoseji.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lijinjoseji.wordpress.com/427/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lijinjoseji.wordpress.com&blog=383653&post=427&subd=lijinjoseji&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://lijinjoseji.wordpress.com/2008/04/29/configuring-cruise-control-with-maven2-and-svn-146-for-continuous-build-environment/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/lijinjoseji-128.jpg" medium="image">
			<media:title type="html">Lijin</media:title>
		</media:content>
	</item>
		<item>
		<title>SpringSource Application Management Suite (AMS) Beta Released</title>
		<link>http://lijinjoseji.wordpress.com/2008/04/01/springsource-application-management-suite-ams-beta-released/</link>
		<comments>http://lijinjoseji.wordpress.com/2008/04/01/springsource-application-management-suite-ams-beta-released/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 05:42:06 +0000</pubDate>
		<dc:creator>Lijin</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Spring]]></category>

		<category><![CDATA[Spring AMS]]></category>

		<category><![CDATA[Spring Framework]]></category>

		<guid isPermaLink="false">http://lijinjoseji.wordpress.com/2008/04/01/springsource-application-management-suite-ams-beta-released/</guid>
		<description><![CDATA[SpringSource Application Management Suite (AMS) is a comprehensive enterprise application management tool. It is designed to manage and monitor all of your Spring-powered applications, the Spring runtime, and a variety of platforms and application servers. SpringSource AMS is built on Hyperic&#8217;s HQ Enterprise Edition, a proven systems and applications management solution. Additional features of SpringSource [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.SpringSource.com" target="_blank">SpringSource</a> Application Management Suite (AMS) is a comprehensive enterprise application management tool. It is designed to manage and monitor all of your Spring-powered applications, the Spring runtime, and a variety of platforms and application servers. SpringSource AMS is built on Hyperic&#8217;s HQ Enterprise Edition, a proven systems and applications management solution. Additional features of <a href="http://www.SpringSource.com" target="_blank">SpringSource</a> AMS include:</p>
<ul>
<li> Automatic discovery of Spring-powered applications on deployment</li>
<li>Automatic monitoring of a variety of Spring, third party, and stereotyped components running in your application. SpringSource AMS instruments a variety of components in the <a href="http://www.SpringFramework.org" target="_blank">Spring Framework</a>. Simply drop the instrumented jar files into your application, and SpringSource AMS will begin monitoring your application and exposing statistics via JMX. No additional configuration steps required!</li>
<li>Automatic monitoring of components of the Spring runtime, including the application contexts and bean factories</li>
</ul>
<p>You can read more about its features in <a href="http://blog.springsource.com/main/author/jhickey/">Jennifer Hickey</a>&#8217;s first post in <a href="http://blog.springsource.com/main/2008/03/31/springsource-application-management-suite-ams-released/" target="_blank">Spring Team blog</a>. This introduction part is also taken from her blog. I am only started to look into that <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/Java" rel="tag">Java</a>,<a href="http://technorati.com/tags/Spring" rel="tag">Spring</a>,<a href="http://technorati.com/tags/Spring%20Framework" rel="tag">Spring Framework</a>,<a href="http://technorati.com/tags/Spring%20AMS" rel="tag">Spring AMS</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lijinjoseji.wordpress.com/424/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lijinjoseji.wordpress.com/424/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lijinjoseji.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lijinjoseji.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lijinjoseji.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lijinjoseji.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lijinjoseji.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lijinjoseji.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lijinjoseji.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lijinjoseji.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lijinjoseji.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lijinjoseji.wordpress.com/424/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lijinjoseji.wordpress.com&blog=383653&post=424&subd=lijinjoseji&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://lijinjoseji.wordpress.com/2008/04/01/springsource-application-management-suite-ams-beta-released/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/lijinjoseji-128.jpg" medium="image">
			<media:title type="html">Lijin</media:title>
		</media:content>
	</item>
		<item>
		<title>Six Possible solutions for JDBC - SQL Server Connection problem</title>
		<link>http://lijinjoseji.wordpress.com/2008/03/31/possible-solutions-for-jdbc-sql-server-connection-problem/</link>
		<comments>http://lijinjoseji.wordpress.com/2008/03/31/possible-solutions-for-jdbc-sql-server-connection-problem/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 08:56:33 +0000</pubDate>
		<dc:creator>Lijin</dc:creator>
		
		<category><![CDATA[JDBC]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[ms Sql server]]></category>

		<guid isPermaLink="false">http://lijinjoseji.wordpress.com/2008/03/31/possible-solutions-for-jdbc-sql-server-connection-problem/</guid>
		<description><![CDATA[Here in this post I am writing about some possible solutions of JDBC - MS SQL server connection problem. During my work I had faced this problem and tried a little hard to findout the solution. In our project when we tried to connect to MSSQL Server, through its default port 1433 it thrown an [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here in this post I am writing about some possible solutions of JDBC - MS SQL server connection problem. During my work I had faced this problem and tried a little hard to findout the solution. In our project when we tried to connect to MSSQL Server, through its default port <b>1433 </b>it thrown an exception as follows. Hope this will be helpful to you.</p>
<p><i><font color="#0080c0">com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. </font></i></p>
<p><i><font color="#0080c0">java.net.ConnectException: Connection refused: connect</font></i></p>
<p>If you created the database and you are sure about your connection string then please check the following points.</p>
<ol>
<li>First Check the port which we are given is free or not. If any other connection is using this then please specify other port.</li>
<li>Check the TCP/IP configuration in “MSSQL surface area configuration”. And if its disabled then make it enable.</li>
<li>Check the Windows Firewall. It may obstruct the port accessing. So please disable it or allow this port accessing through the firewall using windows firewall configuration.</li>
<li>Check if there is any antivirus software is running and it comes in between or not.</li>
<li>Check the <b>Dynamic port allocation</b> of SQL Server is set or not. If it sets to ZERO or any other port then make it <b>‘Blank’.</b> [making Blank is important] Give the static port number we want to the port number place. These configurations we can do in “SQL Server Configuration manager”. Give IPALL = 1433 also.  This information will set in the following part of the windows registry <b>HKEY_LOCAL_MACHINE &gt; SOFTWARE &gt; Microsoft &gt; Microsoft SQL Server&gt; MSSQL.1 &gt; MSSQLServer &gt; SuperSocketNetLib &gt; Tcp&gt; IP1/IP2/IPALL</b>. If it’s not changing there we can manually change it.</li>
<li>Then also its not working then please check the Windows Registry where we sets the “SQL Instance’s port number”. If it is different then please set that to our port number. It’s in <b>HKEY_LOCAL_MACHINE &gt; SOFTWARE &gt; Microsoft &gt; Microsoft SQL Server &gt; [Instance name] &gt; MSSQLServer &gt; SuperSocketNetLib &gt; Tcp and change String value TcpPort = 1433</b>.</li>
</ol>
<p>Are are you reached here? Thanks for reading my full post <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> becouse if u are a person who is facing this problem then I am sure you will not reach here, before itself it should solve <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> And then also you are here then please check your connection string properly. I am giving an example here.</p>
<p><font color="#0080c0">jdbc.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver<br />
jdbc.url=jdbc:sqlserver://servername:1433;DatabaseName=DBName;SelectMethod=cursor</font></p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/Java" rel="tag">Java</a>,<a href="http://technorati.com/tags/JDBC" rel="tag">JDBC</a>,<a href="http://technorati.com/tags/MS%20SQL%20Server" rel="tag">MS SQL Server</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lijinjoseji.wordpress.com/423/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lijinjoseji.wordpress.com/423/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lijinjoseji.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lijinjoseji.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lijinjoseji.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lijinjoseji.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lijinjoseji.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lijinjoseji.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lijinjoseji.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lijinjoseji.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lijinjoseji.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lijinjoseji.wordpress.com/423/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lijinjoseji.wordpress.com&blog=383653&post=423&subd=lijinjoseji&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://lijinjoseji.wordpress.com/2008/03/31/possible-solutions-for-jdbc-sql-server-connection-problem/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/lijinjoseji-128.jpg" medium="image">
			<media:title type="html">Lijin</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Subversion? Just follow this 7 Steps</title>
		<link>http://lijinjoseji.wordpress.com/2008/03/24/installing-subversion-just-follow-this-7-steps/</link>
		<comments>http://lijinjoseji.wordpress.com/2008/03/24/installing-subversion-just-follow-this-7-steps/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 13:35:53 +0000</pubDate>
		<dc:creator>Lijin</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://lijinjoseji.wordpress.com/2008/03/24/installing-subversion-just-follow-this-7-steps/</guid>
		<description><![CDATA[During&#160; this week I had installed and configured Subversion and Cruise Control in my office. We all know its relatively simple to configure these but then also here in this post I am just writing the installation and configuration of Subversion into some simple steps. Hope it will be helpful to any of you in [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>During&nbsp; this week I had installed and configured Subversion and Cruise Control in my office. We all know its relatively simple to configure these but then also here in this post I am just writing the installation and configuration of Subversion into some simple steps. Hope it will be helpful to any of you in future [ Surely. for me too <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ].</p>
<p><strong>Versions used here are:</strong></p>
<p><strong>Apache HTTP Server 2.2</strong> [ <a href="http://httpd.apache.org/download.cgi" target="_blank">Download</a>] and <strong>Subversion 1.4.6</strong> [<a href="http://subversion.tigris.org/project_packages.html" target="_blank">Download</a>]</p>
<p><strong>1. Installing Apache HTTP server.</strong></p>
<p>Download the Apache HTTP Server from <a href="http://httpd.apache.org/download.cgi" target="_blank">Here</a>. You can download the binary version or the Windows installer from the site. Specify a location to install, for example here Im using D:\Subversion\Apache\Server.</p>
<p><strong>2. Installing Subversion.</strong></p>
<p>Download the Subversion installer from <a href="http://subversion.tigris.org/project_packages.html" target="_blank">Here</a>. Just follow the steps in the instalation wizard to install the subversion. Here I am installing subversion into the root folder with a different child direcotry. D:\Subversion\Subversion</p>
<p><strong>3. Configuring the Apache Server.</strong></p>
<p>Okey.. So u completed two &#8220;Complex&#8221; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> steps now. But the third one is&nbsp; very simple. It contains two steps</p>
<ol>
<ol>
<li>Copy the files <strong>mod_authz_svn.so</strong> and <strong>mod_dav_svn.so</strong> from the <strong>[Installation path]\Subversion\bin</strong> folder to the <strong>[Installation path]\modules</strong> folder. Actually we are adding two module files into the Apache server.
<li>Go to the conf directory of Apache server <strong>[Installation path]\conf </strong>and edit the httpd.conf file. Add the following lines into the modules including part</li>
</ol>
</ol>
<blockquote><p><em>LoadModule&nbsp; dav_module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modules/mod_dav.so<br />LoadModule&nbsp; dav_svn_module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modules/mod_dav_svn.so<br />LoadModule&nbsp; authz_svn_module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modules/mod_authz_svn.so</em></p>
</blockquote>
<p><strong>3. Creating the Project repository locations.<br /></strong>Create a Repository Folder where you want to store all the projects. For example I am creating folders called DFRepository and SFRepository in my E drive. </p>
<blockquote><p><em>E:\Repositories\DFRepository<br />E:\Repositories\SFRepository</em> </p>
</blockquote>
<p>These are just directories to hold our repositories, now we must create the repositories themselves, using the svnadmin utility </p>
<blockquote><p><a name="3.1"><em>svnadmin create E:\Repositories\DFRepository<br />svnadmin create C:\Repositories\SFRepository<br /></em></p>
</blockquote>
<p></a>
<p>Then Subversion will create a folder predifined structure inside this repository folder.</p>
<p><strong></strong>
<p><strong>4. Creating the Users authentication file<br /></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We can create a folder called <strong>etc</strong> in the root location where we had installed Subversion and Apache server. Open the command promt and just go to the <strong>bin directory of Apache Server</strong> and run the following commands.</p>
<blockquote><p><em>htpasswd -cm D:\Subversion\svn-auth-file usernameOne<br />New password: ***** <br />Re-type new password: *****<br />Adding password for user usernameOne </em>
<p><em>htpasswd -cm D:\Subversion\svn-auth-file usernameTwo<br />New password: ***** <br />Re-type new password: *****<br />Adding password for user usernameTwo</em> </p>
</blockquote>
<p>When using the command for the first time, add the <strong>-c</strong> option. This creates the file named D:\Subversion\svn-auth-file . The <strong>-m</strong> option instructs the htpasswd utility to use MD5 algorithm to encrypt the passwords. </p>
<p><strong>5. Creating the Access - rights file</strong>&nbsp; <br />Create a file called <strong>svn-acl </strong>in the etc folder and add the following content into it. You can modify this content as per your need.</p>
<p><em># specifinh groups here<br />[groups]<br />DFTeam = name1, name2</p>
<p># DFTeam group has a read/write access to &#8216;DFRepository&#8217; repository<br /># all subdirectories; all others have read access only <br />[DFRepository:/]<br />@DFTeam  = rw<br />* = r</p>
<p># &#8216;SFRepository&#8217; repository, only harry and sally have read-write access.<br />[SFRepository:/]<br />harry = rw<br />sally = rw<br />* = r</em></p>
<p><em># ross is helping with the time zone part of the project2<br />[SFRepository:/timezone]<br />harry = rw<br />sally = rw<br />ross = rw<br />* = r</em></p>
<blockquote><p><strong>6. Creating the SVN Location module</strong></p>
</blockquote>
<p> Create another file called <strong>Subversion.conf </strong>in the same etc folder which contains the following data.</p>
<blockquote><p><em><font size="2"><font face="ver"><strong>&lt;Location /DFRepos&gt;</strong><br />&nbsp; DAV svn<br />&nbsp; SVNPath E:\Repositories\DFRepository</font></font></em></p>
<pre><em><font face="ver" size="2">  AuthType Basic
  AuthName &#8220;Subversion Project1 repository&#8221;
  AuthUserFile c:/etc/svn-auth-file

  Require valid-user
  AuthzSVNAccessFile c:/etc/svn-acl
<strong>&lt;/Location&gt;</strong>

<strong>&lt;Location /SFRepos&gt;</strong>
  DAV svn
  SVNPath E:\Repositories\SFRepository</font></em></pre>
<pre><em><font face="ver" size="2">  AuthType Basic
  AuthName &#8220;Subversion Project2 repository&#8221;
  AuthUserFile c:/etc/svn-auth-file

  Require valid-user</font></em></pre>
<pre><em><font size="2"><font face="ver">  AuthzSVNAccessFile c:/etc/svn-acl
<strong>&lt;/Location&gt;</strong></font></font></em></pre>
</blockquote>
<pre><strong><em></em></strong>&nbsp;</pre>
<p>If u dont want to include the access defenitions file and just want to check the user is valid or not the just change the Subversion.conf as follows.</p>
<blockquote><pre><em><font size="2"><strong>&lt;Location /SFRepos&gt;</strong>
  DAV svn
  SVNPath E:\Repositories\SFRepository</font></em></pre>
<pre><font size="2"><em>  AuthType Basic
  AuthName &#8220;Subversion Project2 repository&#8221;
  AuthUserFile c:/etc/svn-auth-file

  </em>&lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt;&nbsp; Require valid-user  &lt;/LimitExcept&gt;</font></pre>
</blockquote>
<pre><em><strong><font size="2">       &lt;/Location&gt;</font></strong></em>
</pre>
<p><strong>7. Configuring Location in httpd.conf file</strong></p>
<p>This is very simple step. Just add this Subversion.conf file to the end of httpd.conf file as follows</p>
<blockquote>
<p><em>Include D:\Subversion\etc\subversion.conf</em></p>
</blockquote>
<p>Restart the Apache Server :). Finished&#8230;</p>
<p>Reference: This <a href="http://svn.spears.at/" target="_blank">link</a> helped me a lot to configure the repository</p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/svn" rel="tag">svn</a>,<a href="http://technorati.com/tags/subversion" rel="tag">subversion</a>,<a href="http://technorati.com/tags/apache%20http%20server" rel="tag">apache http server</a>,<a href="http://technorati.com/tags/java" rel="tag">java</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lijinjoseji.wordpress.com/422/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lijinjoseji.wordpress.com/422/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lijinjoseji.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lijinjoseji.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lijinjoseji.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lijinjoseji.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lijinjoseji.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lijinjoseji.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lijinjoseji.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lijinjoseji.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lijinjoseji.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lijinjoseji.wordpress.com/422/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lijinjoseji.wordpress.com&blog=383653&post=422&subd=lijinjoseji&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://lijinjoseji.wordpress.com/2008/03/24/installing-subversion-just-follow-this-7-steps/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/lijinjoseji-128.jpg" medium="image">
			<media:title type="html">Lijin</media:title>
		</media:content>
	</item>
		<item>
		<title>TestNG 5.6 and Junit 4.4 : which framework you will choose for unit testing?</title>
		<link>http://lijinjoseji.wordpress.com/2008/02/29/testng-56-and-junit-44-which-framework-you-will-choose-for-unit-testing/</link>
		<comments>http://lijinjoseji.wordpress.com/2008/02/29/testng-56-and-junit-44-which-framework-you-will-choose-for-unit-testing/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 09:10:12 +0000</pubDate>
		<dc:creator>Lijin</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://lijinjoseji.wordpress.com/2008/02/29/testng-56-and-junit-44-which-framework-you-will-choose-for-unit-testing/</guid>
		<description><![CDATA[As we all know JUnit is the most famous unit testing framework. Nobody needs any type of introduction for this small and easy framework. Most of the developers are using this as their unit testing framework in their day to day development life. And can I ask one question? Do you know TestNG? a unit [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As we all know <a href="http://www.junit.org/" target="_blank">JUnit</a> is the most famous unit testing framework. Nobody needs any type of introduction for this small and easy framework. Most of the developers are using this as their unit testing framework in their day to day development life. And can I ask one question? Do you know <a href="http://testng.org/doc/index.html" target="_blank">TestNG</a>? a unit testing framework which is named as &#8216;Next Generation test ing tool&#8217;. Here is a small comparison on these two unit testing frameworks.</p>
<table cellspacing="2" cellpadding="2" width="491" border="0">
<tbody>
<tr>
<td align="middle" width="23">&nbsp;</td>
<td align="middle" width="214"><u><strong>TestNG</strong> Version 5.6</u></td>
<td align="middle" width="21">&nbsp;</td>
<td align="middle" width="221"><u><strong>JUnit</strong>&nbsp; Version 4.4</u></td>
</tr>
<tr>
<td align="middle" width="25">1</td>
<td valign="top" width="213">Extensive annotation support</td>
<td align="middle" width="22">1</td>
<td valign="top" width="220">Supports <strong>Annotations</strong> but not that much rich as TestNG</td>
</tr>
<tr>
<td align="middle" width="26">2</td>
<td valign="top" width="212">Flexible test configuration in an <strong>external XML file</strong>.</td>
<td align="middle" width="23">2</td>
<td valign="top" width="219">Configuration is less and no XML file configuration at all.</td>
</tr>
<tr>
<td align="middle" width="26">3</td>
<td valign="top" width="212">External configuration gives more flexibility.</td>
<td align="middle" width="23">3</td>
<td valign="top" width="219">Less configuration makes it more easy and really fast to create <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </td>
</tr>
<tr>
<td align="middle" width="27">4</td>
<td valign="top" width="212">Support for data-driven testing (with <tt><strong>@DataProvider</strong></tt>).</td>
<td align="middle" width="24">4</td>
<td valign="top" width="218">We have to integrate with EasyMock for Mock object testing</td>
</tr>
<tr>
<td align="middle" width="28">5</td>
<td valign="top" width="211">Support for parameters using <strong>@Parameters</strong></td>
<td align="middle" width="25">5</td>
<td valign="top" width="217">No such type of annotations</td>
</tr>
<tr>
<td align="middle" width="29">6</td>
<td valign="top" width="210">Allows distribution of tests on slave machines.</td>
<td align="middle" width="25">6</td>
<td valign="top" width="216">NA</td>
</tr>
<tr>
<td align="middle" width="31">7</td>
<td valign="top" width="210">Supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc&#8230;).</td>
<td align="middle" width="25">7</td>
<td valign="top" width="215">Cant defeat JUnit in this matter. It has a lot of supporting tools and plugins.</td>
</tr>
<tr>
<td align="middle" width="32">8</td>
<td valign="top" width="209">Embeds <strong>BeanShell</strong> (scripting)&nbsp; for further flexibility.</td>
<td align="middle" width="25">8</td>
<td valign="top" width="215">JUnit dont have this feature at all.</td>
</tr>
<tr>
<td align="middle" width="33">9</td>
<td valign="top" width="209">Default JDK functions for runtime and logging (no dependencies).</td>
<td align="middle" width="25">9</td>
<td valign="top" width="215">I dont aware of logging support in JUnit.</td>
</tr>
<tr>
<td align="middle" width="33">10</td>
<td valign="top" width="209">Dependent methods for application server testing.</td>
<td align="middle" width="25">10</td>
<td valign="top" width="215">NA</td>
</tr>
<tr>
<td align="middle" width="33">11</td>
<td valign="top" width="209">Creates a small <strong>HTML report</strong> at eash time of testing. Which will display the passed/failed tests and errors. It gives the XML output for testing also.</td>
<td align="middle" width="25">11</td>
<td valign="top" width="215">JUnit also creates the test report in XML form. But it will not create an HTML form with passed/failed testnames at each test run. But we can create a very useful JavaDoc Style report for entire JUnit testing</td>
</tr>
<tr>
<td align="middle" width="33">12</td>
<td valign="top" width="209">We dont need a specific name for setup and tearDown. We can make any method/ any number of methods that works on start up</td>
<td align="middle" width="25">12</td>
<td valign="top" width="215">Same in Junit also.</td>
</tr>
<tr>
<td align="middle" width="33">13</td>
<td valign="top" width="209">Here we can create Groups, Suites, etc and it also gives more annotations like<br /><strong>@After/BeforeSuite.<br />@After/BeforeGroup.<br />@After/BeforeClass.<br />@After/BeforeMethod</strong> etc</td>
<td align="middle" width="25">13</td>
<td valign="top" width="215">@After/Before works in methods and @After/BeforeClass will work with classes. But no groups or suites.</td>
</tr>
<tr>
<td valign="top" width="33">14</td>
<td valign="top" width="209">No annotation like @Ignore. But we can ignore through XML congiurations.</td>
<td align="middle" width="25">14</td>
<td valign="top" width="215"><strong>@Ignore</strong> annotation is there for ignoring a method.</td>
</tr>
<tr>
<td valign="top" width="33">15</td>
<td valign="top" width="209"><strong>Dependancy</strong> of previous methods can be managed easily</td>
<td align="middle" width="25">15</td>
<td valign="top" width="215">Methods dependancy handling between each test methods is not possible easily.</td>
</tr>
<tr>
<td valign="top" width="33">16</td>
<td valign="top" width="209">Option to run failed tests only/ last test only in the IDE</td>
<td align="middle" width="26">16</td>
<td valign="top" width="217">We have to select and run each methods which are failed</td>
</tr>
<tr>
<td valign="top" width="33">17</td>
<td valign="top" width="209">No <strong>AssertThat</strong> method support</td>
<td align="middle" width="26">17</td>
<td valign="top" width="217">It gives a method <strong>AssertThat</strong> that is very much flexible for giving a Business type result message for the tests.</td>
</tr>
<tr>
<td valign="top" width="33">18</td>
<td valign="top" width="209">Using <strong>&#8216;ExpectedExceptions</strong> in @Test Annotation&#8217; we can expect some exceptions in the test methods and thus the method will be success.</td>
<td align="middle" width="26">18</td>
<td valign="top" width="217">We can use (<strong>expected</strong> = Exception.class) in the @Test annotation</td>
</tr>
</tbody>
</table>
<p><strong><u>Conclusion</u></strong></p>
<p>If you are a very busy programmer and want very little time to spend on testing the code then go for <strong><a href="http://www.junit.org/" target="_blank">JUnit</a></strong>. It is giving enough support for that. But you need a good testing and more configurable options for each test cases then choose <strong><a href="http://testng.org/doc/index.html" target="_blank">TestNG</a></strong>. The depeneded methods are also can make work on TestNG very easily.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lijinjoseji.wordpress.com/417/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lijinjoseji.wordpress.com/417/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lijinjoseji.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lijinjoseji.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lijinjoseji.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lijinjoseji.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lijinjoseji.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lijinjoseji.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lijinjoseji.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lijinjoseji.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lijinjoseji.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lijinjoseji.wordpress.com/417/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lijinjoseji.wordpress.com&blog=383653&post=417&subd=lijinjoseji&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://lijinjoseji.wordpress.com/2008/02/29/testng-56-and-junit-44-which-framework-you-will-choose-for-unit-testing/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/lijinjoseji-128.jpg" medium="image">
			<media:title type="html">Lijin</media:title>
		</media:content>
	</item>
		<item>
		<title>Sun Tech Days : In Hyderabad</title>
		<link>http://lijinjoseji.wordpress.com/2008/02/28/sun-tech-days-in-hyderabad/</link>
		<comments>http://lijinjoseji.wordpress.com/2008/02/28/sun-tech-days-in-hyderabad/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 08:50:09 +0000</pubDate>
		<dc:creator>Lijin</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Sun]]></category>

		<category><![CDATA[javafx]]></category>

		<category><![CDATA[jruby]]></category>

		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://lijinjoseji.wordpress.com/?p=415</guid>
		<description><![CDATA[

Yesterday I had attended Sun Developers Conference held here in Hitex Convensional center, Hyderabad, India. It was day ONE of three days conference.  The day ONE was really interesting and informative for me. Got an overview about the new Sun techs and got chance to interact with a lot of developers working in Java.
We reached [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://lijinjoseji.files.wordpress.com/2008/02/std08_web_header.jpg" title="std08_web_header.jpg"></a></p>
<div style="text-align:center;"><a href="http://lijinjoseji.files.wordpress.com/2008/02/std08_web_header.jpg" title="std08_web_header.jpg"><img src="http://lijinjoseji.files.wordpress.com/2008/02/std08_web_header.jpg?w=417&h=94" alt="std08_web_header.jpg" height="94" width="417" /></a></div>
<p>Yesterday I had attended <a href="http://www.sercononline.com/suntechdays08/home.htm">Sun Developers Conference held here in Hitex Convensional center, Hyderabad, India</a>. It was day ONE of three days conference.  The day ONE was really interesting and informative for me. Got an overview about the new Sun techs and got chance to interact with a lot of developers working in Java.</p>
<p>We reached there aroung 9.30 in the morning and done with our registration formalities. The first seesion as Sun keynote bye Rich Green, Executive Vice President, Software, Sun microsystems. After that there was a Demo showcase in which SIX SUN java professionals presented some software demos. Those were in <a href="https://ajax.dev.java.net/">jMaki</a>, <a href="http://www.sunspotworld.com/">Sun SPOTS</a>, J2ME, Swing, <a href="http://www.sun.com/software/javafx/index.jsp">JavaFX</a> etc. There are 30 sessions total in the First day and those are from 5 different categories. Five sessions are going on the same time and the whole day is divided in to Six layers. So a delegate can select a session as per his/her taste. If a person is attentding full sessions then they can attent maximum 6 sessions in a day.</p>
<p>The Sessions which I had attened are</p>
<p>1. JEE , Glassfish and their future</p>
<p>2. Testing with Junit and other Testing tools</p>
<p>3. Rapid development with Ruby, JRuby and rails</p>
<p>4. Java Persistence API : Further simplifying persistence.</p>
<p>5. Java troubleshooting tips.</p>
<p>6. JEE with Spring ad Seam.</p>
<p>You can check the other <a href="http://www.sercononline.com/suntechdays08/session.htm">sessions here </a></p>
<p>The first day ended with a Welcome reception - delicious Dinner and a Music Mela. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> You can read more about each sessions in my next posts&#8230;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lijinjoseji.wordpress.com/415/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lijinjoseji.wordpress.com/415/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lijinjoseji.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lijinjoseji.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lijinjoseji.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lijinjoseji.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lijinjoseji.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lijinjoseji.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lijinjoseji.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lijinjoseji.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lijinjoseji.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lijinjoseji.wordpress.com/415/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lijinjoseji.wordpress.com&blog=383653&post=415&subd=lijinjoseji&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://lijinjoseji.wordpress.com/2008/02/28/sun-tech-days-in-hyderabad/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/lijinjoseji-128.jpg" medium="image">
			<media:title type="html">Lijin</media:title>
		</media:content>

		<media:content url="http://lijinjoseji.files.wordpress.com/2008/02/std08_web_header.jpg" medium="image">
			<media:title type="html">std08_web_header.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Scott Gavin&#8217;s Charlie goes mobile&#8230; Another Slide on Enterprise 2.0</title>
		<link>http://lijinjoseji.wordpress.com/2008/02/26/scott-gavins-charlie-goes-mobile-another-slide-on-enterprise-20/</link>
		<comments>http://lijinjoseji.wordpress.com/2008/02/26/scott-gavins-charlie-goes-mobile-another-slide-on-enterprise-20/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 07:28:03 +0000</pubDate>
		<dc:creator>Lijin</dc:creator>
		
		<category><![CDATA[Enterprise 2.0]]></category>

		<category><![CDATA[slide]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://lijinjoseji.wordpress.com/?p=414</guid>
		<description><![CDATA[I likes to visit Scott Gavin&#8217;s site now. Want to learn more about his views on Enterprise 2.0. I think its really interesting as well as useful in our future. Here is his another slide where he mentions Mobile apps usage in Enterprise world.
Please visit these two posts&#8230; here and here&#8230;. if you are interested [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I likes to visit <a href="http://scottgavin.info">Scott Gavin&#8217;s site</a> now. Want to learn more about his views on Enterprise 2.0. I think its really interesting as well as useful in our future. Here is his another slide where he mentions Mobile apps usage in Enterprise world.</p>
<p>Please visit these two posts&#8230; <a href="http://lijinjoseji.wordpress.com/2008/02/25/defining-a-productive-worker/">here</a> and <a href="http://lijinjoseji.wordpress.com/2008/01/23/two-good-slide-shows-about-use-of-web-20-in-enterprise-world/">here</a>&#8230;. if you are interested in Enterprise 2.0 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><object type='application/x-shockwave-flash' wmode='transparent' data='https://s3.amazonaws.com:443/slideshare/ssplayer.swf?id=117113&#038;doc=charlie-goes-mobile-enterprise-20-on-the-road3223' width='425' height='348'><param name='movie' value='https://s3.amazonaws.com:443/slideshare/ssplayer.swf?id=117113&#038;doc=charlie-goes-mobile-enterprise-20-on-the-road3223' /></object></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lijinjoseji.wordpress.com/414/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lijinjoseji.wordpress.com/414/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lijinjoseji.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lijinjoseji.wordpress.com/414/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lijinjoseji.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lijinjoseji.wordpress.com/414/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lijinjoseji.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lijinjoseji.wordpress.com/414/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lijinjoseji.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lijinjoseji.wordpress.com/414/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lijinjoseji.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lijinjoseji.wordpress.com/414/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lijinjoseji.wordpress.com&blog=383653&post=414&subd=lijinjoseji&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://lijinjoseji.wordpress.com/2008/02/26/scott-gavins-charlie-goes-mobile-another-slide-on-enterprise-20/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/lijinjoseji-128.jpg" medium="image">
			<media:title type="html">Lijin</media:title>
		</media:content>
	</item>
		<item>
		<title>Defining A Productive Worker&#8230;</title>
		<link>http://lijinjoseji.wordpress.com/2008/02/25/defining-a-productive-worker/</link>
		<comments>http://lijinjoseji.wordpress.com/2008/02/25/defining-a-productive-worker/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 05:25:13 +0000</pubDate>
		<dc:creator>Lijin</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[slide show]]></category>

		<guid isPermaLink="false">http://lijinjoseji.wordpress.com/2008/02/25/defining-a-productive-worker/</guid>
		<description><![CDATA[This slide show is the follower of the excellent Meet Charlie  

       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This slide show is the follower of the excellent <a href="http://lijinjoseji.wordpress.com/2008/01/23/two-good-slide-shows-about-use-of-web-20-in-enterprise-world/">Meet Charlie</a> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><object type='application/x-shockwave-flash' wmode='transparent' data='https://s3.amazonaws.com:443/slideshare/ssplayer.swf?id=64398&#038;doc=a-new-way-to-define-a-productive-worker882' width='425' height='348'><param name='movie' value='https://s3.amazonaws.com:443/slideshare/ssplayer.swf?id=64398&#038;doc=a-new-way-to-define-a-productive-worker882' /></object></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lijinjoseji.wordpress.com/413/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lijinjoseji.wordpress.com/413/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lijinjoseji.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lijinjoseji.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lijinjoseji.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lijinjoseji.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lijinjoseji.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lijinjoseji.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lijinjoseji.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lijinjoseji.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lijinjoseji.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lijinjoseji.wordpress.com/413/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lijinjoseji.wordpress.com&blog=383653&post=413&subd=lijinjoseji&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://lijinjoseji.wordpress.com/2008/02/25/defining-a-productive-worker/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/lijinjoseji-128.jpg" medium="image">
			<media:title type="html">Lijin</media:title>
		</media:content>
	</item>
		<item>
		<title>TEN web 2.0 applications are frequently using by me.</title>
		<link>http://lijinjoseji.wordpress.com/2008/02/20/what-all-web-20-applications-are-frequently-using-by-me/</link>
		<comments>http://lijinjoseji.wordpress.com/2008/02/20/what-all-web-20-applications-are-frequently-using-by-me/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 14:23:43 +0000</pubDate>
		<dc:creator>Lijin</dc:creator>
		
		<category><![CDATA[Google]]></category>

		<category><![CDATA[Orkut]]></category>

		<category><![CDATA[facebook]]></category>

		<category><![CDATA[flickr]]></category>

		<category><![CDATA[geni]]></category>

		<category><![CDATA[librarything]]></category>

		<category><![CDATA[linked in]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lijinjoseji.wordpress.com/?p=410</guid>
		<description><![CDATA[In my daily life I am using some of the Web 2.0 applications very frequently.  Here is the list of first TEN apps.
1. Gmail : My mail Box
2. Google Reader : To update my knowledge
3. WordPress : To express myself.
4. Google Docs : For storing and editing my Docs online.
5. Flickr : To store my [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In my daily life I am using some of the Web 2.0 applications very frequently.  Here is the list of first <b>TEN</b> apps.</p>
<p>1. <a href="http://www.gmail.com"><b>Gmail</b></a> : My mail Box</p>
<p>2. <b><a href="http://www.google.com/reader">Google Reader</a></b> : To update my knowledge</p>
<p>3. <b><a href="http://www.WordPress.com">WordPress</a></b> : To express myself.</p>
<p>4. <b><a href="http://docs.google.com">Google Docs</a></b> : For storing and editing my Docs online.</p>
<p>5. <b><a href="http://www.Flickr.com">Flickr</a></b> : To store my camera views</p>
<p>6. <b><a href="http://www.google.com/calendar">Google Calender</a></b> : To move according to my schedule</p>
<p>7.<a href="http://www.orkut.com"> <b>Orkut</b></a> and <b><a href="http://www.facebook.com">FaceBook</a></b> : For keep in touch with my friends.</p>
<p>8. <b><a href="http://www.geni.com">Geni</a></b> : To update, remember and keep in touch with my Family Members.</p>
<p>9. <b><a href="http://www.linkedin.com/">Linked In</a></b> : Maintaining my small professional Resume</p>
<p>10. <b><a href="http://www.librarything.com/">Library things</a></b> : Member of <span class="b">world&#8217;s largest book club <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
</span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lijinjoseji.wordpress.com/410/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lijinjoseji.wordpress.com/410/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lijinjoseji.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lijinjoseji.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lijinjoseji.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lijinjoseji.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lijinjoseji.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lijinjoseji.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lijinjoseji.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lijinjoseji.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lijinjoseji.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lijinjoseji.wordpress.com/410/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lijinjoseji.wordpress.com&blog=383653&post=410&subd=lijinjoseji&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://lijinjoseji.wordpress.com/2008/02/20/what-all-web-20-applications-are-frequently-using-by-me/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/lijinjoseji-128.jpg" medium="image">
			<media:title type="html">Lijin</media:title>
		</media:content>
	</item>
		<item>
		<title>Problem faced with jDom XPath ;)</title>
		<link>http://lijinjoseji.wordpress.com/2008/02/20/problem-faced-with-jdom-xpath/</link>
		<comments>http://lijinjoseji.wordpress.com/2008/02/20/problem-faced-with-jdom-xpath/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 12:29:18 +0000</pubDate>
		<dc:creator>Lijin</dc:creator>
		
		<category><![CDATA[jDom]]></category>

		<category><![CDATA[jaxen]]></category>

		<category><![CDATA[xml]]></category>

		<category><![CDATA[xpath]]></category>

		<guid isPermaLink="false">http://lijinjoseji.wordpress.com/?p=409</guid>
		<description><![CDATA[Today I had faced an issue related with jDom Xpath. In my project I am using Xpath to get Nodes from a web service request. But during this  parsing a &#8216;Class not found exception&#8216; was throwing continuously and the funny thing is, the class which was not finding was already existing in that jar file. [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today I had faced an issue related with <b>jDom Xpath</b>. In my project I am using Xpath to get Nodes from a web service request. But during this  parsing a &#8216;<b>Class not found exception</b>&#8216; was throwing continuously and the funny thing is, the<b> class which was not finding was already existing in that jar file</b>. It was a crutial moment for me becouse a demo was going to be happen the day after next day and I have to deploy and give that web service to my friends working in the .net side to continue their work.</p>
<p>The exception was just like the following&#8230;<br />
org.jdom.JDOMException: java.lang.NoClassDefFoundError: org/jdom/Text:<br />
org/jdom/Text</p>
<p>The stack trace was like follows</p>
<p>Caused by: java.lang.NoClassDefFoundError: org/jdom/Text<br />
at org.jaxen.jdom.JDOMXPath.&lt;init&gt;(JDOMXPath.java:100)<br />
at org.jdom.xpath.JaxenXPath.setXPath(JaxenXPath.java:281)<br />
at org.jdom.xpath.JaxenXPath.&lt;init&gt;(JaxenXPath.java:99)</p>
<p>I searched in net and got the following <a href="http://www.mail-archive.com/user@xfire.codehaus.org/msg04213.html">link</a>. Here the author specified the non availability of the <b>jaxen.jar</b> file in the lib folder. This helped me a lot&#8230; thanks Connor.. But when I checked in my project lib [ I am also using jBoss for this project] , I found this &#8216;jaxen.jar&#8217; is already there in my jBoss lib as well as in webapps lib.</p>
<p>I tried by downloading the following jaxen jar, &#8220;<b>jaxen-1.1-beta-9.jar</b>&#8221; and put in the lib folder. And Its Worked !!! Hope this post will helpful in future, for me or to any of my friends <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lijinjoseji.wordpress.com/409/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lijinjoseji.wordpress.com/409/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lijinjoseji.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lijinjoseji.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lijinjoseji.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lijinjoseji.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lijinjoseji.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lijinjoseji.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lijinjoseji.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lijinjoseji.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lijinjoseji.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lijinjoseji.wordpress.com/409/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lijinjoseji.wordpress.com&blog=383653&post=409&subd=lijinjoseji&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://lijinjoseji.wordpress.com/2008/02/20/problem-faced-with-jdom-xpath/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/lijinjoseji-128.jpg" medium="image">
			<media:title type="html">Lijin</media:title>
		</media:content>
	</item>
	</channel>
</rss>