<?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>Sascha`s Blog</title>
	<atom:link href="http://www.sascha-theves.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sascha-theves.de</link>
	<description>Techno For Geeks</description>
	<lastBuildDate>Sat, 27 Aug 2011 07:33:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Apache2 Server Version im HTTP Header unter Debian verbergen</title>
		<link>http://www.sascha-theves.de/techno/hide-apache2-server-information/</link>
		<comments>http://www.sascha-theves.de/techno/hide-apache2-server-information/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 09:13:24 +0000</pubDate>
		<dc:creator>Sascha</dc:creator>
				<category><![CDATA[Techno]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[HTTP Header]]></category>
		<category><![CDATA[Version]]></category>

		<guid isPermaLink="false">http://www.sascha-theves.de/?p=219</guid>
		<description><![CDATA[Falls ihr die Standardkonfiguration eures Apache2 verwendet, dann ist euer Server ziemlich gesprächig, was die Versionsummer etc. angeht. Er schickt diese Informationen in jedem HTTP Header mit. Das sieht etwa so aus Date: Sat, 16 Jul 2011 09:02:43 GMT Server: Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.3.6-13 with Suhosin-Patch X-Powered-By: PHP/5.3.6-13 X-Pingback: http://www.sascha-theves.de/xmlrpc.php Vary: Accept-Encoding Transfer-Encoding: chunked [...]]]></description>
			<content:encoded><![CDATA[<p>Falls ihr die Standardkonfiguration eures Apache2 verwendet, dann ist euer Server ziemlich gesprächig, was die Versionsummer etc. angeht. Er schickt diese Informationen in jedem HTTP Header mit. Das sieht etwa so aus</p>
<pre>Date: Sat, 16 Jul 2011 09:02:43 GMT
Server: Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.3.6-13 with Suhosin-Patch
X-Powered-By: PHP/5.3.6-13
X-Pingback: http://www.sascha-theves.de/xmlrpc.php
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
</pre>
<p>Das stellt ein potenzielles Sicherheitsrisiko dar, da nun Angreifer Exploits gegen genau diese Version von Apache bzw. PHP fahren können.<br />
Wenn ihr nicht wollt, dass euer Indianer seine Versionsnummer per Rauchzeichen in die Welt verteilt, dann öffnet die Apache Security Konfiguration</p>

<div class="wp-terminal">user@computer:$ sudo nano /etc/apache2/conf.d/security<br/></div>

<p>und ändert folgende Einstellungen</p>
<pre>ServerTokens Prod
ServerSignature Off
</pre>
<p>Damit auch die PHP Versionsummer verborgen bleibt, müsst ihr noch eine Einstellungen in eurer php.ini machen (bezieht sich auf PHP5)</p>

<div class="wp-terminal">user@computer:$ sudo nano /etc/php5/apache2/php.ini<br/></div>

<p>Ändert hier den folgenden Wert</p>
<pre>expose_php = Off</pre>
<p>Damit die Änderungen angezogen werden, muss der Apache noch neu gestartet werden</p>

<div class="wp-terminal">user@computer:$ sudo /etc/init.d/apache2 restart<br/></div>

<p>Danach sieht der HTTP Header etwa so aus</p>
<pre>Date: Sat, 16 Jul 2011 09:09:22 GMT
Server: Apache
X-Pingback: http://www.sascha-theves.de/xmlrpc.php
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
</pre>
<p>Sieht doch schon besser aus.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sascha-theves.de/techno/hide-apache2-server-information/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux Dateiberechtigungen (file permissions) für mehrere Dateien auf einmal ändern</title>
		<link>http://www.sascha-theves.de/techno/linux-file-permissions/</link>
		<comments>http://www.sascha-theves.de/techno/linux-file-permissions/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 19:58:33 +0000</pubDate>
		<dc:creator>Sascha</dc:creator>
				<category><![CDATA[Techno]]></category>

		<guid isPermaLink="false">http://www.sascha-theves.de/?p=202</guid>
		<description><![CDATA[Im Zusammenhang mit dem Befehl find lassen sich Berechtigungen auf Dateien und Ordner schnell ändern: find /var/www -type d -exec chmod 775 {} \; ^ ^ ^ ^ ^ ^ &#124; &#124; &#124; &#124; &#124; &#124;-- ende des Kommandos &#124; &#124; &#124; &#124; &#124;----- Platzhalter für den aktuellen Dateinamen &#124; &#124; &#124; &#124;--------------------- führt für [...]]]></description>
			<content:encoded><![CDATA[<p>Im Zusammenhang mit dem Befehl <code>find</code> lassen sich Berechtigungen auf Dateien und Ordner schnell ändern:</p>
<pre>
find /var/www -type d -exec chmod  775 {} \;

 ^     ^         ^      ^               ^  ^
 |     |         |      |               |  |-- ende des Kommandos
 |     |         |      |               |----- Platzhalter für den aktuellen Dateinamen
 |     |         |      |--------------------- führt für jede gefunde Datei das chmod Kommando aus
 |     |         |---------------------------- der Typ, entweder d für Ordner oder f für Dateien
 |     |-------------------------------------- der Suchpfad
 |-------------------------------------------- das find Kommando
</pre>
<p>Mit diesem Befehl ändern wir für alle Datein unter <code>/var/www</code> die Berechtigungen mit <code>chmod</code> auf 775.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sascha-theves.de/techno/linux-file-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get rid of Ubuntu`s lock screen</title>
		<link>http://www.sascha-theves.de/techno/ubuntus-lock-screen/</link>
		<comments>http://www.sascha-theves.de/techno/ubuntus-lock-screen/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 21:58:09 +0000</pubDate>
		<dc:creator>Sascha</dc:creator>
				<category><![CDATA[Techno]]></category>
		<category><![CDATA[Anmeldebildschirm]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[lock screen]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[Sperrbildschirm]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.sascha-theves.de/?p=187</guid>
		<description><![CDATA[Seit kurzem meint mein Ubutnu Media-PC er muss nach dem Ruhezustand usw. einen Anmeldebilschirm anzeigen. Das ist sehr lästig, zumal ich an diesem PC keine Tastatur angeschlossen habe Hier eine kurze Anleitung wie ich das Problem bei mir gelöst habe. Ich weiss, dass das &#8220;Problem&#8221; in diversen Ubuntu Foren behandelt wird, leider haben die Tipps [...]]]></description>
			<content:encoded><![CDATA[<p>Seit kurzem meint mein Ubutnu Media-PC er muss nach dem Ruhezustand usw. einen Anmeldebilschirm anzeigen. Das ist sehr lästig, zumal ich an diesem PC keine Tastatur angeschlossen habe <img src='http://www.sascha-theves.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Hier eine kurze Anleitung wie ich das Problem bei mir gelöst habe. Ich weiss, dass das &#8220;Problem&#8221; in diversen Ubuntu Foren behandelt wird, leider haben die Tipps bei mir nichts geholfen.</p>
<p>Wir werden das gconftool-2 benutzen, ich setze mal voraus das das bei euch installiert ist. Nun öffnen wir eine Shell und geben folgendes ein</p>

<div class="wp-terminal">user@computer:$ gconftool-2 -s /apps/gnome-power-manager/lock/blank_screen --type=bool false<br/></div>

<p>Das bewirkt, dass der Bildschirm beim Abdunkeln nicht gesperrt wird. Danach noch</p>

<div class="wp-terminal">user@computer:$ gconftool-2 -s /apps/gnome-power-manager/lock/use_screensaver_settings --type=bool false<br/></div>

<p>Damit haben wir gnome mitgeteilt, dass es nicht die Einstellungen zum Sperren des Bildschirms vom Screensaver übernehmen soll.<br />
Nun deaktivieren wir das Sperren des Bildschirms komplett</p>

<div class="wp-terminal">user@computer:$ gconftool-2 -s /desktop/gnome/lockdown/disable_lock_screen --type=bool true<br/></div>

<p>Sollte das alles auch noch nichts helfen schalten wir das Sperren des Bildschirms global im acpi-support ab</p>

<div class="wp-terminal">user@computer:$ sudo nano /etc/default/acpi-support<br/></div>

<p>Sucht nach der Einstellung</p>
<pre>LOCK_SCREEN=TRUE</pre>
<p>und kommentiert sie aus. Etwa so</p>
<pre>#LOCK_SCREEN=TRUE</pre>
<p>Nun sollten alle Sperr-Bildschirme verschwunden sein!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sascha-theves.de/techno/ubuntus-lock-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: Ubuntu 11.4 + Ruby 1.9.2 + RubyDebug + Aptana Studio 3.0.2</title>
		<link>http://www.sascha-theves.de/techno/ubuntu-ruby-rubydebug/</link>
		<comments>http://www.sascha-theves.de/techno/ubuntu-ruby-rubydebug/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 16:39:29 +0000</pubDate>
		<dc:creator>Sascha</dc:creator>
				<category><![CDATA[Techno]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby-debug]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.sascha-theves.de/?p=145</guid>
		<description><![CDATA[Die Anleitung basiert auf Ubuntu 11.4, sollte sich aber auch auf andere Versionen portieren lassen. Zuerst prüfen wir ob schon ein ruby installiert ist: user@computer:$ which ruby Wenn die Ausgabe leer bleibt können wir weiter machen. Zuerst benötigen wir einige grundlegende Abhängigkeiten: user@computer:$ sudo aptitude install git ruby curlReading package lists... DoneBuilding dependency tree Danach [...]]]></description>
			<content:encoded><![CDATA[<p>Die Anleitung basiert auf Ubuntu 11.4, sollte sich aber auch auf andere Versionen portieren lassen.</p>
<p>Zuerst prüfen wir ob schon ein ruby installiert ist:</p>

<div class="wp-terminal">user@computer:$ which ruby<br/></div>

<p>Wenn die Ausgabe leer bleibt können wir weiter machen. Zuerst benötigen wir einige grundlegende Abhängigkeiten:</p>

<div class="wp-terminal">user@computer:$ sudo aptitude install git ruby curl<br/><br/>Reading package lists... Done<br/>Building dependency tree<br/><-- Output Snipped --><br/></div>

<p>Danach installieren wir den RVM (Ruby Version Manager). Der RVM installiert Ruby in das User-Home Verzeichnis (Single-User installation) was für eine Entwicklungsumgebung am sinnvollsten ist. Eine genaue Anleitung dazu findet man auf der offiziellen Homepage:</p>
<p>http://rvm.beginrescueend.com/rvm/install/</p>

<div class="wp-terminal">user@computer:$ bash < <( curl https://rvm.beginrescueend.com/releases/rvm-install-head )<br/><br/><-- Output Snipped --><br/>* For JRuby (if you wish to use it) you will need:<br/>$ aptitude install curl sun-java6-bin sun-java6-jre sun-java6-jdk<br/>* For MRI & ree (if you wish to use it) you will need (depending on what you are installing):<br/>$ aptitude install build-essential bison openssl libreadline5 libreadline-dev curl git-core zlib1g zlib1g-dev libssl-dev vim libsqlite3-0 libsqlite3-dev sqlite3 libreadline-dev libxml2-dev git-core subversion autoconf<br/>* For IronRuby (if you wish to use it) you will need:<br/>$ aptitude install curl mono-2.0-devel<br/><br/><-- Output Snipped --><br/><br/>WARNING: you have a 'return' statement in your .bashrc, likely this will cause untold havoc.<br/>This means that if you see '[ -z "$PS1" ] && return' then you must change this line to:<br/>if [[ -n "$PS1" ]] ; then<br/>... original content that was below the && return line ...<br/>fi # <= be sure to close the if.<br/>#EOF .bashrc<br/>Even if you use zsh you should still adjust the .bashrc as above.<br/>If you have any questions about this please visit #rvm on irc.freenode.net.<br/><br/>Installation of RVM to /usr/local/rvm/ is complete.<br/></div>

<p>Wie wir an der Ausgabe gesehen haben warnt uns das Installations-Script noch vor einen &#8220;return&#8221; Statement in unserer .bashrc. Wir sind brav und folgen den Anweisungen des Installers:</p>

<div class="wp-terminal">user@computer:$ nano .bashrc<br/></div>

<p>Nun suchen wir die Zeile</p>
<pre>[ -z "$PS1" ] &#038;&#038; return</pre>
<p>und ersetzen sie mit dieser</p>
<pre>if [[ -n "$PS1" ]]; then</pre>
<p>Nun müssen wir ganz am Ende der .bashrc noch folgende Zeile einfügen</p>
<pre>[[ -s "$HOME/.rvm/scripts/rvm" ]] &#038;&#038; source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

fi</pre>
<p>das &#8220;fi&#8221; ganz am Ende nicht vergessen! Nun speichern wir die Datei mit Strg+o und beenden den nano mit Strg+x.</p>
<p>Jetzt prüfen wir ob der rvm richtig funktioniert</p>

<div class="wp-terminal">user@computer:$ rvm notes<br/></div>

<p>wenn hier nun einige Details über die Installation des RVM angezeigt werden haben wir alles richtig gemacht.</p>
<p>Um den RVM richtig verwenden zu können braucht Ubuntu noch ein paar Libs</p>

<div class="wp-terminal">user@computer:$ sudo aptitude install build-essential bison openssl libreadline5 libreadline-dev curl git-core zlib1g zlib1g-dev libssl-dev vim libsqlite3-0 libsqlite3-dev sqlite3 libreadline-dev libxml2-dev git-core subversion autoconf<br/><br/><-- Snipped --><br/></div>

<p>Nun ist es an der Zeit ruby zu installieren.</p>

<div class="wp-terminal">user@computer:$ rvm list known<br/># MRI Rubies<br/>[ruby-]1.8.6[-p420]<br/>[ruby-]1.8.6-head<br/>[ruby-]1.8.7[-p352]<br/>[ruby-]1.8.7-head<br/>[ruby-]1.9.1-p378<br/>[ruby-]1.9.1[-p431]<br/>[ruby-]1.9.1-head<br/>[ruby-]1.9.2[-p180]<br/>[ruby-]1.9.2-head<br/>ruby-head<br/><-- snipped --><br/></div>

<p>Der Output ist noch größer wir interessieren uns aber nur für die MRI packages. Dann ab und ruby installieren</p>

<div class="wp-terminal">user@computer:$ rvm install 1.9.2-head<br/><-- Output Snipped --><br/>info: Installing ruby-1.8.7-p302<br/><-- Output Snipped --><br/>info: Installing rubygems dedicated to ruby-1.8.7-p302...<br/><-- Output Snipped --><br/>info: Installing ruby-1.9.2-head<br/><-- Output Snipped --><br/>info: Updating rubygems for /usr/local/rvm/gems/ruby-1.9.2-head<br/></div>

<p>Es wir zuerst ruby1.8 installiert was aber völlig normal ist. Danach setzen wir noch unsere ruby default Version und prüfen ob alles funktioniert hat</p>

<div class="wp-terminal">user@computer:$ rvm --default 1.9.2-head<br/>ruby -v<br/>ruby 1.9.2p289 (2011-07-04 revision 32391) [i686-linux]<br/></div>

<p>Jetzt müssen wir noch ruby-debug installieren. Das hat mir die meiste Zeit geraubt. Aber wenn man weiss wie es geht ist es eigentlich ganz einfach. Gebt folgendes in die Shell ein</p>

<div class="wp-terminal">user@computer:$ gem install dev-utils<br/><-- skipped --><br/></div>

<p>&#8230;danach&#8230;</p>

<div class="wp-terminal">user@computer:$ gem install linecache19 -- --with-ruby-include=/home/sascha/.rvm/src/ruby1.9.2-head<br/><-- skipped --><br/></div>

<p>und dann noch</p>

<div class="wp-terminal">user@computer:$ gem install ruby-debug19 -- --with-ruby-include=/home/sascha/.rvm/src/ruby1.9.2-head<br/><-- skipped --><br/></div>

<p>danach installieren wir noch die ruby-debug-ide19</p>

<div class="wp-terminal">user@computer:$ gem install ruby-debug-ide19 -- --with-ruby-include=/home/sascha/.rvm/src/ruby1.9.2-head<br/><-- skipped --><br/></div>

<p>Ihr müsst natürlich den Pfad zur eurer ruby-1.9.2 src installation angeben.</p>
<p>Jetzt sollte alles soweit funktionieren und eingerichtet sein. Nun könnt ihr euch unter <a href="http://www.eclipse.org">www.eclipse.org</a> noch das aktuelle Eclipse installieren und dann von <a href="http://www.aptana.com">www.aptana.com</a> das aktuelle Aptana Studio 3.0.3 als Plugin installieren. Wie das geht erkläre ich hier nicht, zumal es ausführlich auf der Webseite von Aptana beschrieben ist.<br />
Falls Aptana den Debugger nicht finden sollte, dann einmal in die Konsole wecheln und folgendes eingeben</p>

<div class="wp-terminal">user@computer:$ gem environment<br/><br/>RubyGems Environment:<br/>- RUBYGEMS VERSION: 1.6.2<br/>- RUBY VERSION: 1.9.2 (2011-07-04 patchlevel 289) [i686-linux]<br/>- INSTALLATION DIRECTORY: /home/sascha/.rvm/gems/ruby-1.9.2-head<br/>- RUBY EXECUTABLE: /home/sascha/.rvm/rubies/ruby-1.9.2-head/bin/ruby<br/>- EXECUTABLE DIRECTORY: /home/sascha/.rvm/gems/ruby-1.9.2-head/bin<br/>- RUBYGEMS PLATFORMS:<br/>- ruby<br/>- x86-linux<br/>- GEM PATHS:<br/>- /home/sascha/.rvm/gems/ruby-1.9.2-head<br/>- /home/sascha/.rvm/gems/ruby-1.9.2-head@global<br/>- GEM CONFIGURATION:<br/>- :update_sources => true<br/>- :verbose => true<br/>- :benchmark => false<br/>- :backtrace => false<br/>- :bulk_threshold => 1000<br/>- REMOTE SOURCES:<br/>- http://rubygems.org/<br/><br/><br/></div>

<p>Nun den Pfad von <strong>EXECUTABLE DIRECTORY</strong> kopieren und zur Umgebungsvariable <strong>$PATH</strong> hinzufügen</p>

<div class="wp-terminal">user@computer:$ sudo nano /etc/environment<br/><br/>PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sascha/.rvm/gems/ruby-1.9.2-head/bin"<br/><br/><br/></div>

<p>Nach einem Neustart von Ubuntu lassen sich nun unsere Ruby Programme über Aptana ausführen und Debuggen!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sascha-theves.de/techno/ubuntu-ruby-rubydebug/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Bug in Json-lib: A string starting and ending with quotes is badly parsed &#8211; ID: 2893329</title>
		<link>http://www.sascha-theves.de/techno/bug-json-lib/</link>
		<comments>http://www.sascha-theves.de/techno/bug-json-lib/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 10:43:34 +0000</pubDate>
		<dc:creator>Sascha</dc:creator>
				<category><![CDATA[Techno]]></category>

		<guid isPermaLink="false">http://www.sascha-theves.de/?p=129</guid>
		<description><![CDATA[Wir benutzen in unserem Projekt die Json-lib um unsere EMF Modelle in ein Json Format umzuwandeln. Leider sind wir auf einen Bug gestoßen der es für uns unmöglich macht mit dieser Bibliothek weiterzuarbeiten. Daraufhin habe ich mit dem Project Lead kontakt aufgenommen um mit ihm zusammen an einer Lösung zu arbeiten. Herausgekommen ist ein Patch [...]]]></description>
			<content:encoded><![CDATA[<p>Wir benutzen in unserem Projekt die <a href="http://json-lib.sourceforge.net/" target="_blank">Json-lib</a> um unsere EMF Modelle in ein Json Format umzuwandeln. Leider sind wir auf einen <a href="https://sourceforge.net/tracker/?func=detail&amp;aid=2893329&amp;group_id=171425&amp;atid=857928" target="_blank">Bug</a> gestoßen der es für uns unmöglich macht mit dieser Bibliothek weiterzuarbeiten.<br />
Daraufhin habe ich mit dem Project Lead kontakt aufgenommen um mit ihm zusammen an einer Lösung zu arbeiten. Herausgekommen ist ein Patch für die Bibliothek, der höchst wahrscheinlich auch in den nächsten Release einfließen wird. Vorab kann der CVS patch auch schon hier heruntergeladen werden:</p>
<ul>
<li><a href="http://www.sascha-theves.de/updatesite/jsonLibpatch_2893329.txt">CVS Patch Json-lib</a></li>
</ul>
<p>Ich hoffe das hilft dem einen oder anderen weiter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sascha-theves.de/techno/bug-json-lib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse: Maven Project in ein WTP Project konvertieren</title>
		<link>http://www.sascha-theves.de/techno/convert-eclipse-maven-project/</link>
		<comments>http://www.sascha-theves.de/techno/convert-eclipse-maven-project/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 09:06:25 +0000</pubDate>
		<dc:creator>Sascha</dc:creator>
				<category><![CDATA[Techno]]></category>

		<guid isPermaLink="false">http://www.sascha-theves.de/?p=114</guid>
		<description><![CDATA[Mithilfe von M2Eclipse lassen sich in Eclipse Maven Projekte verwalten. Hat man einmal ein solches Projekt angelegt, gestaltet es sich etwas schwierig, es zu einem WTP Projekt zu konvertieren. Der Vorteil von WTP Projekten ist, dass man aus der IDE heraus einen Application Server ansteuern kann und darauf dann sein Web Projekt deployen kann. Es [...]]]></description>
			<content:encoded><![CDATA[<p>Mithilfe von <a title="M2Eclipse" href="http://m2eclipse.sonatype.org/" target="_blank">M2Eclipse</a> lassen sich in Eclipse Maven Projekte verwalten. Hat man einmal ein solches Projekt angelegt, gestaltet es sich etwas schwierig, es zu einem WTP Projekt zu konvertieren. Der Vorteil von WTP Projekten ist, dass man aus der IDE heraus einen Application Server ansteuern kann und darauf dann sein Web Projekt deployen kann. Es gibt auch eine automatische Re-Deploy Funktion sowie die Möglichkeit seine Webapplikationen wie gewohnt in Eclipse zu debuggen. Soll nun ein M2Eclipse Projekt in ein WTP Projekt konvertiert werden geht man wie folgt vor:</p>
<ol>
<li>WTP Builder und Nature hinzufügen in der .project Datei:

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;projectDescription<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>test-project<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;comment<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/comment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;projects<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/projects<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;buildSpec<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;buildCommand<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.eclipse.wst.common.project.facet.core.builder<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arguments<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/arguments<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/buildCommand<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;buildCommand<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.eclipse.jdt.core.javabuilder<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arguments<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/arguments<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/buildCommand<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;buildCommand<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.maven.ide.eclipse.maven2Builder<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arguments<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/arguments<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/buildCommand<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/buildSpec<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;natures<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nature<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.eclipse.jdt.core.javanature<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/nature<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nature<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.maven.ide.eclipse.maven2Nature<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/nature<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nature<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.eclipse.wst.common.project.facet.core.nature<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/nature<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/natures<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/projectDescription<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

</li>
<li>.classpath Datei anpassen

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;classpath<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;classpathentry</span> <span style="color: #000066;">kind</span>=<span style="color: #ff0000;">&quot;src&quot;</span> <span style="color: #000066;">output</span>=<span style="color: #ff0000;">&quot;target/classes&quot;</span> <span style="color: #000066;">path</span>=<span style="color: #ff0000;">&quot;src/main/java&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;classpathentry</span> <span style="color: #000066;">excluding</span>=<span style="color: #ff0000;">&quot;**&quot;</span> <span style="color: #000066;">kind</span>=<span style="color: #ff0000;">&quot;src&quot;</span> <span style="color: #000066;">output</span>=<span style="color: #ff0000;">&quot;target/classes&quot;</span> <span style="color: #000066;">path</span>=<span style="color: #ff0000;">&quot;src/main/resources&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;classpathentry</span> <span style="color: #000066;">kind</span>=<span style="color: #ff0000;">&quot;src&quot;</span> <span style="color: #000066;">output</span>=<span style="color: #ff0000;">&quot;target/test-classes&quot;</span> <span style="color: #000066;">path</span>=<span style="color: #ff0000;">&quot;src/test/java&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;classpathentry</span> <span style="color: #000066;">kind</span>=<span style="color: #ff0000;">&quot;con&quot;</span> <span style="color: #000066;">path</span>=<span style="color: #ff0000;">&quot;org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;classpathentry</span> <span style="color: #000066;">kind</span>=<span style="color: #ff0000;">&quot;con&quot;</span> <span style="color: #000066;">path</span>=<span style="color: #ff0000;">&quot;org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attribute</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;org.eclipse.jst.component.dependency&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/WEB-INF/lib&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/classpathentry<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;classpathentry</span> <span style="color: #000066;">kind</span>=<span style="color: #ff0000;">&quot;con&quot;</span> <span style="color: #000066;">path</span>=<span style="color: #ff0000;">&quot;org.eclipse.jst.j2ee.internal.web.container&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;classpathentry</span> <span style="color: #000066;">kind</span>=<span style="color: #ff0000;">&quot;con&quot;</span> <span style="color: #000066;">path</span>=<span style="color: #ff0000;">&quot;org.eclipse.jst.j2ee.internal.module.container&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;classpathentry</span> <span style="color: #000066;">kind</span>=<span style="color: #ff0000;">&quot;output&quot;</span> <span style="color: #000066;">path</span>=<span style="color: #ff0000;">&quot;target/classes&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/classpath<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

</li>
<li>Project Facet Preferences anpassen:<br />
<a href="http://www.sascha-theves.de/wp-content/uploads/2010/04/projectFacetPrefs.png"><img class="aligncenter size-medium wp-image-120" title="Project Facet Preferences" src="http://www.sascha-theves.de/wp-content/uploads/2010/04/projectFacetPrefs-300x208.png" alt="Project Facet Preferences" width="300" height="208" /></a><br />
<img src="file:///C:/Users/Sascha/AppData/Local/Temp/moz-screenshot.png" alt="" /></li>
<li>Danach kann das Projekt z.B. einem Tomcat Application Server hinzugefügt werden:<br />
<a href="http://www.sascha-theves.de/wp-content/uploads/2010/04/wtpAddProject.png"><img class="aligncenter size-medium wp-image-122" title="Projekt hinzufügen" src="http://www.sascha-theves.de/wp-content/uploads/2010/04/wtpAddProject-300x263.png" alt="" width="300" height="263" /></a></li>
</ol>
<p>Jetzt kann das Projekt wie jedes andere WTP Projekt verwendet werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sascha-theves.de/techno/convert-eclipse-maven-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neue Version der Eclipse Tiny Tools</title>
		<link>http://www.sascha-theves.de/techno/new-eclipse-tiny-tools/</link>
		<comments>http://www.sascha-theves.de/techno/new-eclipse-tiny-tools/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 05:40:05 +0000</pubDate>
		<dc:creator>Sascha</dc:creator>
				<category><![CDATA[Techno]]></category>

		<guid isPermaLink="false">http://www.sascha-theves.de/?p=51</guid>
		<description><![CDATA[Unter http://www.sascha-theves.de/updatesite findet ihr eine neue Version der Eclipse Tiny Tools. Neu: Eclipse Tiny Tools sind nun JDT unabhängig User kann zwischen 3 Views beim Öffnen eines Projekts wählen Möglichkeit zur Internationalisierung der Plug-Ins wurde geschaffen Hier noch ein Screenshot der View Auswahl beim &#8220;Open Project&#8221; Dialog:]]></description>
			<content:encoded><![CDATA[<p>Unter <em><strong>http://www.sascha-theves.de/updatesite</strong></em> findet ihr eine neue Version der <em>Eclipse Tiny Tools</em>.</p>
<p>Neu:</p>
<ul>
<li><em>Eclipse Tiny Tools</em> sind nun JDT unabhängig</li>
<li>User kann zwischen 3 Views beim Öffnen eines Projekts wählen</li>
<li>Möglichkeit zur Internationalisierung der Plug-Ins wurde geschaffen</li>
</ul>
<p>Hier noch ein Screenshot der View Auswahl beim &#8220;Open Project&#8221; Dialog:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-52" title="selectprojectbrowseview_web" src="http://www.sascha-theves.de/wp-content/uploads/2009/04/selectprojectbrowseview_web.jpg" alt="selectprojectbrowseview_web" width="480" height="400" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sascha-theves.de/techno/new-eclipse-tiny-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Links available</title>
		<link>http://www.sascha-theves.de/news/new-links-available/</link>
		<comments>http://www.sascha-theves.de/news/new-links-available/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 07:28:59 +0000</pubDate>
		<dc:creator>Sascha</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.sascha-theves.de/?p=30</guid>
		<description><![CDATA[A new Links area has been added to the blog. You will find there useful Links to internal sites or other site on the web that are of interest. The first Link redirects you to my Eclipse Update Site.]]></description>
			<content:encoded><![CDATA[<p>A new Links area has been added to the blog. You will find there useful Links to internal sites or other site on the web that are of interest. The first Link redirects you to my Eclipse Update Site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sascha-theves.de/news/new-links-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Eclipse Update Site</title>
		<link>http://www.sascha-theves.de/news/new-eclipse-update-site/</link>
		<comments>http://www.sascha-theves.de/news/new-eclipse-update-site/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 08:28:27 +0000</pubDate>
		<dc:creator>Sascha</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Plug-In]]></category>
		<category><![CDATA[Update Site]]></category>

		<guid isPermaLink="false">http://www.sascha-theves.de/?p=19</guid>
		<description><![CDATA[I proudly present my new Eclipse Update Site. The site is located under http://sascha-theves.de/svn/eclipse and contains the &#8220;Select Project&#8221; Feature described earlier in this blog. I will use this update site for future implementations of tiny eclipse tools.]]></description>
			<content:encoded><![CDATA[<p>I proudly present my new Eclipse Update Site. The site is located under</p>
<pre><strong>http://sascha-theves.de/svn/eclipse</strong></pre>
<p>and contains the &#8220;Select Project&#8221; Feature described earlier in this blog.<br />
I will use this update site for future implementations of tiny eclipse tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sascha-theves.de/news/new-eclipse-update-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Plug-In: Select quickly a Java Project</title>
		<link>http://www.sascha-theves.de/techno/select-quickly-java-project/</link>
		<comments>http://www.sascha-theves.de/techno/select-quickly-java-project/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 17:02:29 +0000</pubDate>
		<dc:creator>Sascha</dc:creator>
				<category><![CDATA[Techno]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Pug-In]]></category>

		<guid isPermaLink="false">http://www.sascha-theves.de/?p=9</guid>
		<description><![CDATA[When I am at work I have about 400 Plug-Ins in my Eclipse workspace. So it`s sometimes very hard to find the project you are looking for. For that reason I`ve written a tiny Eclipse Plug-In that works like the &#8220;Open Type&#8221; dialog from JDT. Simply press &#60;Ctrl&#62;+&#60;6&#62; and a new Dialog opens where you [...]]]></description>
			<content:encoded><![CDATA[<p>When I am at work I have about 400 Plug-Ins in my Eclipse workspace. So it`s sometimes very hard to find the project you are looking for. For that reason I`ve written a tiny Eclipse Plug-In that works like the &#8220;Open Type&#8221; dialog from JDT. Simply press &lt;Ctrl&gt;+&lt;6&gt; and a new Dialog opens where you can type your search string:</p>
<div id="attachment_10" class="wp-caption aligncenter" style="width: 455px"><img class="size-full wp-image-10" title="open_project" src="http://www.sascha-theves.de/wp-content/uploads/2009/03/open_project.jpg" alt="Open Project Dialog" width="445" height="303" /><p class="wp-caption-text">Open Project Dialog</p></div>
<p>You can download the Plug-In from <a href="http://www.sascha-theves.de/de.theves.selectproject_0.0.1.jar">here</a>.  The Plug-In needs an Eclipse 3.4.x and a of JRE 1.6.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sascha-theves.de/techno/select-quickly-java-project/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

