<?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: Deploying GWT Applications in SpringSource dm Server &#8211; Part 2</title>
	<atom:link href="http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/</link>
	<description>The voice of SpringSource</description>
	<lastBuildDate>Fri, 19 Mar 2010 05:36:47 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ben Corrie</title>
		<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/comment-page-1/#comment-134653</link>
		<dc:creator>Ben Corrie</dc:creator>
		<pubDate>Fri, 26 Dec 2008 05:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=569#comment-134653</guid>
		<description>Ted, yes - Maven is tricky like that. You might want to look at my Testing section in Part 3 because I discuss exactly that problem and how to solve it. However, seems like you already did.

Ben</description>
		<content:encoded><![CDATA[<p>Ted, yes &#8211; Maven is tricky like that. You might want to look at my Testing section in Part 3 because I discuss exactly that problem and how to solve it. However, seems like you already did.</p>
<p>Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Slusser</title>
		<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/comment-page-1/#comment-134590</link>
		<dc:creator>Ted Slusser</dc:creator>
		<pubDate>Fri, 26 Dec 2008 01:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=569#comment-134590</guid>
		<description>Hi Joris &amp; Ben,

Merry Christmas too!  Thanks for your help.  The problem ultimately was the way I was building the war with Maven.  It didn&#039;t take the MANIFEST.MF from the exploded war directory.  Instead it wanted to create a dynamic MANIFEST.MF when jaring up the war file.  A configuration tag solved the problem.  So the WAR was deploying as a &#039;legacy&#039; war and didn&#039;t have the GWT jars packed inside it.  Of course, DM Server treated it as a WAR since it didn&#039;t know it was trying to be a bundle.  So it didn&#039;t resolve the GWT module in the repository/bundles/usr directory!

Maybe there is an OSGi aware maven plugin.  It would be cool if it automatically built a correct MANIFEST.MF based on dependencies defined in the POM.  Or alternatively maybe Spring will build plugins for IntelliJ?

Anyway, thanks again.  Hope your Christmas was a great one :)

Ted</description>
		<content:encoded><![CDATA[<p>Hi Joris &amp; Ben,</p>
<p>Merry Christmas too!  Thanks for your help.  The problem ultimately was the way I was building the war with Maven.  It didn&#039;t take the MANIFEST.MF from the exploded war directory.  Instead it wanted to create a dynamic MANIFEST.MF when jaring up the war file.  A configuration tag solved the problem.  So the WAR was deploying as a &#039;legacy&#039; war and didn&#039;t have the GWT jars packed inside it.  Of course, DM Server treated it as a WAR since it didn&#039;t know it was trying to be a bundle.  So it didn&#039;t resolve the GWT module in the repository/bundles/usr directory!</p>
<p>Maybe there is an OSGi aware maven plugin.  It would be cool if it automatically built a correct MANIFEST.MF based on dependencies defined in the POM.  Or alternatively maybe Spring will build plugins for IntelliJ?</p>
<p>Anyway, thanks again.  Hope your Christmas was a great one <img src='http://blog.springsource.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ted</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Corrie</title>
		<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/comment-page-1/#comment-134421</link>
		<dc:creator>Ben Corrie</dc:creator>
		<pubDate>Thu, 25 Dec 2008 14:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=569#comment-134421</guid>
		<description>Hi Ted,

Happy Christmas! As Joris said, the GWT bundle doesn&#039;t do anything in itself, it&#039;s a dependency of the WAR file (in this blog) and of some other bundles in Part 3. So you can think of it as getting lazy-loaded out of the bundles/usr directory when it&#039;s needed.

Ben</description>
		<content:encoded><![CDATA[<p>Hi Ted,</p>
<p>Happy Christmas! As Joris said, the GWT bundle doesn&#039;t do anything in itself, it&#039;s a dependency of the WAR file (in this blog) and of some other bundles in Part 3. So you can think of it as getting lazy-loaded out of the bundles/usr directory when it&#039;s needed.</p>
<p>Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joris Kuipers</title>
		<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/comment-page-1/#comment-134382</link>
		<dc:creator>Joris Kuipers</dc:creator>
		<pubDate>Thu, 25 Dec 2008 13:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=569#comment-134382</guid>
		<description>@Ted: this is expected behavior. Use the pickup directory to deploy a bundle. The repository is only intended for bundles that need to be provisioned as a dependency of other bundles. If no deployed bundle needs them (directly or as a transitive dependency), bundles in the repository won&#039;t be installed. This is actually a feature, not a bug ;)</description>
		<content:encoded><![CDATA[<p>@Ted: this is expected behavior. Use the pickup directory to deploy a bundle. The repository is only intended for bundles that need to be provisioned as a dependency of other bundles. If no deployed bundle needs them (directly or as a transitive dependency), bundles in the repository won&#039;t be installed. This is actually a feature, not a bug <img src='http://blog.springsource.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Slusser</title>
		<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/comment-page-1/#comment-134220</link>
		<dc:creator>Ted Slusser</dc:creator>
		<pubDate>Thu, 25 Dec 2008 05:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=569#comment-134220</guid>
		<description>Same problem occurs on ubuntu 8.10 with JDK 1.5.0_17.  I must be missing something simple.  Or maybe it&#039;s a bug introduced in dm server 1.0.1?

Any thoughts?</description>
		<content:encoded><![CDATA[<p>Same problem occurs on ubuntu 8.10 with JDK 1.5.0_17.  I must be missing something simple.  Or maybe it&#039;s a bug introduced in dm server 1.0.1?</p>
<p>Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Slusser</title>
		<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/comment-page-1/#comment-134215</link>
		<dc:creator>Ted Slusser</dc:creator>
		<pubDate>Thu, 25 Dec 2008 05:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=569#comment-134215</guid>
		<description>Just a follow-up.  I rolled my own gwt bundle using the STS / Eclipse download.  I have the same results.  The bundle doesn&#039;t get picked up by dm server.  I am trying now on a Ubuntu server to see if it&#039;s a JDK 1.6 or OSX issue.</description>
		<content:encoded><![CDATA[<p>Just a follow-up.  I rolled my own gwt bundle using the STS / Eclipse download.  I have the same results.  The bundle doesn&#039;t get picked up by dm server.  I am trying now on a Ubuntu server to see if it&#039;s a JDK 1.6 or OSX issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Slusser</title>
		<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/comment-page-1/#comment-134188</link>
		<dc:creator>Ted Slusser</dc:creator>
		<pubDate>Thu, 25 Dec 2008 03:48:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=569#comment-134188</guid>
		<description>Hello,

Thanks for the excellent tutorial.  I don&#039;t use eclipse so I can&#039;t take advantage of the plugins for dm server.  So I downloaded the &#039;bundleized&#039; GWT module you linked to.  However, when I drop that into the directory /repository/bundles/usr it doesn&#039;t seem to be loading up.  I telnet and give the ss command and there is no gwt bundle listed.  I&#039;ve checked the trace.log files and I don&#039;t see anything fishy.  I&#039;m running dm server 1.0.1 on OS X with jdk 1.6.0_07.

I will try with the eclipse plugins but it seems to me I should be able to drop the bundle into the bundles directory and have it automatically loaded correct?  Is there something explicit to do to get it to load the bundle?

Thanks,

Ted</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thanks for the excellent tutorial.  I don&#039;t use eclipse so I can&#039;t take advantage of the plugins for dm server.  So I downloaded the &#039;bundleized&#039; GWT module you linked to.  However, when I drop that into the directory /repository/bundles/usr it doesn&#039;t seem to be loading up.  I telnet and give the ss command and there is no gwt bundle listed.  I&#039;ve checked the trace.log files and I don&#039;t see anything fishy.  I&#039;m running dm server 1.0.1 on OS X with jdk 1.6.0_07.</p>
<p>I will try with the eclipse plugins but it seems to me I should be able to drop the bundle into the bundles directory and have it automatically loaded correct?  Is there something explicit to do to get it to load the bundle?</p>
<p>Thanks,</p>
<p>Ted</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SpringSource Team Blog &#187; Deploying GWT Applications in SpringSource dm Server - Part 3</title>
		<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/comment-page-1/#comment-132843</link>
		<dc:creator>SpringSource Team Blog &#187; Deploying GWT Applications in SpringSource dm Server - Part 3</dc:creator>
		<pubDate>Fri, 19 Dec 2008 21:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=569#comment-132843</guid>
		<description>[...] Part 2, we removed the GWT dependencies from the WAR file and turned them into an OSGi bundle which was [...]</description>
		<content:encoded><![CDATA[<p>[...] Part 2, we removed the GWT dependencies from the WAR file and turned them into an OSGi bundle which was [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: christian posta</title>
		<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/comment-page-1/#comment-131139</link>
		<dc:creator>christian posta</dc:creator>
		<pubDate>Thu, 04 Dec 2008 00:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=569#comment-131139</guid>
		<description>Gabriel,

To add to Ben&#039;s excellent response, I would recommend using Maven to not only address compile-time dependency management, but also for building the GWT sources into a WAR file. I have a recent post at my blog addressing this issue specifically: http://www.christianposta.com/blog

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Gabriel,</p>
<p>To add to Ben&#039;s excellent response, I would recommend using Maven to not only address compile-time dependency management, but also for building the GWT sources into a WAR file. I have a recent post at my blog addressing this issue specifically: <a href="http://www.christianposta.com/blog" rel="nofollow">http://www.christianposta.com/blog</a></p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Corrie</title>
		<link>http://blog.springsource.com/2008/11/24/deploying-gwt-applications-in-springsource-dm-server-part-2/comment-page-1/#comment-131132</link>
		<dc:creator>Ben Corrie</dc:creator>
		<pubDate>Wed, 03 Dec 2008 22:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=569#comment-131132</guid>
		<description>Hi Gabriel,

The tutorials (including the third one coming soon) don&#039;t really address the issue of GWT and Spring integration, mostly because I wanted to keep them focussed to the specific topics of dm Server, OSGi and GWT. You&#039;ll see in blog 3 that we use the GWT servlet with a ServletFilter to bridge the gap between the Spring-managed beans and the GWT world. Hopefully that will be helpful.

The question of integration between OSGi and Maven/Ivy is a very pertinent one. OSGi handles runtime dependencies and Maven/Ivy handle build-time dependencies. Often this is going to mean the same thing, but not necessarily always. Currently the way it works is that dependencies are expressed in two places - a MANIFEST.MF for the bundle dependencies and a pom.xml for the build-time ones. Google around and you&#039;ll see a number of people coming up with integration solutions.

I agree with you that manually copying Javascript is no panacea of automated build nirvana. When experimenting in a build environment, it illustrates the limitations of the tools, in that the GWTCompiler target can&#039;t be flexibly configured. However, you have to run the compiler and you have to package up the output, which is not hugely different to a normal Java build process. So I would recommend you look at a tool like ant to drive GWTCompiler and package up the target directory.

Ben</description>
		<content:encoded><![CDATA[<p>Hi Gabriel,</p>
<p>The tutorials (including the third one coming soon) don&#039;t really address the issue of GWT and Spring integration, mostly because I wanted to keep them focussed to the specific topics of dm Server, OSGi and GWT. You&#039;ll see in blog 3 that we use the GWT servlet with a ServletFilter to bridge the gap between the Spring-managed beans and the GWT world. Hopefully that will be helpful.</p>
<p>The question of integration between OSGi and Maven/Ivy is a very pertinent one. OSGi handles runtime dependencies and Maven/Ivy handle build-time dependencies. Often this is going to mean the same thing, but not necessarily always. Currently the way it works is that dependencies are expressed in two places &#8211; a MANIFEST.MF for the bundle dependencies and a pom.xml for the build-time ones. Google around and you&#039;ll see a number of people coming up with integration solutions.</p>
<p>I agree with you that manually copying Javascript is no panacea of automated build nirvana. When experimenting in a build environment, it illustrates the limitations of the tools, in that the GWTCompiler target can&#039;t be flexibly configured. However, you have to run the compiler and you have to package up the output, which is not hugely different to a normal Java build process. So I would recommend you look at a tool like ant to drive GWTCompiler and package up the target directory.</p>
<p>Ben</p>
]]></content:encoded>
	</item>
</channel>
</rss>
