<?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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>StudyJava.org &#187; Java Tools</title>
	<atom:link href="http://studyjava.org/category/java-tools/feed" rel="self" type="application/rss+xml" />
	<link>http://studyjava.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 05 Apr 2010 11:49:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Date showing wrong in JSF outputText or with dataTable</title>
		<link>http://studyjava.org/jsp/date-showing-wrong-in-jsf-outputtext-or-with-datatable</link>
		<comments>http://studyjava.org/jsp/date-showing-wrong-in-jsf-outputtext-or-with-datatable#comments</comments>
		<pubDate>Fri, 26 Feb 2010 16:30:45 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[Java Tools]]></category>
		<category><![CDATA[Jsp]]></category>
		<category><![CDATA[Date showing wrong in JSF outputText]]></category>
		<category><![CDATA[with dataTable]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=428</guid>
		<description><![CDATA[Date showing wrong in JSF outputText or with dataTable Some times in , h:outputText with dataTable or without , java.util.Date showing wrong, means one date before the actual date is showing. We can solve this problem using Converter. One example&#8230; Some times in , h:outputText with dataTable or without , java.util.Date showing wrong, means one [...]]]></description>
			<content:encoded><![CDATA[<p>Date showing wrong in JSF outputText or with dataTable<br />
Some times in , h:outputText with dataTable or without , java.util.Date showing wrong, means one date before the actual date is showing. We can solve this problem using Converter. One example&#8230;<br />
Some times in , h:outputText with dataTable or without , java.util.Date showing wrong, means one date before the actual date is showing.<br />
<strong> We can solve this problem using Converter.</strong><br />
One example :</p>
<p>DateConverter.java</p>
<p>package com.converter;<br />
import java.text.SimpleDateFormat;<br />
import java.util.Date;<br />
import javax.faces.component.UIComponent;<br />
import javax.faces.context.FacesContext;<br />
import javax.faces.convert.Converter;<br />
import javax.faces.convert.ConverterException;<br />
/**<br />
* This class is is used to convert a date to dd-MMM-yyyy format<br />
*<br />
*/<br />
public class DateConverter implements Converter {<br />
public String getAsString(FacesContext context, UIComponent c, Object object)<br />
throws ConverterException {<br />
if(object!=null &amp;&amp; !object.toString().equals(&#8220;&#8221;)){<br />
final Date date = (Date) object;<br />
String dt=null;<br />
if(date!=null){<br />
SimpleDateFormat formatter=new SimpleDateFormat(&#8220;dd-MMM-yyyy&#8221;);<br />
dt=formatter.format(date);<br />
return dt;<br />
}}<br />
return null;<br />
}<br />
public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2)<br />
throws ConverterException {<br />
return null;<br />
}<br />
}</p>
<p>In  faces-config.xml</p>
<p>dateConvert<br />
com.converter.DateConverter</p>
<p>In your jsp page</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fjsp%2Fdate-showing-wrong-in-jsf-outputtext-or-with-datatable', 'Date+showing+wrong+in+JSF+outputText+or+with+dataTable')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fjsp%2Fdate-showing-wrong-in-jsf-outputtext-or-with-datatable', title: '+Date+showing+wrong+in+JSF+outputText+or+with+dataTable+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/jsp/date-showing-wrong-in-jsf-outputtext-or-with-datatable/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ANTLR</title>
		<link>http://studyjava.org/java-tools/antlr</link>
		<comments>http://studyjava.org/java-tools/antlr#comments</comments>
		<pubDate>Mon, 23 Nov 2009 15:22:10 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[Java Tools]]></category>
		<category><![CDATA[another Tool for Language Recognition]]></category>
		<category><![CDATA[ANTLR]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=325</guid>
		<description><![CDATA[ANTLR is a Java tool, which abbreviated as “Another Tool for Language Recognition” . ANTLR is a language tool that provides a framework for constructing recognizers, interpreters, compilers, and translators from grammatical descriptions containing actions in a variety of target languages. ANTLR provides excellent support for tree construction, tree walking, translation, error recovery, and error [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ANTLR</strong> is a Java tool, which abbreviated as “<strong>Another Tool for Language Recognition</strong>” . ANTLR is a language tool that provides a framework for constructing recognizers, interpreters, compilers, and translators from grammatical descriptions containing actions in a variety of target languages.</p>
<p>ANTLR provides excellent support for tree construction, tree walking, translation, error recovery, and error reporting. There are currently about 5,000 ANTLR source downloads a month. It is the name of a parser generator uses LL (*) parsing type. It supports programming language such as C, C++, Java, Python, C# and Objective-C. ANTLR 3 is available as a freely software and published under a 3-clause BSD License.</p>
<p>ANTLR&#8217;s popularity comes down to the fact that it satisfies the following fundamental requirements. Programmers want to use tools:</p>
<ul>
<li>that employ mechanisms they understand,</li>
<li>that are sufficiently powerful to solve their problem,</li>
<li>that are flexible,</li>
<li>that automate tedious tasks, and</li>
<li>that generate output that is easily folded into their application.</li>
</ul>
<p>ANTLR has a consistent syntax for specifying lexers, parsers, and tree parsers</p>
<p>ANTLR is a second-generation parser generator. The first generation was PCCTS (Purdue Compiler Construction Tool Set). Both parsers were designed and implemented by Terence Parr.</p>
<p>Recently the most attractive parser generator is ANTLR as:</p>
<ul>
<li> ANTLR generates recursive decent parsers and has good error reporting &#8220;right out of the box&#8221;. It appears that with a little work even better error reporting is possible.</li>
<li> The parser generated by ANTLR is more or less readable. This helps in debugging.</li>
<li> ANTLR is free.</li>
<li> ANTLR is available as &#8220;open source&#8221;.ANTLR is not Linux, but there are a number of ANTLR users world wide, so there is a reasonable chance that bugs will be identified and corrected.</li>
<li> ANTLR will generate C++ parsers. Java may have some advantages as a compiler implementation language, but the performance of Java on compiler like applications is terrible. It is hard enough to make an optimization phase run with acceptable performance. If the compiler developer is saddled with Java&#8217;s interpretive overhead as well, the compiler may be very slow. Unless native compiled Java is used, C++ is the only choice available for production quality compiler implementation.</li>
<li>ANTLR has pretty flexible and decent error handling.</li>
</ul>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fantlr', 'ANTLR')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fantlr', title: '+ANTLR+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/java-tools/antlr/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying axis webservice in Jboss server</title>
		<link>http://studyjava.org/java-tools/deploying-axis-webservice-in-jboss-server</link>
		<comments>http://studyjava.org/java-tools/deploying-axis-webservice-in-jboss-server#comments</comments>
		<pubDate>Thu, 15 Oct 2009 07:42:32 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[Java Tools]]></category>
		<category><![CDATA[webservice in Jboss server]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=290</guid>
		<description><![CDATA[Download the axis.war from http://ws.apache.org/axis/java/install.html Put the axis.war in jboss\server\default\deploy folder. Then deploy the webservice in the axis.war and deploy the webservice using the command, java org.apache.axis.client.AdminClient ..\src\com\test\stubs\deploy.wsdd then copy the server-config.wsdd file from axis.war/WEB-INF folder and put the file in your WEB-INF folder. first deploy in axis.war and copy the server-config.wsdd file and put [...]]]></description>
			<content:encoded><![CDATA[<p>Download the axis.war from http://ws.apache.org/axis/java/install.html</p>
<p>Put the axis.war in jboss\server\default\deploy folder.</p>
<p>Then deploy the webservice in the axis.war and deploy the webservice using the command,</p>
<p>java org.apache.axis.client.AdminClient ..\src\com\test\stubs\deploy.wsdd</p>
<p>then copy the server-config.wsdd file from axis.war/WEB-INF folder and put the file in your WEB-INF folder.</p>
<p>first deploy in axis.war and copy the server-config.wsdd file and put into your project/WEB-INF folder.</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fdeploying-axis-webservice-in-jboss-server', 'Deploying+axis+webservice+in+Jboss+server')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fdeploying-axis-webservice-in-jboss-server', title: '+Deploying+axis+webservice+in+Jboss+server+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/java-tools/deploying-axis-webservice-in-jboss-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Access JBoss application using IP address</title>
		<link>http://studyjava.org/java-tools/how-to-access-jboss-application-using-ip-address</link>
		<comments>http://studyjava.org/java-tools/how-to-access-jboss-application-using-ip-address#comments</comments>
		<pubDate>Thu, 15 Oct 2009 07:20:23 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[Java Tools]]></category>
		<category><![CDATA[How to Access JBoss application using IP]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=287</guid>
		<description><![CDATA[Take the command prompt and change the the control to the joboss/bin directory then, run -b yourip eg: run -b 192.168.0.109 Then u can access the jboss applications using the ip. eg: http://192.168.0.109:8080/applicationname]]></description>
			<content:encoded><![CDATA[<p>Take the command prompt and change the the control to the joboss/bin directory<br />
then,<br />
run -b yourip</p>
<p>eg: run -b 192.168.0.109</p>
<p>Then u can access the jboss applications using the ip.<br />
eg: http://192.168.0.109:8080/applicationname</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fhow-to-access-jboss-application-using-ip-address', 'How+to+Access+JBoss+application+using+IP+address')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fhow-to-access-jboss-application-using-ip-address', title: '+How+to+Access+JBoss+application+using+IP+address+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/java-tools/how-to-access-jboss-application-using-ip-address/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse</title>
		<link>http://studyjava.org/general/eclipse</link>
		<comments>http://studyjava.org/general/eclipse#comments</comments>
		<pubDate>Mon, 21 Sep 2009 05:57:53 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=216</guid>
		<description><![CDATA[Eclipse is a Java tool, free and open source software built by an open community of tool providers.The eclipse platform provides tool developers with ultimate flexibility and control over their software technology.Eclipse is mainly written in java by use of the various plug-ins in other software language such as COBOL, PHP, Perl, C, C++, Python [...]]]></description>
			<content:encoded><![CDATA[<p>Eclipse is a Java tool, free and open source software built by an open community of tool providers.The eclipse platform provides tool developers with ultimate flexibility and control over their software technology.Eclipse is mainly written in java by use of the various plug-ins in other software language such as COBOL, PHP, Perl, C, C++, Python etc.</p>
<p>Latest release is Galileo with 3.5 platform version at 24 June 2009 for Galileo projects.</p>
<p>You can look up the commercial and open source plugins for Eclipse available at <a href="http://www.eclipse.org/community/plugins.html">http://www.eclipse.org/community/plugins.html</a>.</p>
<p>You can get started Eclipse by download the SDk of the latest release version from http://www.eclipse.org/downloads/. Be sure to have at least JDK/JRE 1.4 on your desktop. If you want to stay on the cutting edge, you can download the &#8220;stable&#8221; build which typically has additional bug fixes and features, but it hasn&#8217;t been graded production-quality yet.</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Feclipse', 'Eclipse')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Feclipse', title: '+Eclipse+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/general/eclipse/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetBeans</title>
		<link>http://studyjava.org/java-tools/netbeans</link>
		<comments>http://studyjava.org/java-tools/netbeans#comments</comments>
		<pubDate>Sun, 06 Sep 2009 08:01:24 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[Java Tools]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=185</guid>
		<description><![CDATA[NetBeans is an open source project that provides free tools and platforms for building applications. It&#8217;s a platform for building rich client applications that will run on any operating system that supports a standard JVM. It provides a rich framework of windows, menus, tool bars, actions etc. It is a tool used for developing a [...]]]></description>
			<content:encoded><![CDATA[<p>NetBeans is an open source project that provides free tools and platforms for building applications. It&#8217;s a platform for building rich client applications that will run on any operating system that supports a standard JVM. It provides a rich framework of windows, menus, tool bars, actions etc. It is a tool used for developing a wide variety of applications, build for software developers as well as for web developers.</p>
<p>NetBeans is an Integrated Development Environment available as a free open source software environment. It contains set of tools you need to create enterprise web, professional cross-platform desktop, dynamic language such as Ruby, Groovy, PHP, Javascript, mobile applications with the Java language and C/C++. It is easy to install and runs on many platforms including Solaris, Mac OS X, Linux and Windows.<br />
NetBeans software is open source and can get it absolutely free. The full download size about to be <strong>219 MB</strong>. If you only want NetBeans for a particular scripting language such as Javascript, PHP, C and C++ or Ruby and Rails then you can download that specific portion of the program and the download will be a lot smaller from around <strong>20-30 MB</strong> depending on which application you wish to install.</p>
<p>NetBeans community can also offer useful resources for helping you to learn NetBeans as well as offering tools and feedback to help you grow and develop your applications and NetBeans skills.</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fnetbeans', 'NetBeans')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fnetbeans', title: '+NetBeans+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/java-tools/netbeans/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSRP</title>
		<link>http://studyjava.org/java-tools/wsrp</link>
		<comments>http://studyjava.org/java-tools/wsrp#comments</comments>
		<pubDate>Fri, 28 Aug 2009 05:34:50 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[Java Tools]]></category>
		<category><![CDATA[Remote Portlets]]></category>
		<category><![CDATA[WSRP: Web Services]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=169</guid>
		<description><![CDATA[WSRP: Web Services for Remote Portlets WSRP (Web Services for Remote Portlets) is an network protocol created and approved by OASIS (Organization for the Advancement of Structured Information Standards) designed for communications with remote portlets. It is a web services standard that allows you to “plug-n-play” visual, user-facing web services with portals or other intermediary [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom: 0in;text-align: left">
<p style="margin-bottom: 0in;text-align: left"><strong>WSRP: Web Services for Remote Portlets</strong></p>
<p style="margin-bottom: 0in;text-align: left">WSRP (Web Services for Remote Portlets) is an network protocol created and approved by <strong>OASIS (<strong>Organization for the Advancement of Structured Information Standards) </strong></strong>designed for communications with remote portlets. It is a web services standard that allows you to “plug-n-play” visual, user-facing web services with portals or other intermediary web applications. It is used to allow portlets to be decoupled from a portal, that are installed to remote portal servers to be aggregated at runtime into a unified portal page by a local portal server. Two competing portal server products such as <strong>WebLogic portal</strong> and <strong>WebSphere Portal</strong> can integrate with one another. Work was initially started through the joint efforts of the WSIA (Web Services for Interactive Applications) and WSRP (Web Services for Remote Portlets) OASIS Technical Committees.</p>
<p style="margin-bottom: 0in;text-align: left"><strong>Benefits of WSRP</strong></p>
<ul>
<li>
<div style="margin-bottom: 0in;text-align: left">Portability</div>
</li>
<li>
<div style="margin-bottom: 0in;text-align: left">Interoperability</div>
</li>
<li>
<div style="margin-bottom: 0in;text-align: left">Options for deployment</div>
</li>
<li>
<div style="margin-bottom: 0in;text-align: left">Support by large players in the industry</div>
</li>
</ul>
<p style="margin-bottom: 0in;text-align: left"><strong>Main reason for using WSRP for web development</strong></p>
<ul>
<li>
<div style="margin-bottom: 0in;text-align: left">WSRP decouples the deployment and delivery of applications</div>
</li>
<li>
<div style="margin-bottom: 0in;text-align: left">WSRP delivers both data and that data&#8217;s presentation logic.</div>
</li>
<li>
<div style="margin-bottom: 0in;text-align: left">Implementation of WSRP requires little or no programming</div>
</li>
</ul>
<p style="margin-bottom: 0in;text-align: left">WSRP Portlet type support <strong>Pageflow, JSP, Struts</strong> and <strong>Java portlets</strong>.</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fwsrp', 'WSRP')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fwsrp', title: '+WSRP+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/java-tools/wsrp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrating VSS with Eclipse</title>
		<link>http://studyjava.org/java-tools/eclipse/vsseclipse</link>
		<comments>http://studyjava.org/java-tools/eclipse/vsseclipse#comments</comments>
		<pubDate>Wed, 08 Jul 2009 09:03:34 +0000</pubDate>
		<dc:creator>rakesh</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=62</guid>
		<description><![CDATA[  You can Integrate VSS with Eclipse using the following steps Step 1 : Download VSS plugin from http://sourceforge.net/projects/vssplugin/files/ Step 2 : Unzip and put it inside the eclipse\plugins folder  Step 3 : Start Eclipse Step 4 :  Select the project and go to Team &#62;&#62; Share project   Step 5 : Give the VSS [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><strong> </strong></p>
<p>You can Integrate VSS with Eclipse using the following steps</p>
<p>Step 1 : Download VSS plugin from <a href="http://sourceforge.net/projects/vssplugin/files/">http://sourceforge.net/projects/vssplugin/files/</a></p>
<p>Step 2 : Unzip and put it inside the eclipse\plugins folder </p>
<p>Step 3 : Start Eclipse</p>
<p>Step 4 :  Select the project and go to Team &gt;&gt; Share project</p>
<p><img class="alignnone size-full wp-image-60" src="http://studyjava.org/wp-content/uploads/2009/07/12.gif" alt="Step4" width="600" height="450" /></p>
<p> </p>
<p>Step 5 : Give the VSS server credentials .</p>
<p><img class="alignnone size-full wp-image-61" src="http://studyjava.org/wp-content/uploads/2009/07/2.gif" alt="Step5" /></p>
<p>Username                   : VSS user Name</p>
<p>Password                     : VSS user password</p>
<p>VSS Directory              : VSS  Sever path  which you can browse your network</p>
<p>Source dir                    : Local folder which is to map with VSS folder</p>
<p>Relative mountpoint   : Mapping path in the VSS server</p>
<p>Click on Finish button</p>
<p>Step 6 :</p>
<p>Now you can start using eclipse for all the VSS operation like get latest version from VSS ,Checkout /Checkin  VSS file etc..</p>
<p>Happy learning !!</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Feclipse%2Fvsseclipse', 'Integrating+VSS+with+Eclipse')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Feclipse%2Fvsseclipse', title: '+Integrating+VSS+with+Eclipse+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/java-tools/eclipse/vsseclipse/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ant</title>
		<link>http://studyjava.org/java-tools/ant/ant</link>
		<comments>http://studyjava.org/java-tools/ant/ant#comments</comments>
		<pubDate>Wed, 08 Jul 2009 04:10:43 +0000</pubDate>
		<dc:creator>rakesh</dc:creator>
				<category><![CDATA[Ant]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=50</guid>
		<description><![CDATA[What is Ant ? Ant is an open-source Java-based build tool from the Apache Software Foundation. Ant uses build files, which are simply XML files that tell the Ant program what to do. Why Ant ? 1)  Simple syntax and easy to learn(If you know XML before). 2) Easy to use. 3)  Cross-platform. 4)   [...]]]></description>
			<content:encoded><![CDATA[<p align="center">
<p><strong><span style="text-decoration: underline;">What is Ant ?</span></strong></p>
<p>Ant is an open-source Java-based build tool from the Apache Software Foundation. Ant uses build files, which are simply XML files that tell the Ant program what to do.</p>
<p><strong><span style="text-decoration: underline;">Why Ant ?</span></strong></p>
<p>1)  Simple syntax and easy to learn(If you know XML before).</p>
<p>2) Easy to use.</p>
<p>3)  Cross-platform.</p>
<p>4)   Built-in support for J2EE development, such as EJB compilation and      packaging.</p>
<p>5)  Automated deployment</p>
<p><strong><span style="text-decoration: underline;">How to install Ant ?</span></strong></p>
<p>Get the binary release and set ANT_HOME and JAVA_HOME   environment variables.</p>
<p>Configure the PATH environment variable to point ant/bin directory.</p>
<p><strong><span style="text-decoration: underline;">Creating Build file </span></strong></p>
<p>Example of a build file called build.xml</p>
<p>&lt;?xml version=“1.0”&gt;</p>
<p>&lt;project name=“firstbuild” default=“compile” &gt;</p>
<p>&lt;target name=“compile”&gt;</p>
<p>&lt;javac srcdir=“.” /&gt;</p>
<p>&lt;echo&gt;compilation complete!&lt;/echo&gt;</p>
<p>&lt;/target&gt;</p>
<p>&lt;/project&gt;</p>
<p><strong>Project:</strong></p>
<p>The &lt;project&gt; tag is the root element in the build file</p>
<p>The &lt;project&gt; tag has three attributes as follows:</p>
<ul>
<li> name</li>
<li> default</li>
<li> basedir</li>
</ul>
<ul>
<li>Name &#8211; The name attribute gives the project a name and its valuable for the purpose of identifying log outputs.</li>
<li>Default &#8211; The default attribute refers to a target name within the build file.</li>
<li>Basedir – The basedir attribute defines the root directory of a project.</li>
</ul>
<p><strong>Targets:</strong></p>
<p>A &lt;target&gt; is a single stage in the Build file.</p>
<p>The target compiles a set of files and package them into a JAR file.</p>
<p>A build file can have many targets but each should have unique name.</p>
<p>In the last example, the build file compile target contains two XML elements</p>
<ul>
<li> &lt;javac&gt; (Java Compiler to compile the java code)</li>
<li> &lt;echo&gt; (To echoes a message to the screen)</li>
</ul>
<p><strong>Example of a Target:</strong></p>
<p><em>//This target will compile the source code</em></p>
<p>&lt;target name=“build-lib”&gt;</p>
<p>&lt;javac srcdir=“${src.ejb.dir}:${src.java.dir}”</p>
<p>destdir=“${build.dir}”</p>
<p>debug=“on”</p>
<p>deprecation=“on”</p>
<p>includes=“**/*.java”</p>
<p>excludes=“${global.exclude}”&gt;</p>
<p>&lt;classpath path=“${classpath.compile}” /&gt;</p>
<p>&lt;/javac&gt;</p>
<p>&lt;/target&gt;</p>
<p><em>//This target will package the jar file</em></p>
<p>&lt;target name=“package-lib”&gt;</p>
<p>&lt;jar jarfile=“${dist}/lib/lib.jar” basedir=“${build.dir}” /&gt;</p>
<p>&lt;/target&gt;</p>
<p><strong>Tasks:</strong></p>
<p>Tasks are the smallest building blocks of a build file and they performs following works,</p>
<ul>
<li>Compiling Source Code</li>
<li>Packaging Classes</li>
<li>Retrieving file revisions from CVS</li>
<li>Copying files or directories</li>
</ul>
<p>//<em>To copy all the files from source in the projects www source directory to the dest directory to system’s weblogic installation</em></p>
<p>&lt;copy todir=“${weblogic.dir}/${weblogic.server.home}/public_html/<em>source </em>”&gt;</p>
<p>&lt;fileset dir=“${src.www.dir}/<em>dest </em>”/&gt;</p>
<p>&lt;/copy&gt;</p>
<p>Happy Learning !!!</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fant%2Fant', 'Ant')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fjava-tools%2Fant%2Fant', title: '+Ant+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/java-tools/ant/ant/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

