<?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>Snackycracky Techblog&#187; Snackycracky Blog</title>
	<atom:link href="http://blog.srvme.de/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.srvme.de</link>
	<description></description>
	<lastBuildDate>Mon, 14 Jun 2010 21:33:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>jetty remote debugging with maven for appfuse in eclipse</title>
		<link>http://blog.srvme.de/2009/01/12/jetty-remote-debugging-with-maven-for-appfuse-in-eclipse/</link>
		<comments>http://blog.srvme.de/2009/01/12/jetty-remote-debugging-with-maven-for-appfuse-in-eclipse/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 23:01:35 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[jetty]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=216</guid>
		<description><![CDATA[the tutorial here was just right. i am able to start jetty from eclipse by executing a &#8220;external tools config&#8221; described there. maven then printed:  Listening for transport dt_socket at address: 4000 now i had to start the new &#8220;debug config&#8221; and the server began to come up. when i came to my breakpoint the eclipse [...]]]></description>
			<content:encoded><![CDATA[<p>the tutorial <a href="http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse" target="_blank">here</a> was just right. i am able to start jetty from eclipse by executing a &#8220;external tools config&#8221; described there.<br />
maven then printed: </p>
<pre>Listening for transport dt_socket at address: 4000</pre>
<p>now i had to start the new &#8220;debug config&#8221; and the server began to come up.</p>
<p>when i came to my breakpoint the eclipse view changed to debug mode.</p>
<p> </p>
<p>i got pointed to the tutorial form mojavelinux.com before <a href="http://www.mojavelinux.com/blog/archives/2007/03/remote_debugging_with_jetty/" target="_blank">here</a></p>
<p>it was told that i had to change the pom.xml file but i didn&#8217;t need to.</p>
<p>the post  was pretty interesting for understanding on how it behaves.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d216').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d216" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;submitHeadline=jetty+remote+debugging+with+maven+for+appfuse+in+eclipse&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;title=jetty+remote+debugging+with+maven+for+appfuse+in+eclipse" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;title=jetty+remote+debugging+with+maven+for+appfuse+in+eclipse" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;title=jetty+remote+debugging+with+maven+for+appfuse+in+eclipse" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;bm_description=jetty+remote+debugging+with+maven+for+appfuse+in+eclipse" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;T=jetty+remote+debugging+with+maven+for+appfuse+in+eclipse" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;title=jetty+remote+debugging+with+maven+for+appfuse+in+eclipse" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;title=jetty+remote+debugging+with+maven+for+appfuse+in+eclipse" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+jetty+remote+debugging+with+maven+for+appfuse+in+eclipse+@+http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;t=jetty+remote+debugging+with+maven+for+appfuse+in+eclipse" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d216').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d216').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2009/01/12/jetty-remote-debugging-with-maven-for-appfuse-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AppFuse automatic build with eclipse</title>
		<link>http://blog.srvme.de/2008/09/16/appfuse-automatic-build-with-eclipse/</link>
		<comments>http://blog.srvme.de/2008/09/16/appfuse-automatic-build-with-eclipse/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 16:53:04 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[classpath]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[environment variable]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[sysdeo]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=137</guid>
		<description><![CDATA[for appfuse 2.x do this: Download JavaRebel Download JavaRebel place javarebel.jar in your home directory If you are using the demo license, i.e. no license, it will expire after 21 days &#8211; if you want to continue using JavaRebel with your Scala projects, get the free JavaRebel for Scala license and put it into the directory which [...]]]></description>
			<content:encoded><![CDATA[<p>for appfuse 2.x do this:</p>
<h2 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:19px;background-position:initial initial;margin:0 0 .6em;"><span>Download JavaRebel</span></h2>
<ul style="line-height:1.5em;list-style-type:square;list-style-image:url('http://wiki.liftweb.net/skins/monobook/bullet.gif');margin:.3em 0 0 1.5em;padding:0;">
<li style="margin-bottom:.1em;">Download <a style="text-decoration:none;color:#3366bb;background-image:url('http://wiki.liftweb.net/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.zeroturnaround.com/javarebel/" rel="nofollow" href="http://www.zeroturnaround.com/javarebel/">JavaRebel</a></li>
<li style="margin-bottom:.1em;">place javarebel.jar in your home directory</li>
<li style="margin-bottom:.1em;">If you are using the demo license, i.e. no license, it will expire after 21 days &#8211; if you want to continue using JavaRebel with your Scala projects, get the <a style="text-decoration:none;color:#3366bb;background-image:url('http://wiki.liftweb.net/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.zeroturnaround.com/pub/scala/javarebel.lic" rel="nofollow" href="http://www.zeroturnaround.com/pub/scala/javarebel.lic">free JavaRebel for Scala license</a> and put it into the directory which contains javarebel.jar.</li>
</ul>
<p><a id="Jetty" style="text-decoration:none;color:#002bb8;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;background-position:initial initial;" name="Jetty"></a></p>
<h2 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:19px;background-position:initial initial;margin:0 0 .6em;"><span>Jetty</span></h2>
<p style="line-height:1.5em;margin:.4em 0 .5em;">You can also use JavaRebel with Jetty.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Edit your pom.xml file and set the <tt>scanIntervalSeconds</tt> param to <tt>0</tt>, this will turn off Jetty&#8217;s internal reloading. Jetty&#8217;s internal reloading won&#8217;t keep your session after reloading changed classes. <code style="background-color:#f9f9f9;">&lt;scanIntervalSeconds&gt;0&lt;/scanIntervalSeconds&gt;</code></p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Start jetty with the maven jetty plugin and the <tt>MAVEN_OPTS</tt> parameter set</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;"><code style="background-color:#f9f9f9;">MAVEN_OPTS="-noverify -javaagent:~/javarebel.jar" mvn jetty:run</code></p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Run <tt>mvn compile</tt> in another terminal and JavaRebel will reload your changed classes.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Or to incrementally compile your Scala source files as they change run <tt>mvn scala:cc</tt></p>
<p><strong>this is a copy from http://wiki.liftweb.net/index.php?title=JavaRebel</strong></p>
<p>for old appfuse 1.x do the following:</p>
<p>this here is my way of working with appfuse in eclipse, i choosed the appfuse-basic-spring.<br />
The Build and compile process took me to much time so i took advantage of the eclipse autobuild function!<br />
If you change a controller for example, save it than you have the changes by reloading the website in notime. not everything gets changed by reloading the site but most of it. Sometimes you have to restart tomcat to apply major changes but this is a question of like 10 seconds. This setup saved me so much time and energy. The dev process speeded up by like 10 times <img src='http://blog.srvme.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<ol>
<li>first update or install Maven
<ol>
<li>by downloading it from <a href="http://apache.eu.lucid.dk/maven/binaries/" target="_blank">here</a>, then unpack it into /Applications</li>
<li>view your ~/.profile file and add this:
<pre><code>export M2_HOME=/Applications/apache-maven-x.x.x/
export M2=$M2_HOME/bin
export PATH=$M2:$PATH
      </code></pre>
</li>
</ol>
</li>
<li> now open a new terminal to apply the system parameter settings and start installing appfuse
<ol>
<li>change the -DgroupId  and the -DartifactId value and enter the complete command
<pre><code>mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes \
-DarchetypeArtifactId=appfuse-basic-spring \
-DremoteRepositories=http://static.appfuse.org/releases \
-DarchetypeVersion=2.0.2 -DgroupId=org.mydomain -DartifactId=myapp </code></pre>
</li>
<li>go to the directory &#8216;myapp&#8217; and apply the settings for your local database user at the bottom of pom.xml</li>
<li>run &#8216;mvn war:inplace&#8217; and &#8216;mvn appfuse:full-source&#8217; and &#8216;mvn install eclipse:eclipse&#8217;</li>
<li>if all maven builds were sucsessfull than you are ready</li>
</ol>
</li>
<li>to download the sysdeo tomcat plugin from <a href="http://www.eclipsetotale.com/tomcatPlugin.html" target="_blank">here</a> and unpack it to the eclipse plugin folder</li>
<li>open eclipse and
<ol>
<li>go to file -&gt; import and select &#8216;exsiting projects into workspace&#8217; than point to your myapp path and hit &#8216;finish&#8217;</li>
<li>than press ^H for a projectwide search. search for &#8216;org.appfuse&#8217; replace everything interesting with &#8216;my.org&#8217; from the <code> -DgroupId</code></li>
<li>go to the projects properties and select the &#8216;java build path&#8217; there click on &#8216;source&#8217; and delete everything!!!</li>
<li>click on &#8216;add folder&#8217;, check /src/main and hit enter now select the build path again to edit, click next to enter the excluded parameter: &#8216;webapp/&#8217;</li>
<li>add another source folder the same way for &#8216;/srv/main/webapp&#8217; and check if the Default output folder is &#8216;myapp/target/classes&#8217;</li>
<li>click on the &#8216;Libraries&#8217; tab and add the variable &#8216;M2_REPO&#8217; which has the value ~/.m2/repository/</li>
<li>open the file web.xml in the WEB-INF dir and set the &#8216;contextConfigLocation&#8217; to:</li>
<pre><code>&lt;context-param&gt;
	&lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
	&lt;param-value&gt;
       classpath*:/applicationContext.xml
       /WEB-INF/applicationContext*.xml
       /WEB-INF/xfire-servlet.xml
       /WEB-INF/security.xml
	&lt;/param-value&gt;
&lt;/context-param&gt;</code></pre>
<li>after this you need to copy the 3 applicationContext files from the resources dir to the WEB-INF dir.</li>
</ol>
</li>
<li>go to the eclipse properties and select tomcat
<ol>
<li>set the version and the path and the declaration mode. i still use the server.xml style which is old i think.</li>
<li>apply the settings and go to the subcat &#8216;JVM Settings&#8217; there change the JRE to 1.6.0 and click on &#8216;Directory&#8217; at the Classpath field.</li>
<li>Here point to the default output folder and add it &#8216;/abosolute/path/to/myapp/target/classes&#8217;</li>
<li>ok, now add these jars from your tomcat lib folder to the classpath: jsp-api, servlet-api and jasper-*</li>
<li>for the last time click on the add &#8216;jar/zip&#8217; button and point to &#8216;&#8230;/target/classes/WEB-INF/lib&#8217; and add every jar in there by selecting all with the ^a combination</li>
<li>hit apply</li>
</ol>
</li>
<li>view the /tomcat/conf/server.xml and add the context like this before the closing &#8216;Host&#8217; tag at the bottom:
<pre><code>&lt;Context path="myapp" reloadable="true" docBase="/absolute/path/to/myapp/target/classes" /&gt;</code></pre>
</li>
<li>so now you are good to go by checkin Project -&gt; Build Automatically is enabled</li>
<li>if you click the little tomcat icon and the context is starting up  everyting is ok.</li>
<li>now please go to localhost:8080/myapp and check if its running.</li>
</ol>
<p>When you like to copy the contents of the classes folder to the production tomcat than you can use my little batch file: <a href="http://srvme.de/trac/snackycracky_techblog/browser/snackycrack_techblog/transferScriptToProductionTomcat/transferMyapp1.sh" target="_blank">here </a></p>
<p>the usage is really easy:</p>
<pre><code>transferMyapp.sh -e system -l "/absolute/path/to/myapp/target/classes" \
-r /srv/tomcat_prod/webapps/ -app myapp1 -t "/srv/tomcat_prod" -srv user@mydomain.org

</code></pre>
<p>for vista if not jet done please install the following apps:</p>
<ul>
<li>search for the powershell <a href="http://www.microsoft.com/downloads/" target="_blank">here</a> and install it.</li>
<li>tomcat <a href="http://mirror.moooo.org/apache/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.18.exe">Windows Service Installer</a></li>
<li>eclipse</li>
<li>maven</li>
</ul>
<p>for maven open the powershell and enter line by line the following commands to set the environment vars JAVA_HOME, M2, M2_HOME and to update the path for the user:</p>
<pre><code>$env:M2_HOME = 'C:\Program Files (x86)\apache-maven-2.0.9'
$env:M2 =$env:M2_HOME + '\bin'
[System.Environment]::SetEnvironmentVariable("M2_HOME", $env:M2_HOME , "<var>User</var>")[System.Environment]::SetEnvironmentVariable("M2", $env:M2 , "<var>User</var>")
$env:Path = $env:Path + ';' +$env:M2
$env:JAVA_HOME = 'C:\Program Files (x86)\Java\jdk1.6.0_10'
[System.Environment]::SetEnvironmentVariable("JAVA_HOME", $env:JAVA_HOME, "<var>User</var>")
[System.Environment]::SetEnvironmentVariable("PATH", $env:Path, "<var>User</var>")

well thats all for the powershell <img src='http://blog.srvme.de/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  i thought it would work to execute the mvn project build but nope.
going on in dos (cmd.exe):
execute: </code><code>mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes \
-DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/releases \
-DarchetypeVersion=2.0.2 -DgroupId=org.mydomain -DartifactId=myapp </code></pre>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d137').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d137" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;submitHeadline=AppFuse+automatic+build+with+eclipse&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;title=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;title=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;title=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;bm_description=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;T=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;title=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;title=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+AppFuse+automatic+build+with+eclipse+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;t=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d137').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d137').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/09/16/appfuse-automatic-build-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
