<?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>Ketan&#039;s Musings &#187; class-finder</title>
	<atom:link href="http://ketan.padegaonkar.name/tag/class-finder/feed" rel="self" type="application/rss+xml" />
	<link>http://ketan.padegaonkar.name</link>
	<description>Where he blogs about his eclipse musings</description>
	<lastBuildDate>Fri, 23 Jul 2010 16:03:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Finding a Class in a ton of jars</title>
		<link>http://ketan.padegaonkar.name/2007/07/26/finding-a-class-in-a-ton-of-jars.html</link>
		<comments>http://ketan.padegaonkar.name/2007/07/26/finding-a-class-in-a-ton-of-jars.html#comments</comments>
		<pubDate>Thu, 26 Jul 2007 03:46:42 +0000</pubDate>
		<dc:creator>Ketan</dc:creator>
				<category><![CDATA[GNU & Linux]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[class-finder]]></category>
		<category><![CDATA[jar-finder]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://ketan.padegaonkar.name/2007/07/26/finding-a-class-in-a-ton-of-jars.html</guid>
		<description><![CDATA[This is how I do it. Create a script I call it findclass in some location on the path. /usr/local/bin is a good place, I prefer $HOME/bin. Remember to chmod this script to 755. #!/bin/bash find -iname "*.jar" &#124; xargs -i unzip -l {} &#124; less In case you are new to less, here&#8217;s how [...]]]></description>
			<content:encoded><![CDATA[<p>This is how I do it. Create a script I call it findclass in some location on the path. /usr/local/bin is a good place, I prefer $HOME/bin. Remember to chmod this script to 755.</p>
<pre>
#!/bin/bash
find -iname "*.jar" | xargs -i unzip -l {} | less
</pre>
<p>In case you are new to less, here&#8217;s how you navigate:<br />
1. To find a particular class say com.xyz.abc.MyClass, you type:
<pre>/com.xyz.abc.MyClass</pre>
<p>2. To find what jar contains this class, you type:
<pre>?Archive:</pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://ketan.padegaonkar.name/2007/07/26/finding-a-class-in-a-ton-of-jars.html&amp;title=Finding+a+Class+in+a+ton+of+jars" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://ketan.padegaonkar.name/2007/07/26/finding-a-class-in-a-ton-of-jars.html&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://ketan.padegaonkar.name/2007/07/26/finding-a-class-in-a-ton-of-jars.html&amp;title=Finding+a+Class+in+a+ton+of+jars" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=RT+%40ketanpkr+Finding+a+Class+in+a+ton+of+jars+-+http://bit.ly/ar7iDR&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://ketan.padegaonkar.name/2007/07/26/finding-a-class-in-a-ton-of-jars.html&amp;t=Finding+a+Class+in+a+ton+of+jars" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://ketan.padegaonkar.name/2007/07/26/finding-a-class-in-a-ton-of-jars.html&amp;title=Finding+a+Class+in+a+ton+of+jars&amp;description=This%20is%20how%20I%20do%20it.%20Create%20a%20script%20I%20call%20it%20findclass%20in%20some%20location%20on%20the%20path.%20%2Fusr%2Flocal%2Fbin%20is%20a%20good%20place%2C%20I%20prefer%20%24HOME%2Fbin.%20Remember%20to%20chmod%20this%20script%20to%20755.%0A%0A%0A%23%21%2Fbin%2Fbash%0Afind%20-iname%20%22%2A.jar%22%20%7C%20xargs%20-i%20unzip%20-l%20%7B%7D%20%7C%20less%0A%0A%0AIn%20case%20you%20are%20new%20to%20less%2C%20here%27s%20how%20you%20navigate%3A%0A1.%20" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://ketan.padegaonkar.name/2007/07/26/finding-a-class-in-a-ton-of-jars.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
