<?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>betweenGo &#187; Eclipse</title>
	<atom:link href="http://betweengo.com/category/tools/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://betweengo.com</link>
	<description>We make Ruby on Rails easy.  We make ATG easy.</description>
	<lastBuildDate>Thu, 24 Jun 2010 19:42:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debugging WebSphere Applications with IBM Rational Application Developer</title>
		<link>http://betweengo.com/2010/04/26/debugging-websphere-applications-with-ibm-rational-application-developer/</link>
		<comments>http://betweengo.com/2010/04/26/debugging-websphere-applications-with-ibm-rational-application-developer/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 13:53:00 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[rational application developer]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://betweengo.com/2010/04/26/debugging-websphere-applications-with-ibm-rational-application-developer/</guid>
		<description><![CDATA[IBM Rational Application Developer (RAD) is basically a typically IBM heavy version of Eclipse.&#160; WebSphere is a typically IBM heavy version of a J2EE server.&#160; Therefore you would think you could debug web applications using RAD fairly easily like you can on JBoss or ATG DAS using Eclipse.
However I could not find anyone on my [...]


Related posts:<ol><li><a href='http://betweengo.com/2009/07/27/debug-atg-running-on-jboss-with-eclipse/' rel='bookmark' title='Permanent Link: Debug ATG running on JBoss with Eclipse'>Debug ATG running on JBoss with Eclipse</a></li>
<li><a href='http://betweengo.com/2005/08/11/mysterious-404-errors-atg-j2ee-apps/' rel='bookmark' title='Permanent Link: Mysterious 404 errors in ATG J2EE applications'>Mysterious 404 errors in ATG J2EE applications</a></li>
<li><a href='http://betweengo.com/2006/04/04/howto-log-sql-on-jboss/' rel='bookmark' title='Permanent Link: How to Log SQL on JBoss'>How to Log SQL on JBoss</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a title="IBM Rational Application Developer for WebSphere" href="http://www.ibm.com/software/ad/studioappdev/">IBM Rational Application Developer (RAD)</a> is basically a typically IBM heavy version of <a title="Eclipse" href="http://eclipse.org/">Eclipse</a>.&#160; <a title="IBM WebSphere" href="http://www.ibm.com/websphere/">WebSphere</a> is a typically IBM heavy version of a J2EE server.&#160; Therefore you would think you could debug web applications using RAD fairly easily like you can on <a title="JBoss Application Server" href="http://jboss.org/jbossas">JBoss</a> or ATG DAS using Eclipse.</p>
<p>However I could not find anyone on my latest project who knew how to do this.&#160; Fortunately after much Googling I found this PDF document, <a title="Debugging Applications in IBM Rational Application Developer" href="http://publib.boulder.ibm.com/infocenter/ieduasst/rtnv1r0/topic/com.ibm.iea.rad_v6/rad/6.0/Debugging/IRADv6_DebugApplLocalLab.pdf">Debugging Applications in IBM Rational Application Developer</a>, and on page 12 are instructions on how to do this.</p>
<p>The instructions seem to be a little out of date so here are my instructions.</p>
<ol>
<li>Log into your Integrated Solutions Console.&#160; The default URL is <a title="http://localhost:9060/ibm/console/login.do" href="http://localhost:9060/ibm/console/login.do">http://localhost:9060/ibm/console/login.do</a>. </li>
<li>Navigate using the left side column to Servers –&gt; Application Servers. </li>
<li>Select the Application server you want to debug from the list of Application servers. </li>
<li>Under the Configuration tab select the Debugging Service link which is near the bottom right in the Additional Properties section.
<p><a href="http://betweengo.com/wp-content/uploads/2010/04/debugging_service.png"><img title="Debugging Service link in Additional Properties section" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="156" alt="Debugging Service link in Additional Properties section" src="http://betweengo.com/wp-content/uploads/2010/04/debugging_service_thumb.png" width="457" border="0" /></a>       </li>
<li>Select the “Enable service at server startup” checkbox.&#160; Note the JVM debug port.
<p><a href="http://betweengo.com/wp-content/uploads/2010/04/configuration.png"><img title="Debugging Service configuration" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="344" alt="Debugging Service configuration" src="http://betweengo.com/wp-content/uploads/2010/04/configuration_thumb.png" width="502" border="0" /></a>       </li>
<li>Press the Apply button. </li>
<li>In the Messages box, which appeared at the top after pressing the Apply button, click on the Save link.
<p><img title="Debugging Service messages" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="129" alt="Debugging Service messages" src="http://betweengo.com/wp-content/uploads/2010/04/messages.png" width="502" border="0" />       </li>
<li>Stop and start your Application Server.&#160; It should now be running in Debug mode. </li>
<li>In RAD go to the project for the web application you want to debug. </li>
<li>From the menu select Run –&gt; Debug Configurations. </li>
<li>Select Remote Java Application and press the New button (it’s the top left button).&#160; For the port set it to the JVM debug port (default is 7777). </li>
<li>Press Apply.&#160; Then press Debug.&#160; It should connect to WebSphere’s JVM. </li>
</ol>
<p>Now you can set breakpoints and even change small amounts of code which will be deployed automatically to WebSphere.&#160; No more waiting 15 minutes to test every change you make because builds are so brutally long. <img src='http://betweengo.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2009/07/27/debug-atg-running-on-jboss-with-eclipse/' rel='bookmark' title='Permanent Link: Debug ATG running on JBoss with Eclipse'>Debug ATG running on JBoss with Eclipse</a></li>
<li><a href='http://betweengo.com/2005/08/11/mysterious-404-errors-atg-j2ee-apps/' rel='bookmark' title='Permanent Link: Mysterious 404 errors in ATG J2EE applications'>Mysterious 404 errors in ATG J2EE applications</a></li>
<li><a href='http://betweengo.com/2006/04/04/howto-log-sql-on-jboss/' rel='bookmark' title='Permanent Link: How to Log SQL on JBoss'>How to Log SQL on JBoss</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2010/04/26/debugging-websphere-applications-with-ibm-rational-application-developer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Duplicating and Modifying Eclipse User Libraries</title>
		<link>http://betweengo.com/2009/08/19/duplicating-and-modifying-eclipse-user-libraries/</link>
		<comments>http://betweengo.com/2009/08/19/duplicating-and-modifying-eclipse-user-libraries/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 12:30:42 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[ATG]]></category>

		<guid isPermaLink="false">http://betweengo.com/2009/08/18/duplicating-and-modifying-eclipse-user-libraries/</guid>
		<description><![CDATA[
Eclipse user libraries are wonderfully convenient ways of packaging together related JAR files.  In my Eclipse I create user libraries for each ATG version I install.  As a consultant I am always installing different versions and today I installed ATG 9.0.
Normally I use the GUI to create the user library for the latest ATG server.  [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/06/13/eclipse-memory-settings/' rel='bookmark' title='Permanent Link: Eclipse memory settings'>Eclipse memory settings</a></li>
<li><a href='http://betweengo.com/2007/04/13/eclipse-wont-start-after-windows-shutdown/' rel='bookmark' title='Permanent Link: Eclipse won&#8217;t start after Windows shutdown'>Eclipse won&#8217;t start after Windows shutdown</a></li>
<li><a href='http://betweengo.com/2008/07/18/maven-integration-for-eclipse/' rel='bookmark' title='Permanent Link: Maven Integration for Eclipse'>Maven Integration for Eclipse</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><a href="http://www.flickr.com/photos/annafur/2863412639/"><img title="Twilight books on Flickr" src="http://farm4.static.flickr.com/3165/2863412639_5d93555b23.jpg" alt="Twilight books on Flickr" /></a></p>
<p><a title="User Libraries in Eclipse" href="http://i-proving.ca/space/BC+Holmes/blog/2006-07-18_1">Eclipse user libraries</a> are wonderfully convenient ways of packaging together related JAR files.  In my Eclipse I create user libraries for each ATG version I install.  As a consultant I am always installing different versions and today I installed ATG 9.0.</p>
<p>Normally I use the GUI to create the user library for the latest ATG server.  However I thought this is quite inefficient because I already have user libraries for previous versions of the ATG server.  I just need to duplicate one of the other ATG user libraries and then tweak the duplicate to have the right path to the JAR files.</p>
<p>Unfortunately the Eclipse GUI does not provide a way to duplicate a library.  So I searched in my workspace files and found in my <tt>.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs</tt> file the settings for all my user libraries.</p>
<p>I then edited that file and copied an entry for an older ATG library, org.eclipse.jdt.core.userLibrary.ATG\ 2007.1.  I renamed it org.eclipse.jdt.core.userLibrary.ATG\ 9.0 and updated the paths to where ATG 9.0 is installed and I was done!</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/06/13/eclipse-memory-settings/' rel='bookmark' title='Permanent Link: Eclipse memory settings'>Eclipse memory settings</a></li>
<li><a href='http://betweengo.com/2007/04/13/eclipse-wont-start-after-windows-shutdown/' rel='bookmark' title='Permanent Link: Eclipse won&#8217;t start after Windows shutdown'>Eclipse won&#8217;t start after Windows shutdown</a></li>
<li><a href='http://betweengo.com/2008/07/18/maven-integration-for-eclipse/' rel='bookmark' title='Permanent Link: Maven Integration for Eclipse'>Maven Integration for Eclipse</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2009/08/19/duplicating-and-modifying-eclipse-user-libraries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spaces, not Tabs</title>
		<link>http://betweengo.com/2008/08/01/spaces-not-tabs/</link>
		<comments>http://betweengo.com/2008/08/01/spaces-not-tabs/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 14:33:08 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=253</guid>
		<description><![CDATA[The holy war about spaces or tabs continues and you can see all sorts of arguments for each side raging around the internet.
I prefer spaces because it&#8217;s a consistent format that remains the same no matter what you are using.  With tabs things appear differently depending on how your editor or other program is configured.  [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/07/18/eclipse-ganymede/' rel='bookmark' title='Permanent Link: Eclipse Ganymede'>Eclipse Ganymede</a></li>
<li><a href='http://betweengo.com/2008/05/09/maven-assembly-shell-scripts-unix-lf/' rel='bookmark' title='Permanent Link: Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s'>Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s</a></li>
<li><a href='http://betweengo.com/2006/03/29/jdbc-plugins-for-eclipse/' rel='bookmark' title='Permanent Link: JDBC Plugins for Eclipse'>JDBC Plugins for Eclipse</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The holy war about spaces or tabs continues and you can see all sorts of arguments for each side raging around the internet.</p>
<p>I prefer spaces because it&#8217;s a consistent format that remains the same no matter what you are using.  With tabs things appear differently depending on how your editor or other program is configured.  Plus the worst thing is when spaces and tabs get intermixed.</p>
<p>Arguments for tabs such as they take up less room or it&#8217;s easier to move around are in my mind weak.  In this day of terabyte disk drive, file size differences between tabs and spaces are trivial and most of your disk space is taken up by images and binary files anyway.  And being able to move around and format quickly is not an issue either with modern editors.</p>
<p>The two editors I use most are XEmacs and Eclipse.  Below I describe how to use spaces for indents for each program.</p>
<p>In Emacs:</p>
<pre>(setq-default indent-tabs-mode nil)  ; Use spaces for indents except
                                     ; in buffers that already have
                                     ; their own local values for the
                                     ; variable.</pre>
<p>In Eclipse:</p>
<p><img class="aligncenter size-full wp-image-254" title="Eclipse Text Editor Preferences" src="http://betweengo.com/wp-content/uploads/2008/08/eclipse_text_editor_prefs.jpg" alt="" width="500" height="501" /></p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/07/18/eclipse-ganymede/' rel='bookmark' title='Permanent Link: Eclipse Ganymede'>Eclipse Ganymede</a></li>
<li><a href='http://betweengo.com/2008/05/09/maven-assembly-shell-scripts-unix-lf/' rel='bookmark' title='Permanent Link: Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s'>Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s</a></li>
<li><a href='http://betweengo.com/2006/03/29/jdbc-plugins-for-eclipse/' rel='bookmark' title='Permanent Link: JDBC Plugins for Eclipse'>JDBC Plugins for Eclipse</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/08/01/spaces-not-tabs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Ganymede</title>
		<link>http://betweengo.com/2008/07/18/eclipse-ganymede/</link>
		<comments>http://betweengo.com/2008/07/18/eclipse-ganymede/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 23:22:24 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=212</guid>
		<description><![CDATA[I was about to write a post about how much I was starting to dislike Eclipse.  Two years ago I was singing the praises of Eclipse but Eclipse Europa (version 3.3) in my opinion has been a disaster.  It is incredibly slow, crashes often, runs out of memory, etc.  I found myself [...]


Related posts:<ol><li><a href='http://betweengo.com/2006/08/22/eclipse-serial-version-uid-bug/' rel='bookmark' title='Permanent Link: Eclipse Serial Version UID Bug'>Eclipse Serial Version UID Bug</a></li>
<li><a href='http://betweengo.com/2008/07/18/maven-integration-for-eclipse/' rel='bookmark' title='Permanent Link: Maven Integration for Eclipse'>Maven Integration for Eclipse</a></li>
<li><a href='http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/' rel='bookmark' title='Permanent Link: Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER'>Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was about to write a post about how much I was starting to dislike Eclipse.  Two years ago I was singing the praises of Eclipse but Eclipse Europa (version 3.3) in my opinion has been a disaster.  It is incredibly slow, crashes often, runs out of memory, etc.  I found myself at times using XEmacs instead because it was faster.</p>
<p>But today I installed <a title="Eclipse Ganymede Release" href="http://www.eclipse.org/ganymede/">Eclipse Ganymede (version 3.4)</a> and so far life has been much better.  It is much more responsive, it is not crashing, things are running smoothly.   You can read about what is <a title="Eclipse 3.4 - New and Noteworthy" href="http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/whatsnew3.4/eclipse-news.html">New and Noteworthy</a> in Ganymede.  The most exciting new feature to me is the <a title="Eclipse 3.4 - New and Noteworthy - Retain case of match when replacing" href="http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/whatsnew3.4/eclipse-news-part1.html#retainCase">Retain case of match when replacing</a>, just like XEmacs.</p>
<p>Also I noticed that in my JBoss project, hot swapping of code is again working.  I am not sure if this is because I upgraded to Ganymede or because I turned on &#8220;Build Automatically&#8221;.  I suspect it might be the latter.</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2006/08/22/eclipse-serial-version-uid-bug/' rel='bookmark' title='Permanent Link: Eclipse Serial Version UID Bug'>Eclipse Serial Version UID Bug</a></li>
<li><a href='http://betweengo.com/2008/07/18/maven-integration-for-eclipse/' rel='bookmark' title='Permanent Link: Maven Integration for Eclipse'>Maven Integration for Eclipse</a></li>
<li><a href='http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/' rel='bookmark' title='Permanent Link: Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER'>Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/07/18/eclipse-ganymede/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maven Integration for Eclipse</title>
		<link>http://betweengo.com/2008/07/18/maven-integration-for-eclipse/</link>
		<comments>http://betweengo.com/2008/07/18/maven-integration-for-eclipse/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 15:50:18 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=211</guid>
		<description><![CDATA[Previously I was using an old Maven integration for Eclipse, version 0.0.11, which I got from http://m2eclipse.codehaus.org/update.  The plugin was horribly slow and seemed to sometimes interfere with my builds.
Today I upgraded to the latest, version 0.9.4, from http://m2eclipse.sonatype.org/update/ and things are moving much more smoothly.  You can learn more at Maven Integration for Eclipse.
In [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/' rel='bookmark' title='Permanent Link: Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER'>Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER</a></li>
<li><a href='http://betweengo.com/2008/05/09/maven-assembly-shell-scripts-unix-lf/' rel='bookmark' title='Permanent Link: Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s'>Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s</a></li>
<li><a href='http://betweengo.com/2006/02/22/import-project-into-eclipse/' rel='bookmark' title='Permanent Link: Import A Project Into Eclipse'>Import A Project Into Eclipse</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Previously I was using an old Maven integration for Eclipse, version 0.0.11, which I got from <a title="http://m2eclipse.codehaus.org/update/" href="http://m2eclipse.codehaus.org/update/">http://m2eclipse.codehaus.org/update</a>.  The plugin was horribly slow and seemed to sometimes interfere with my builds.</p>
<p>Today I upgraded to the latest, version 0.9.4, from <a title="http://m2eclipse.sonatype.org/update/" href="http://m2eclipse.sonatype.org/update/">http://m2eclipse.sonatype.org/update/</a> and things are moving much more smoothly.  You can learn more at <a title="Maven Integration for Eclipse" href="http://m2eclipse.codehaus.org/">Maven Integration for Eclipse</a>.</p>
<p>In Windows &gt; Preferences &gt; Maven I only turned on Download Artifact Sources and Download Artifiact JavaDoc.  Download repository index updates on startup is on by default but I turned it off after receiving this advice from a fellow developer, <a title="Bill Crook - LinkedIn" href="http://www.linkedin.com/pub/1/a32/b70">Bill Crook</a>.</p>
<blockquote><p>It&#8217;s unclear to me how  the m2 plugin uses the indexes so I don&#8217;t think I can answer you. <img src='http://betweengo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Enabling it  causes the plugin to rescan the entire repository if i remember correctly. I  personally am not willing to have Eclipse do a full file scan of the local  repository each time i start for unknown reasons. if you don&#8217;t mind the incurred  overhead, go ahead and enable it!</p></blockquote>
<p>The Maven plugin has a nice dependency feature which <a title="Bill Crook" href="http://billcrook.com/">Bill Crook</a> explains well.</p>
<blockquote><p>There will come a time when you need to work on two projects simultaneously. Additionally, there will probably be a dependency from one project to another. The key to doing this effectively is understanding workspace resolution. Workspace resolution is a concept of the m2eclipse plugin. The way this works is that the plugin scans all projects in your workspace and analyzes the poms. Based on group and artifact ID&#8217;s the plugin will know if there are interdependencies between your projects. Once the plugin has successfully detected the dependency between projects, you can jump from one project source into another when jumping into methods (via control-click or F3).</p>
<p>There is one important caveat to this, versions. In addition to looking at group and artifact ID&#8217;s, the m2eclipse plugin will look at versions to determine if the project for a dependency is in the current workspace. Because of this you must make sure the versions match. Let&#8217;s take the example of projects A and B in your workspace. Assume A has a dependency on version 2.0.0.1 of B. Now, if the version of project B in your workspace is 3.0-SNAPSHOT, workspace resolution <strong>will NOT work</strong>. Can you figure out how to make this work? If you guessed, update the pom of project A to depend on 3.0-SNAPSHOT, you are correct. The moral of the story is be aware of versions when trying to get workspace resolution working.</p>
<p>You will know that workspace resolution is <em>not</em> functioning properly if you see duplicates of the same class when doing searches with control-shift-t. This behavior makes sense when you think about it as Eclipse sees two of these classes in your workspace. For example, continuing with projects A and B as above, let&#8217;s assume there is a class Foo in project B. Eclipse would find class Foo in project B source (as java source in your workspace) as well as in version 2.0.0.1 of B (as a class file in jar dependency).</p></blockquote>
<p>Now if someone would improve the Perforce plugin&#8230;</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/' rel='bookmark' title='Permanent Link: Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER'>Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER</a></li>
<li><a href='http://betweengo.com/2008/05/09/maven-assembly-shell-scripts-unix-lf/' rel='bookmark' title='Permanent Link: Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s'>Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s</a></li>
<li><a href='http://betweengo.com/2006/02/22/import-project-into-eclipse/' rel='bookmark' title='Permanent Link: Import A Project Into Eclipse'>Import A Project Into Eclipse</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/07/18/maven-integration-for-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse memory settings</title>
		<link>http://betweengo.com/2008/06/13/eclipse-memory-settings/</link>
		<comments>http://betweengo.com/2008/06/13/eclipse-memory-settings/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 23:56:47 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=199</guid>
		<description><![CDATA[Recently I have been having problems with Eclipse running out of memory.
Previously I had as my command line argument for Eclipse.
eclipse.exe -vmargs --Xmx512m
The double dashes were a problem, preventing Eclipse to properly load the correct memory settings from eclipse.ini.
I then removed the -vmargs &#8211;Xmx512m from the command line argument and instead modified eclipse.ini which is [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/07/18/eclipse-ganymede/' rel='bookmark' title='Permanent Link: Eclipse Ganymede'>Eclipse Ganymede</a></li>
<li><a href='http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/' rel='bookmark' title='Permanent Link: Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER'>Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER</a></li>
<li><a href='http://betweengo.com/2009/08/19/duplicating-and-modifying-eclipse-user-libraries/' rel='bookmark' title='Permanent Link: Duplicating and Modifying Eclipse User Libraries'>Duplicating and Modifying Eclipse User Libraries</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently I have been having problems with Eclipse running out of memory.</p>
<p>Previously I had as my command line argument for Eclipse.</p>
<pre>eclipse.exe -vmargs --Xmx512m</pre>
<p>The double dashes were a problem, preventing Eclipse to properly load the correct memory settings from eclipse.ini.</p>
<p>I then removed the -vmargs &#8211;Xmx512m from the command line argument and instead modified eclipse.ini which is in the top level of the Eclipse installation.  This blog article, <a title="Eclipse and memory settings" href="http://blog.xam.dk/archives/68-Eclipse-and-memory-settings.html">Eclipse and memory settings</a>, explains how you should put each argument on a separate line and that you can go to Help &gt; About Eclipse Platform and then click on the Configuration Details button to check that Eclipse is running with the correct settings.</p>
<p>I changed this:</p>
<pre>-Xms40m
-Xmx512m</pre>
<p>to:</p>
<pre>-Xms120m
-Xmx1024m</pre>
<p>but I reverted back when I realized it was my original command line argument that was the problem.</p>
<p>I tried to use these settings as recommended in this forum, <a title="[news.eclipse.tools.jdt] Re: How to prevent out of memory errors?" href="http://dev.eclipse.org/newslists/news.eclipse.tools.jdt/msg19670.html">[news.eclipse.tools.jdt] Re: How to prevent out of memory errors?</a></p>
<pre>-Xms120m
-Xmx1024m
-XX:PermSize=256M
-XX:MaxPermSize=512M</pre>
<p>But for some reason that kept crashing the Eclipse startup.</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/07/18/eclipse-ganymede/' rel='bookmark' title='Permanent Link: Eclipse Ganymede'>Eclipse Ganymede</a></li>
<li><a href='http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/' rel='bookmark' title='Permanent Link: Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER'>Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER</a></li>
<li><a href='http://betweengo.com/2009/08/19/duplicating-and-modifying-eclipse-user-libraries/' rel='bookmark' title='Permanent Link: Duplicating and Modifying Eclipse User Libraries'>Duplicating and Modifying Eclipse User Libraries</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/06/13/eclipse-memory-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s</title>
		<link>http://betweengo.com/2008/05/09/maven-assembly-shell-scripts-unix-lf/</link>
		<comments>http://betweengo.com/2008/05/09/maven-assembly-shell-scripts-unix-lf/#comments</comments>
		<pubDate>Fri, 09 May 2008 19:52:19 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=180</guid>
		<description><![CDATA[In a previous post, Shell Scripts with Windows LF’s Fail in Latest Cygwin, I wrote about how to use Perforce to check out all files in UNIX format.  However if you use Eclipse then this solution will not work because Eclipse always inserts Windows LF&#8217;s in any line you insert into a file leading [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/05/05/scripts-with-win-lfs-fail-cygwin/' rel='bookmark' title='Permanent Link: Shell Scripts with Windows LF&#8217;s Fail in Latest Cygwin'>Shell Scripts with Windows LF&#8217;s Fail in Latest Cygwin</a></li>
<li><a href='http://betweengo.com/2007/03/07/cygwin-bash-cannot-execute-dos-formatted-scripts/' rel='bookmark' title='Permanent Link: Cygwin Bash cannot execute DOS formatted scripts'>Cygwin Bash cannot execute DOS formatted scripts</a></li>
<li><a href='http://betweengo.com/2008/08/08/cygwin-bash-scripts-and-java/' rel='bookmark' title='Permanent Link: Cygwin Bash Scripts and Java'>Cygwin Bash Scripts and Java</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In a previous post, <a title="Shell Scripts with Windows LF’s Fail in Latest Cygwin" href="http://betweengo.com/cygwin/2008/05/05/scripts-with-win-lfs-fail-cygwin/">Shell Scripts with Windows LF’s Fail in Latest Cygwin</a>, I wrote about how to use Perforce to check out all files in UNIX format.  However if you use Eclipse then this solution will not work because Eclipse always inserts Windows LF&#8217;s in any line you insert into a file leading to a mess with files that have both UNIX and Windows LF&#8217;s.</p>
<p>However if you happen to use Maven to generate / copy your shell scripts to their target directories you can take advantage of the <a title="Maven Assembly Plugin - file" href="http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_file">lineEnding</a> property in the <a title="Maven Assembly Plugin" href="http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html">Assembly Director</a>.  If you specify the lineEnding property to be &#8220;unix&#8221; then the outputted shell scripts will be in UNIX format.  For example:</p>
<pre>&lt;file&gt;
  &lt;source&gt;src/main/scripts/foo.sh&lt;/source&gt;
  &lt;outputDirectory&gt;bin&lt;/outputDirectory&gt;
  &lt;lineEnding&gt;unix&lt;/lineEnding&gt;
&lt;/file&gt;</pre>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/05/05/scripts-with-win-lfs-fail-cygwin/' rel='bookmark' title='Permanent Link: Shell Scripts with Windows LF&#8217;s Fail in Latest Cygwin'>Shell Scripts with Windows LF&#8217;s Fail in Latest Cygwin</a></li>
<li><a href='http://betweengo.com/2007/03/07/cygwin-bash-cannot-execute-dos-formatted-scripts/' rel='bookmark' title='Permanent Link: Cygwin Bash cannot execute DOS formatted scripts'>Cygwin Bash cannot execute DOS formatted scripts</a></li>
<li><a href='http://betweengo.com/2008/08/08/cygwin-bash-scripts-and-java/' rel='bookmark' title='Permanent Link: Cygwin Bash Scripts and Java'>Cygwin Bash Scripts and Java</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/05/09/maven-assembly-shell-scripts-unix-lf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER</title>
		<link>http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/</link>
		<comments>http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 23:46:22 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=174</guid>
		<description><![CDATA[Eclipse was complaining in its Java Build Path panel that it did not know what MAVEN2_CLASSPATH_CONTAINER was.  Searching around I realized that it was because I had not installed the Maven plugin.
After installing and restarting I went to Project &#62; Update All Maven Dependencies to pull down all the dependencies.


Related posts:Maven Integration for Eclipse
Eclipse [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/07/18/maven-integration-for-eclipse/' rel='bookmark' title='Permanent Link: Maven Integration for Eclipse'>Maven Integration for Eclipse</a></li>
<li><a href='http://betweengo.com/2006/08/22/eclipse-serial-version-uid-bug/' rel='bookmark' title='Permanent Link: Eclipse Serial Version UID Bug'>Eclipse Serial Version UID Bug</a></li>
<li><a href='http://betweengo.com/2008/07/18/eclipse-ganymede/' rel='bookmark' title='Permanent Link: Eclipse Ganymede'>Eclipse Ganymede</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Eclipse was complaining in its Java Build Path panel that it did not know what MAVEN2_CLASSPATH_CONTAINER was.  Searching around I realized that it was because I had not installed the <a title=" Maven Integration for Eclipse" href="http://m2eclipse.codehaus.org/">Maven plugin</a>.</p>
<p>After installing and restarting I went to Project &gt; Update All Maven Dependencies to pull down all the dependencies.</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/07/18/maven-integration-for-eclipse/' rel='bookmark' title='Permanent Link: Maven Integration for Eclipse'>Maven Integration for Eclipse</a></li>
<li><a href='http://betweengo.com/2006/08/22/eclipse-serial-version-uid-bug/' rel='bookmark' title='Permanent Link: Eclipse Serial Version UID Bug'>Eclipse Serial Version UID Bug</a></li>
<li><a href='http://betweengo.com/2008/07/18/eclipse-ganymede/' rel='bookmark' title='Permanent Link: Eclipse Ganymede'>Eclipse Ganymede</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse won&#8217;t start after Windows shutdown</title>
		<link>http://betweengo.com/2007/04/13/eclipse-wont-start-after-windows-shutdown/</link>
		<comments>http://betweengo.com/2007/04/13/eclipse-wont-start-after-windows-shutdown/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 17:47:21 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Perforce]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=107</guid>
		<description><![CDATA[My laptop unexpectedly shutdown when I had Eclipse open.  After rebooting I could not start Eclipse.  Instead it kept crashing with the message &#8220;An error has occurred. See the log file &#8230;&#8221;  Looking at the log file I saw errors related to the Perforce plugin.
java.lang.NoClassDefFoundError
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.ui.internal.themes.ThemeElementHelper.installFont(ThemeElementHelper.java:101)
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.compatibility.PluginActivator.start() of bundle com.perforce.team.ui.
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;at [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/07/18/maven-integration-for-eclipse/' rel='bookmark' title='Permanent Link: Maven Integration for Eclipse'>Maven Integration for Eclipse</a></li>
<li><a href='http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/' rel='bookmark' title='Permanent Link: Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER'>Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER</a></li>
<li><a href='http://betweengo.com/2008/05/09/maven-assembly-shell-scripts-unix-lf/' rel='bookmark' title='Permanent Link: Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s'>Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>My laptop unexpectedly shutdown when I had Eclipse open.  After rebooting I could not start Eclipse.  Instead it kept crashing with the message &#8220;An error has occurred. See the log file &#8230;&#8221;  Looking at the log file I saw errors related to the Perforce plugin.</p>
<blockquote><p><code>java.lang.NoClassDefFoundError<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at org.eclipse.ui.internal.themes.ThemeElementHelper.installFont(ThemeElementHelper.java:101)</p>
<p>org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.compatibility.PluginActivator.start() of bundle com.perforce.team.ui.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)<br />
Caused by: java.lang.ExceptionInInitializerError<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at com.perforce.team.ui.PerforceUIPlugin.initializeDefaultPreferences(PerforceUIPlugin.java:284)</code></p></blockquote>
<p>I saw a <a href="http://www.myeclipseide.com/index.php?name=PNphpBB2&#038;file=viewtopic&#038;t=16692&#038;start=0&#038;postdays=0&#038;postorder=asc&#038;highlight=">post</a> about this problem which referred to another <a href="http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10280.html">post</a> for a solution.  Basically the post suggests that stale plugin cache information is causing the problem and suggests starting Eclipse with the -clean argument.   After doing this I was successfully able to launch Eclipse.</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/07/18/maven-integration-for-eclipse/' rel='bookmark' title='Permanent Link: Maven Integration for Eclipse'>Maven Integration for Eclipse</a></li>
<li><a href='http://betweengo.com/2008/04/22/eclipse-does-not-understand-maven2_classpath_container/' rel='bookmark' title='Permanent Link: Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER'>Eclipse does not understand MAVEN2_CLASSPATH_CONTAINER</a></li>
<li><a href='http://betweengo.com/2008/05/09/maven-assembly-shell-scripts-unix-lf/' rel='bookmark' title='Permanent Link: Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s'>Maven Assembly Convert Shell Scripts to use UNIX LF&#8217;s</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2007/04/13/eclipse-wont-start-after-windows-shutdown/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Eclipse Serial Version UID Bug</title>
		<link>http://betweengo.com/2006/08/22/eclipse-serial-version-uid-bug/</link>
		<comments>http://betweengo.com/2006/08/22/eclipse-serial-version-uid-bug/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 01:58:09 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://betweengo.com/uncategorized/2006/08/22/eclipse-serial-version-uid-bug/</guid>
		<description><![CDATA[Currently there is a bug with Eclipse and generating the serial version UID.  When attempting to generate a serial version UID you will see a dialogue window which says &#8220;Computing serial version ID&#8230;.&#8221; and &#8220;Starting virtual machine&#8230;&#8221;.  Unfortunately this hangs and you are forced to kill your Eclipse IDE.  I started seeing [...]


Related posts:<ol><li><a href='http://betweengo.com/2005/07/30/serialver/' rel='bookmark' title='Permanent Link: Serial Version UID'>Serial Version UID</a></li>
<li><a href='http://betweengo.com/2006/03/29/jdbc-plugins-for-eclipse/' rel='bookmark' title='Permanent Link: JDBC Plugins for Eclipse'>JDBC Plugins for Eclipse</a></li>
<li><a href='http://betweengo.com/2008/07/18/eclipse-ganymede/' rel='bookmark' title='Permanent Link: Eclipse Ganymede'>Eclipse Ganymede</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Currently there is a <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=102492">bug</a> with Eclipse and generating the serial version UID.  When attempting to generate a serial version UID you will see a dialogue window which says &#8220;Computing serial version ID&#8230;.&#8221; and &#8220;Starting virtual machine&#8230;&#8221;.  Unfortunately this hangs and you are forced to kill your Eclipse IDE.  I started seeing this bug after installing some JDBC plugins and the GEF plugin, I&#8217;m not sure if it&#8217;s related to that.  I tried disabling the plugins but I still see the problem.  Before I wasn&#8217;t having this problem.</p>
<p>I noticed that I haven&#8217;t encountered this problem on other installations of Eclipse, even w/ the JDBC plugins, so could just be that I have a bad build of Eclipse.</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2005/07/30/serialver/' rel='bookmark' title='Permanent Link: Serial Version UID'>Serial Version UID</a></li>
<li><a href='http://betweengo.com/2006/03/29/jdbc-plugins-for-eclipse/' rel='bookmark' title='Permanent Link: JDBC Plugins for Eclipse'>JDBC Plugins for Eclipse</a></li>
<li><a href='http://betweengo.com/2008/07/18/eclipse-ganymede/' rel='bookmark' title='Permanent Link: Eclipse Ganymede'>Eclipse Ganymede</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2006/08/22/eclipse-serial-version-uid-bug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->