<?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: So Long WTP, Embedded Jetty for Me</title>
	<atom:link href="http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me</link>
	<description>(permanently in beta)</description>
	<lastBuildDate>Sun, 29 Aug 2010 20:01:44 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alfonso</title>
		<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/comment-page-1#comment-4950</link>
		<dc:creator>Alfonso</dc:creator>
		<pubDate>Thu, 18 Mar 2010 19:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me#comment-4950</guid>
		<description>I use jetty everyday, I made a jettyRunner, writing a .config file where I put all jars (and classpath folders) I want, it work really fast. My question is that jetty 6 asks for &quot;core-3.1.1.jar&quot;, I put the &quot;runJettyRun&quot; core.jar file and it works BUT, why does it need it? I can&#039;t find this file in maven2 repos... any ideas?</description>
		<content:encoded><![CDATA[<p>I use jetty everyday, I made a jettyRunner, writing a .config file where I put all jars (and classpath folders) I want, it work really fast. My question is that jetty 6 asks for &#8220;core-3.1.1.jar&#8221;, I put the &#8220;runJettyRun&#8221; core.jar file and it works BUT, why does it need it? I can&#8217;t find this file in maven2 repos&#8230; any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh kumar</title>
		<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/comment-page-1#comment-4948</link>
		<dc:creator>Rajesh kumar</dc:creator>
		<pubDate>Tue, 09 Mar 2010 10:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me#comment-4948</guid>
		<description>I am using jetty server. I want to replace the .jar files but once I restart the service, this new jar file is not getting loaded? Any solution for this?</description>
		<content:encoded><![CDATA[<p>I am using jetty server. I want to replace the .jar files but once I restart the service, this new jar file is not getting loaded? Any solution for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robert mcguinness</title>
		<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/comment-page-1#comment-3963</link>
		<dc:creator>robert mcguinness</dc:creator>
		<pubDate>Wed, 20 Aug 2008 17:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me#comment-3963</guid>
		<description>Has anyone figured out how to run an embedded server and still use the j2ee module dependencies feature in eclipse wtp?  thanks amigos!</description>
		<content:encoded><![CDATA[<p>Has anyone figured out how to run an embedded server and still use the j2ee module dependencies feature in eclipse wtp?  thanks amigos!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francois</title>
		<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/comment-page-1#comment-3519</link>
		<dc:creator>Francois</dc:creator>
		<pubDate>Fri, 25 Apr 2008 16:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me#comment-3519</guid>
		<description>Thanks for your post.
I used it to build my own maven eclipse wtp jetty integration process, I described here : http://www.jroller.com/francoisledroff/entry/quickly_create_run_and_test</description>
		<content:encoded><![CDATA[<p>Thanks for your post.<br />
I used it to build my own maven eclipse wtp jetty integration process, I described here : <a href="http://www.jroller.com/francoisledroff/entry/quickly_create_run_and_test" rel="nofollow">http://www.jroller.com/francoisledroff/entry/quickly_create_run_and_test</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Massey</title>
		<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/comment-page-1#comment-3511</link>
		<dc:creator>Simon Massey</dc:creator>
		<pubDate>Tue, 22 Apr 2008 10:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me#comment-3511</guid>
		<description>Philip, 

If you have maven setup the project as per the mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp mentioned below then run the app with &quot;mvn jetty:run&quot; then jetty will load the webapp resources out of the src folder. Which is to say &quot;mvn install&quot; creates the exploded resources and war under /target but running with jetty:run on either the commandline or inside eclipse as per the link against my name then jetty is running out of the src folder. So you can edit .jsp or .zul files (if you have discovered ZK yet) and jetty picks them up immediately from the src folder which can be the working copy of your code under source control. 

rgds

Simon</description>
		<content:encoded><![CDATA[<p>Philip, </p>
<p>If you have maven setup the project as per the mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp mentioned below then run the app with &#8220;mvn jetty:run&#8221; then jetty will load the webapp resources out of the src folder. Which is to say &#8220;mvn install&#8221; creates the exploded resources and war under /target but running with jetty:run on either the commandline or inside eclipse as per the link against my name then jetty is running out of the src folder. So you can edit .jsp or .zul files (if you have discovered ZK yet) and jetty picks them up immediately from the src folder which can be the working copy of your code under source control. </p>
<p>rgds</p>
<p>Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/comment-page-1#comment-3510</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Tue, 22 Apr 2008 04:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me#comment-3510</guid>
		<description>http://cwiki.apache.org/WICKET/javascript-and-css-support.html

Specifically:

&lt;link wicket:id=&quot;pageCSS&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/page.css&quot;/&gt;

// ...
add(new StyleSheetReference(&quot;pageCSS&quot;, getClass(), &quot;css/page.css&quot;));

There&#039;s an easier way too, but I can&#039;t remember what it is right now.  In any case, this should work just fine.  :-)</description>
		<content:encoded><![CDATA[<p><a href="http://cwiki.apache.org/WICKET/javascript-and-css-support.html" rel="nofollow">http://cwiki.apache.org/WICKET/javascript-and-css-support.html</a></p>
<p>Specifically:</p>
<link wicket:id="pageCSS" rel="Stylesheet" type="text/css" href="css/page.css"/>
<p>// &#8230;<br />
add(new StyleSheetReference(&#8220;pageCSS&#8221;, getClass(), &#8220;css/page.css&#8221;));</p>
<p>There&#8217;s an easier way too, but I can&#8217;t remember what it is right now.  In any case, this should work just fine.  <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip Johnson</title>
		<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/comment-page-1#comment-3509</link>
		<dc:creator>Philip Johnson</dc:creator>
		<pubDate>Tue, 22 Apr 2008 03:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me#comment-3509</guid>
		<description>Hi,

This is a great post!  I am curious how you solve the problem of resolving css style file references with Jetty/Wicket.  For example, in my HTML file I have:

 

The &#039;style/boilerplate/screen.css&#039; is relative to the &quot;webapp&quot; directory that I currently have outside the jar file location, which is bogus.  If I include the style files inside the jar file, how do I tell Wicket/Jetty to find them there? 

Thanks for any insight you can provide. 

Philip</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This is a great post!  I am curious how you solve the problem of resolving css style file references with Jetty/Wicket.  For example, in my HTML file I have:</p>
<p>The &#8217;style/boilerplate/screen.css&#8217; is relative to the &#8220;webapp&#8221; directory that I currently have outside the jar file location, which is bogus.  If I include the style files inside the jar file, how do I tell Wicket/Jetty to find them there? </p>
<p>Thanks for any insight you can provide. </p>
<p>Philip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Massey</title>
		<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/comment-page-1#comment-2597</link>
		<dc:creator>Simon Massey</dc:creator>
		<pubDate>Sat, 22 Dec 2007 18:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me#comment-2597</guid>
		<description>I actually just this afternoon setup a new project from scratch to be debuggable in Eclipse running in embedded Jetty running in Maven. It took about 20 minutes from kick starting the project with:

mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp

then I just cut and paste the jetty plug-in section from a working project into the created pom.xml to get &quot;mvn jetty:run&quot; up. Then I configured eclipse to build, run and debug the code as per the ZkFoodToGo article that I mentioned in my last post. It would have taken me 10 minutes but I had forgotten how to add a java source folder correctly to get a HelloWorld servlet into a location that maven would pick it up and run with it. The answer to that one is to right click on the imported eclipse project and create a source folder called src/main/java which will create your new package there.</description>
		<content:encoded><![CDATA[<p>I actually just this afternoon setup a new project from scratch to be debuggable in Eclipse running in embedded Jetty running in Maven. It took about 20 minutes from kick starting the project with:</p>
<p>mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp</p>
<p>then I just cut and paste the jetty plug-in section from a working project into the created pom.xml to get &#8220;mvn jetty:run&#8221; up. Then I configured eclipse to build, run and debug the code as per the ZkFoodToGo article that I mentioned in my last post. It would have taken me 10 minutes but I had forgotten how to add a java source folder correctly to get a HelloWorld servlet into a location that maven would pick it up and run with it. The answer to that one is to right click on the imported eclipse project and create a source folder called src/main/java which will create your new package there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Massey</title>
		<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/comment-page-1#comment-2596</link>
		<dc:creator>Simon Massey</dc:creator>
		<pubDate>Sat, 22 Dec 2007 18:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me#comment-2596</guid>
		<description>Here is an article where I show how to build from mvn source and run/debug it in eclipse embedded jetty mode: 

&lt;a href=&quot;http://www.zkoss.org/smalltalks/foodtogo/zkfoodtogo.dsp&quot; rel=&quot;external nofollow&quot; rel=&quot;nofollow&quot;&gt;http://www.zkoss.org/smalltalks/foodtogo/zkfoodtogo.dsp&lt;/a&gt;

Just setup building with maven  and running with maven as standalone executable as per the screenshots in that article. Then you just hit the debug button and it works. All of the dependencies are managed for you. 

In my day job guys at work have even configured JProbe to debug standalone maven+jetty+app based on the approach outlined above. It is just quicker, easier and faster once you have your project pom.xml setup and you know the settings for the stand-alone launch.</description>
		<content:encoded><![CDATA[<p>Here is an article where I show how to build from mvn source and run/debug it in eclipse embedded jetty mode: </p>
<p><a href="http://www.zkoss.org/smalltalks/foodtogo/zkfoodtogo.dsp" rel="external nofollow" rel="nofollow">http://www.zkoss.org/smalltalks/foodtogo/zkfoodtogo.dsp</a></p>
<p>Just setup building with maven  and running with maven as standalone executable as per the screenshots in that article. Then you just hit the debug button and it works. All of the dependencies are managed for you. </p>
<p>In my day job guys at work have even configured JProbe to debug standalone maven+jetty+app based on the approach outlined above. It is just quicker, easier and faster once you have your project pom.xml setup and you know the settings for the stand-alone launch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis Robert</title>
		<link>http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me/comment-page-1#comment-2563</link>
		<dc:creator>Denis Robert</dc:creator>
		<pubDate>Wed, 12 Dec 2007 14:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me#comment-2563</guid>
		<description>1. I avoid putting dependencies in SCM. But in order to do that, you have to have a good alternative dependencies management process or system. I use maven for that.

2. I agree that using Embedded Jetty beats the pants off WTP any time of the day. I don&#039;t agree with the commenter who stated that using maven instead would be a better solution (I suspect he was referring to the jetty:run mojo). Eclipse&#039;s debugger is one of its best features, and it&#039;s simply not that easy to run maven-launched processes under it. 
   I don&#039;t see it as a Embedded Jetty vs Maven issue. I use Embedded Jetty to debug within the IDE as well as often for production, but I use maven&#039;s jetty:run for build-time testing. Both have their uses...</description>
		<content:encoded><![CDATA[<p>1. I avoid putting dependencies in SCM. But in order to do that, you have to have a good alternative dependencies management process or system. I use maven for that.</p>
<p>2. I agree that using Embedded Jetty beats the pants off WTP any time of the day. I don&#8217;t agree with the commenter who stated that using maven instead would be a better solution (I suspect he was referring to the jetty:run mojo). Eclipse&#8217;s debugger is one of its best features, and it&#8217;s simply not that easy to run maven-launched processes under it.<br />
   I don&#8217;t see it as a Embedded Jetty vs Maven issue. I use Embedded Jetty to debug within the IDE as well as often for production, but I use maven&#8217;s jetty:run for build-time testing. Both have their uses&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
