<?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>NIrving &#187; J2EE</title>
	<atom:link href="http://www.nirving.com/category/j2ee/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nirving.com</link>
	<description>I said Stroke not Poke</description>
	<lastBuildDate>Fri, 25 Jun 2010 01:08:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Batch Code Formatting using Eclipse Code Formatter, but without Eclipse.</title>
		<link>http://www.nirving.com/2007/06/01/batch-code-formatting-using-eclipse-code-formatter-but-without-eclipse/</link>
		<comments>http://www.nirving.com/2007/06/01/batch-code-formatting-using-eclipse-code-formatter-but-without-eclipse/#comments</comments>
		<pubDate>Fri, 01 Jun 2007 00:08:22 +0000</pubDate>
		<dc:creator>nirving</dc:creator>
				<category><![CDATA[J2EE]]></category>

		<guid isPermaLink="false">http://www.nirving.com/2007/06/01/batch-code-formatting-using-eclipse-code-formatter-but-without-eclipse/</guid>
		<description><![CDATA[I have been trying to find a decent code formatting solution for a project I am doing with NetBeans. I tried Jalopy, but it could not match the power of the Code Formatte within Eclipse. I then found that some helpful chappy had made it possible to do Batch Code Formatting using Eclipse from the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been trying to find a decent code formatting solution for a project I am doing with NetBeans. I tried Jalopy, but it could not match the power of the Code Formatte within Eclipse. I then found that some helpful chappy had made it possible to do Batch Code Formatting using Eclipse from the command line. This would not do for what I wanted to do, so I looked at the source code and found that with some tweaking I could run this without having the Eclipse executable, only the core JARs. After that discovery I thought this would be a nice Ant Task and so I made a fairly simple one, which works for what I want to do.</p>
<p>You can download the code and JAR from <a href="http://www.darkedges.com/java/ant/JavaCodeFormatter.zip">http://www.darkedges.com/java/ant/JavaCodeFormatter.zip</a>  and use it in your Ant build file as follows.</p>
<p><code>&lt;taskdef name="jcf" classname="com.darkedges.ant.JavaCodeFormatterTask" classpathref="jcf.class.path" /&gt;<br />
&lt;jcf config="config/config.xml" verbose="true"&gt;<br />
&lt;fileset dir="src" includes="**/*.java" /&gt;<br />
&lt;/jcf&gt;</code></p>
<p>You can enable verbose and quiet mode by setting <code>verbose="true"</code> or <code>quiet="true"</code>.</p>
<p>Now I am not a great Ant Task writer, so please be gentle on my code, and I had to change 2 lines of code as I couldnot figure out how to initialise the <code>Platform </code>Object, so perhaps a bright spark can take what I have done and make it better.</p>
<p>One thing I would like to see is the Code Formatter only saving changes if there has been some code format changes, as otherwise Ant will recompile your code base again. Oh and there is also a Command Line version there too, I am just too busy to document this all at present</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nirving.com/2007/06/01/batch-code-formatting-using-eclipse-code-formatter-but-without-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JAR Class Finder</title>
		<link>http://www.nirving.com/2007/01/17/jar-class-finder/</link>
		<comments>http://www.nirving.com/2007/01/17/jar-class-finder/#comments</comments>
		<pubDate>Tue, 16 Jan 2007 22:40:11 +0000</pubDate>
		<dc:creator>nirving</dc:creator>
				<category><![CDATA[J2EE]]></category>

		<guid isPermaLink="false">http://www.nirving.com/2007/01/17/jar-class-finder/</guid>
		<description><![CDATA[alphaWorks : JAR Class Finder : Overview: A tool to aid in finding classes in JAR&#8217;s. Works in Eclipse 3.1+, although there is a version for lesser versions on there too.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alphaworks.ibm.com/tech/jarclassfinder">alphaWorks : JAR Class Finder : Overview</a>:<br />
A tool to aid in finding classes in JAR&#8217;s. Works in Eclipse 3.1+, although there is a version for lesser versions on there too.</p>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.nirving.com/2007/01/17/jar-class-finder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
