<?xml version="1.0" encoding="utf-8"?><!-- generator="b2evolution/6.9.7-stable" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Mr N - Latest Comments on Adding multiple Eclipse projects to Tomcat's classpath</title>
		<link>https://www.bigsoft.co.uk/blog/?disp=comments</link>
		<atom:link rel="self" type="application/rss+xml" href="https://www.bigsoft.co.uk/blog/?tempskin=_rss2&#38;disp=comments&#38;p=87" />
		<description></description>
		<language>en-GB</language>
		<docs>http://backend.userland.com/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=6.9.7-stable"/>
		<ttl>60</ttl>
		<item>
			<title> Prashanth Menon [Visitor] in response to: Adding multiple Eclipse projects to Tomcat's classpath</title>
			<pubDate>Sun, 10 May 2009 22:44:14 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_263">Prashanth Menon</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c263@https://www.bigsoft.co.uk/</guid>
			<description>Beautiful! This worked! Thanks a lot!!!!</description>
			<content:encoded><![CDATA[Beautiful! This worked! Thanks a lot!!!!]]></content:encoded>
			<link>https://www.bigsoft.co.uk/blog/2008/11/12/adding-multiple-eclipse-projects-to-tomc#c263</link>
		</item>
		<item>
			<title>davidnewcomb [Member] in response to: Adding multiple Eclipse projects to Tomcat's classpath</title>
			<pubDate>Mon, 05 Jan 2009 09:34:54 +0000</pubDate>
			<dc:creator><a href="https://www.bigsoft.co.uk/?disp=user&amp;user_ID=1" title="Show the user profile" class="login user nowrap" rel="bubbletip_user_1"><span class="identity_link_username">davidnewcomb</span></a> <span class="bUser-member-tag">[Member]</span></dc:creator>
			<guid isPermaLink="false">c217@https://www.bigsoft.co.uk/</guid>
			<description>&lt;p&gt;Just in case you and I are the only people suffering from this, I&amp;#8217;ve added a bug at Eclipse for this:&lt;/p&gt;
&lt;p&gt;Running Tomcat in debug mode fails to deploy properly with multiple projects:
&lt;a href=&quot;https://bugs.eclipse.org/bugs/show_bug.cgi?id=259938&quot;&gt;https://bugs.eclipse.org/bugs/show_bug.cgi?id=259938&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>Just in case you and I are the only people suffering from this, I&#8217;ve added a bug at Eclipse for this:</p>
<p>Running Tomcat in debug mode fails to deploy properly with multiple projects:
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=259938">https://bugs.eclipse.org/bugs/show_bug.cgi?id=259938</a></p>]]></content:encoded>
			<link>https://www.bigsoft.co.uk/blog/2008/11/12/adding-multiple-eclipse-projects-to-tomc#c217</link>
		</item>
		<item>
			<title>davidnewcomb [Member] in response to: Adding multiple Eclipse projects to Tomcat's classpath</title>
			<pubDate>Wed, 31 Dec 2008 02:06:28 +0000</pubDate>
			<dc:creator><a href="https://www.bigsoft.co.uk/?disp=user&amp;user_ID=1" title="Show the user profile" class="login user nowrap" rel="bubbletip_user_1"><span class="identity_link_username">davidnewcomb</span></a> <span class="bUser-member-tag">[Member]</span></dc:creator>
			<guid isPermaLink="false">c216@https://www.bigsoft.co.uk/</guid>
			<description>&lt;p&gt;I thought I had cracked it when I found a clue to the above solution. However in my haste to blog I had forgotten that I have previously copied the other project&amp;#8217;s class files into the correct place for another test! When I tried later to reproduce the solution I couldn&amp;#8217;t get it to work.
I left this blog up to provide another piece of the puzzle, in case someone else can find out how to do it.&lt;/p&gt;
&lt;p&gt;Although there is a light, I was recently talking to Mark Thomas (lead contributor to the Apache Tomcat project) [sorry about the shameless name dropping] and showed him. After a lot of fiddling he agreed that this was the solution, but there was a bug in Eclipse and the class files should be copying across. We were on a tight deadline and needed to get something working and found that the easiest thing to do was keep the projects separate and jar up the other project&amp;#8217;s classes and copy them into the WEB_INF/lib. Not an ideal solution, but at least you can run it in the debugger, hot recompiles are a bit flaky but it does the job.&lt;/p&gt;
&lt;p&gt;So I think the relevant people have been alerted, but if anyone else has any suggestions on what the current work-around is then please, please, pretty please tell us how.
So fingers crossed for the next release!&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>I thought I had cracked it when I found a clue to the above solution. However in my haste to blog I had forgotten that I have previously copied the other project&#8217;s class files into the correct place for another test! When I tried later to reproduce the solution I couldn&#8217;t get it to work.
I left this blog up to provide another piece of the puzzle, in case someone else can find out how to do it.</p>
<p>Although there is a light, I was recently talking to Mark Thomas (lead contributor to the Apache Tomcat project) [sorry about the shameless name dropping] and showed him. After a lot of fiddling he agreed that this was the solution, but there was a bug in Eclipse and the class files should be copying across. We were on a tight deadline and needed to get something working and found that the easiest thing to do was keep the projects separate and jar up the other project&#8217;s classes and copy them into the WEB_INF/lib. Not an ideal solution, but at least you can run it in the debugger, hot recompiles are a bit flaky but it does the job.</p>
<p>So I think the relevant people have been alerted, but if anyone else has any suggestions on what the current work-around is then please, please, pretty please tell us how.
So fingers crossed for the next release!</p>]]></content:encoded>
			<link>https://www.bigsoft.co.uk/blog/2008/11/12/adding-multiple-eclipse-projects-to-tomc#c216</link>
		</item>
		<item>
			<title> Broc [Visitor] in response to: Adding multiple Eclipse projects to Tomcat's classpath</title>
			<pubDate>Tue, 30 Dec 2008 15:02:06 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_215">Broc</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c215@https://www.bigsoft.co.uk/</guid>
			<description>&lt;p&gt;This is precisely what I am trying to accomplish. I am actively developing two java projects that I would normally compile into jar files when I go to production. But I simply want Tomcat to see these extra projects in its classpath while I develop in eclipse.&lt;/p&gt;
&lt;p&gt;Your above instructions seem to be the right solution, however, when I publish (or even do &amp;#8220;Clean&amp;#8230;&quot;) none of my classes are ever copied out to the tomcat directory. (e.g. to directory .metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\MyWebApp\WEB-INF\classes)&lt;/p&gt;
&lt;p&gt;I am using eclipse ganymede 3.4.1.&lt;/p&gt;
&lt;p&gt;Any other tricks or configs I am missing?&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>This is precisely what I am trying to accomplish. I am actively developing two java projects that I would normally compile into jar files when I go to production. But I simply want Tomcat to see these extra projects in its classpath while I develop in eclipse.</p>
<p>Your above instructions seem to be the right solution, however, when I publish (or even do &#8220;Clean&#8230;") none of my classes are ever copied out to the tomcat directory. (e.g. to directory .metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\MyWebApp\WEB-INF\classes)</p>
<p>I am using eclipse ganymede 3.4.1.</p>
<p>Any other tricks or configs I am missing?</p>]]></content:encoded>
			<link>https://www.bigsoft.co.uk/blog/2008/11/12/adding-multiple-eclipse-projects-to-tomc#c215</link>
		</item>
			</channel>
</rss>
