<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to Tell Where Eclipse Finds a Class?</title>
	<atom:link href="http://www.elharo.com/blog/software-development/java/2009/01/03/how-to-tell-where-eclipse-finds-a-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elharo.com/blog/software-development/java/2009/01/03/how-to-tell-where-eclipse-finds-a-class/</link>
	<description>Ranting and Raving</description>
	<lastBuildDate>Mon, 30 Aug 2010 19:51:26 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lorenzo Gatti</title>
		<link>http://www.elharo.com/blog/software-development/java/2009/01/03/how-to-tell-where-eclipse-finds-a-class/comment-page-1/#comment-622174</link>
		<dc:creator>Lorenzo Gatti</dc:creator>
		<pubDate>Sun, 04 Jan 2009 14:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/?p=1001934#comment-622174</guid>
		<description>If there are multiple copies of one class in the workspace, Open Type (Ctrl-T) shows all of them with their location, which is only a partial clarification. It happens to me all the time because I access many projects both as sources for modification and as read-only JARs (not as project dependencies) from other projects.

I&#039;d rather recommend Open Declaration (F3) and related commands, since they respect the imports of the source file you start from and the classpath of the enclosing project.

However, there is no direct relationship between Eclipse&#039;s model and the runtime classpath of your tests; XML-related libraries, with their balkanized JARs, obsolete packages, multiple versions and complicated loading mechanisms, are a common source of race conditions (the class that is loaded first determines subsequent classloading).</description>
		<content:encoded><![CDATA[<p>If there are multiple copies of one class in the workspace, Open Type (Ctrl-T) shows all of them with their location, which is only a partial clarification. It happens to me all the time because I access many projects both as sources for modification and as read-only JARs (not as project dependencies) from other projects.</p>
<p>I&#8217;d rather recommend Open Declaration (F3) and related commands, since they respect the imports of the source file you start from and the classpath of the enclosing project.</p>
<p>However, there is no direct relationship between Eclipse&#8217;s model and the runtime classpath of your tests; XML-related libraries, with their balkanized JARs, obsolete packages, multiple versions and complicated loading mechanisms, are a common source of race conditions (the class that is loaded first determines subsequent classloading).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliotte Rusty Harold</title>
		<link>http://www.elharo.com/blog/software-development/java/2009/01/03/how-to-tell-where-eclipse-finds-a-class/comment-page-1/#comment-622167</link>
		<dc:creator>Elliotte Rusty Harold</dc:creator>
		<pubDate>Sun, 04 Jan 2009 14:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/?p=1001934#comment-622167</guid>
		<description>Thanks. That did the trick. Looks like it&#039;s coming from the Java 1.4.2 class libraries. Now the next question is how those are ending up in my classpath, and how this only happens for some of the unit tests but not others. Still digging...</description>
		<content:encoded><![CDATA[<p>Thanks. That did the trick. Looks like it&#8217;s coming from the Java 1.4.2 class libraries. Now the next question is how those are ending up in my classpath, and how this only happens for some of the unit tests but not others. Still digging&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luís Miranda</title>
		<link>http://www.elharo.com/blog/software-development/java/2009/01/03/how-to-tell-where-eclipse-finds-a-class/comment-page-1/#comment-622148</link>
		<dc:creator>Luís Miranda</dc:creator>
		<pubDate>Sun, 04 Jan 2009 12:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/?p=1001934#comment-622148</guid>
		<description>Try this: highlight the class name, then select &lt;i&gt;Open Type&lt;/i&gt; from the &lt;i&gt;Navigate&lt;/i&gt; menu. When you select a class name from the list, the JAR / source directory is displayed near the bottom of the &lt;i&gt;Open Type&lt;/i&gt; dialogue.</description>
		<content:encoded><![CDATA[<p>Try this: highlight the class name, then select <i>Open Type</i> from the <i>Navigate</i> menu. When you select a class name from the list, the JAR / source directory is displayed near the bottom of the <i>Open Type</i> dialogue.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
