<?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>Digital Base - Blog &#187; eclipse</title>
	<atom:link href="http://www.digitalbase.eu/blog/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitalbase.eu/blog</link>
	<description>A blog about webdesign, PHP, development and IT</description>
	<lastBuildDate>Mon, 10 May 2010 16:16:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is important in a PHP editor/IDE ?</title>
		<link>http://www.digitalbase.eu/blog/what-is-important-in-a-php-editoride/</link>
		<comments>http://www.digitalbase.eu/blog/what-is-important-in-a-php-editoride/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 11:00:37 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://dibav3.gnelisse.desktop01/blog/?p=45</guid>
		<description><![CDATA[An overview of what i find important in an IDE. What to look for when looking for a nice php developing tool.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been building websites for a while now. So i could say i am quite experienced although my (programming) knowledge is <span style="text-decoration: line-through;">limited</span> mainly focussed on building php applications. As a developer time is expensive, that&#8217;s why i am always looking for ways to speed up the web development process. A good start for fast &amp; secure development is to have the right tools and the right feeling/connection with your editor.</p>
<p>On day-to-day basis i could say 80% of the time i have an open editor somewhere. Based on the amount of time you are &#8220;working together&#8221; with this piece of software, you could compare it to a marriage (although you shouldn&#8217;t trade wives as soon as you meet a younger, smarter and more beautiful girl).</p>
<p>I have a few expectations / requirements for a modern, good working editor</p>
<h1>Decent Code Completion / Code Assistance</h1>
<p>We all know word completion : auto completion involves the program predicting a word or sentence without the user actually having to type it in completely. This feature is used alot in text messaging (sms), email clients, browsers, search engines etc&#8230;</p>
<p><img class="aligncenter size-full wp-image-259" title="google_image_autocomplete" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/google_image_autocomplete.png" alt="google_image_autocomplete" width="622" height="352" /></p>
<p>Autocompletion speeds up the entire process of typing a message, entering an address or, in our case, writing PHP code.</p>
<p>A decent source code editor analyses your source and suggests the function based on the first characters of the variable, function name or object. Most editors these days have code completion although they come in many flavours.</p>
<p><img class="aligncenter size-full wp-image-160" title="eclipse autocomplete" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/3138497480_8b6500d9e4_o.png" alt="eclipse autocomplete" width="591" height="95" /></p>
<p>Larger web applications tend to use alot of classes &amp; files. That&#8217;s what it is really important your autocompletion allows you to use an unlimited depth of super- &amp; sub classes (<a title="Inheritance OO" href="http://en.wikipedia.org/wiki/Inheritance_%28computer_science%29" target="_blank">inheritance</a>). For this your IDE should have a decent understanding of the relation between classes. If in some case the code completion does not work for a certain object, you should be able to tell the editor which class your object belongs to, so it will allow you to use the code completion on next occurences of the same object/variable.</p>
<h1><strong>Code Documentation / PHPDoc<br />
</strong></h1>
<p>Another important aspect of code completion is documentation. It is very useful for a programmer to get as much visible feedback as possible about the method/function he is calling. For a php core function this should be a short summary what the function does, for custom methods/functions this would be the description as entered by the one that created the class/method.</p>
<p><img class="aligncenter size-full wp-image-262" title="eclipse_link" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/eclipse_link.jpg" alt="eclipse_link" width="716" height="235" /></p>
<p>Next to that information it could be useful to show the return type and perhaps some information about the needed arguments. All these things should be integrated in the IDE, readily available when i enter the name of a method/class without opening a seperate manual or the php.net website.</p>
<p>When adding custom classes/methods/functions it is important that you document this code using phpdoc. Eclipse will then pick up this documentation and show it whenever you are using it somewhere else throughout your project.</p>
<h1><strong>Syntax Highlighting / Coloring</strong></h1>
<p>Code should look good. If you&#8217;re spending most of your time looking at code, it&#8217;s important to take care of your eyes. A good syntax highlighter highlights the different code to make a clear distinction between actual code, variables &amp; documentation. Marking different type of elements in seperate colors will increase readability and help you understand a function faster.</p>
<p>Syntax highlighting also helps in finding errors in your code. Some editors mark incorrect code (missing delimiter, etc), this comes in handy when you are paying less attention. The editor will immediately show you you are doing something wrong&#8230;</p>
<p>Personally i prefer dark editors, many other programmers agree that this is alot better for your eyes. Next to that i find dark color schemes to be alot clearer and more beautiful to look at. TO give you an idea, this is what my eclipse looks like :</p>
<p><img class="aligncenter size-full wp-image-258" title="screenshot1" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/screenshot1.png" alt="screenshot1" width="659" height="471" /></p>
<h1>Code Bookmarks</h1>
<p>When we are writing code it is important to keep track of important locations throughout the project. Code Bookmarks is the easiest way to do it.</p>
<p>A good implementation of bookmarks should allow you to easily switch to next/previous bookmark and give you an overview/listing of the current &#8220;bookmarks&#8221;.</p>
<p><img class="aligncenter size-full wp-image-264" title="screenshot3" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/screenshot3.png" alt="screenshot3" width="494" height="172" /></p>
<p>If you look on the left side, you will see a small flag that marks the current line as being bookmarked.</p>
<p><img class="aligncenter size-full wp-image-269" title="screenshot7" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/screenshot7.png" alt="screenshot7" width="600" height="169" /></p>
<p>Once you have these &#8220;code bookmarks&#8221;, its hard to code without them.</p>
<h1>Smart/Quick opening</h1>
<p>Now where did i put this code/file again ? Which class defines the foo() method ? Most of you will agree with me that opening the correct resource/file/method takes alot of time. A good editor should allow you to find/open everything you are looking for with a few keystrokes and (more important) without touching your mouse.</p>
<p>My favourite editor (Eclipse) allows you to use ctrl+shift+R to &#8220;open resource&#8221; and quickly find the file you were looking for.</p>
<p><img class="aligncenter size-full wp-image-274" title="screenshot8" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/screenshot8.png" alt="screenshot8" width="657" height="181" /></p>
<p>This means i do not need to touch my mouse or open the &#8220;file explorer&#8221; to look for the file. Easy &amp; Fast&#8230;</p>
<p>I know some people who use &#8220;grep -r &#8216; methodname()&#8217; to find the location of a method. I personally think this stinks. A good editor should contains some ways to easily open a file/method.</p>
<h1>Class Outline</h1>
<p>It&#8217;s easy to lose track of the variables/methods that are defined in a class. This is where the &#8220;outline view&#8221; comes in handy. This &#8220;outline&#8221; view will give you a the overview of every method/variable defined.</p>
<p><img class="aligncenter size-full wp-image-276" title="screenshot9" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/screenshot9.png" alt="screenshot9" width="732" height="394" /></p>
<p>Double clicking a method will take you to this method. No search, no scrolling, no touching the mouse. In eclipse there is an even better way. Once inside a class you can use CTRL+O to get a quick outline with autocomplete functionality, finding the method you were looking for never was this easy&#8230;</p>
<p><img class="aligncenter size-full wp-image-277" title="eclipse quick outline" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/screenshot.png" alt="eclipse quick outline" width="707" height="443" /></p>
<p>Thanks Eclipse <img src='http://www.digitalbase.eu/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h1>Platform Independance</h1>
<p>If you are a regular reader of this blog, you will know we are using several linux flavours in our office. So for us it is very important t he same editor can be used on Windows &amp; Linux platforms. Most &#8220;multi-platform&#8221; ide&#8217;s are based on java (zend, eclipse,&#8230;) but there are some other ide&#8217;s that have clients for both platforms.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/what-is-important-in-a-php-editoride/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Symfony Plugin for Eclipse : SfDT</title>
		<link>http://www.digitalbase.eu/blog/symfony-plugin-for-eclipse-sfdt/</link>
		<comments>http://www.digitalbase.eu/blog/symfony-plugin-for-eclipse-sfdt/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 11:27:25 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.digitalbase.eu/blog/?p=223</guid>
		<description><![CDATA[I just found out someone is working on a new symfony plugin for eclipse, there used to be symfoclipse, but closed-source, commercial and no support for Eclipse 3.4. This new plugin works with symfony 1.0, 1.1 and 1.2. The website states it is tested with Eclipse 3.3.2 and PDT 1.0.2 but i did manage to [...]]]></description>
			<content:encoded><![CDATA[<p>I just found out someone is working on a new symfony plugin for eclipse, there used to be <a href="http://www.noy.cc/symfoclipse/" target="_blank">symfoclipse</a>, but closed-source, commercial and no support for Eclipse 3.4. This new plugin works with symfony 1.0, 1.1 and 1.2. <a href="http://sfdt.borox.ch/" target="_blank">The website</a> states it is tested with Eclipse 3.3.2 and PDT 1.0.2 but i did manage to run it on Eclipse 3.4 and PDT 2.x.</p>
<p>So what can this plugin do ?</p>
<ul>
<li>create modules/projects/applications rightfrom within Eclipse</li>
<li>convert Clay database to schema.xml/yml</li>
<li>run symfony commandline from within eclipse</li>
</ul>
<p><img class="aligncenter size-full wp-image-224" title="screenshot11" src="http://www.digitalbase.eu/blog/wp-content/uploads//2009/01/screenshot11.png" alt="screenshot11" width="640" height="311" /></p>
<p>More information on this plugin :</p>
<ul>
<li>website : <a href="http://sfdt.borox.ch/" target="_blank">http://sfdt.borox.ch/</a></li>
<li><a href="http://groups.google.com/group/symfony-users/browse_thread/thread/e347be3c14bc0f0a/56809a9b65048126?show_docid=56809a9b65048126" target="_blank">google discussion</a> / <a href="http://groups.google.com/group/symfony-users/browse_thread/thread/c600dccda1bf6d3a/98a1ba77efbadb52?#98a1ba77efbadb52" target="_blank">another google discussion</a></li>
</ul>
<p>Good job guys !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/symfony-plugin-for-eclipse-sfdt/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PDT 2.0 for Eclipse is out</title>
		<link>http://www.digitalbase.eu/blog/pdt-20-for-eclipse-is-out/</link>
		<comments>http://www.digitalbase.eu/blog/pdt-20-for-eclipse-is-out/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 09:35:59 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[pdt]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.digitalbase.eu/blog/?p=154</guid>
		<description><![CDATA[If you are into PHP development, this might interest you : PDT 2.0 is out, download it here. Congrats to the PDT team for this great release and the respect of the deadline.


If you are wondering whats new, check this page. Have fun with it&#8230;
]]></description>
			<content:encoded><![CDATA[<p>If you are into PHP development, this might interest you : <a href="http://www.eclipse.org/pdt/" target="_blank">PDT 2.0</a> is out, <a href="http://www.eclipse.org/pdt/downloads/" target="_blank">download it here.</a> Congrats to the PDT team for this great release and the respect of the deadline.<a href="http://www.eclipse.org/pdt/downloads/" target="_blank"><br />
</a></p>
<p><a title="Download ECLIPSE pdt" href="http://www.eclipse.org/pdt/downloads/" target="_blank"><img class="aligncenter size-full wp-image-155" title="download pdt" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/screenshot11.png" alt="download pdt" width="616" height="302" /></a></p>
<p>If you are wondering whats new, check <a href="http://www.eclipse.org/pdt/release-notes/pdt2_0.php" target="_blank">this page.</a> Have fun with it&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/pdt-20-for-eclipse-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developer Faster with lightning fast Eclipse</title>
		<link>http://www.digitalbase.eu/blog/developer-faster-with-lightning-fast-eclipse/</link>
		<comments>http://www.digitalbase.eu/blog/developer-faster-with-lightning-fast-eclipse/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 11:24:56 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.digitalbase.eu/blog/?p=127</guid>
		<description><![CDATA[When maintaining &#38; developming large web applications you might notice that eclipse slows up a bit. Building workspace, showing the autocomplete or syntax highlighting might take a while to load. The solution for this is to optimise your eclipse.ini and tell your favourite PHP development IDE to use more memory.
After installing eclipse you open the [...]]]></description>
			<content:encoded><![CDATA[<p>When maintaining &amp; developming large web applications you might notice that eclipse slows up a bit. Building workspace, showing the autocomplete or syntax highlighting might take a while to load. The solution for this is to optimise your eclipse.ini and tell your favourite PHP development IDE to use more memory.</p>
<p>After installing eclipse you open the eclipse.ini in the root. If you followed <a href="http://www.digitalbase.eu/blog/installing-eclipse-latest-php-development-tools-pdt-20/" target="_blank">my previous post</a>, the default settings should be something like this :</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">-startup
plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.101.R34x_v20080805
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx256m</pre></div></div>

<p>This means eclipse will use in between 40 and 256mb. These default settings will allow you to run Eclipse on a pre historic PII with less then 1GB ram, although i wouldn&#8217;t recommend that.</p>
<p>Most of you, especially developers working in a development agency, will have powerful workstations. So lets tell eclipse to use a bit more resources</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">-startup
plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.101.R34x_v20080805
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
-vmargs
-Xms256m
-Xmx1024m
-XX:MaxPermSize<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">256m</span></pre></div></div>

<p>I changed the xms, xmx and xx:maxpermsize settings.</p>
<p>What does it mean ?</p>
<ul>
<li> Xms sets the initial Java heap size</li>
<li>Xmx sets the maximum Java heap size</li>
<li>XX:MaxPermSize allows for the JVM to be able to grow the PermSize to the amount specified. Initially when the IDE is loaded, the MaxPermSize will still be the default value but will not actually take up that amount until it is needed.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/developer-faster-with-lightning-fast-eclipse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Eclipse + Latest Php Development Tools (PDT 2.0)</title>
		<link>http://www.digitalbase.eu/blog/installing-eclipse-latest-php-development-tools-pdt-20/</link>
		<comments>http://www.digitalbase.eu/blog/installing-eclipse-latest-php-development-tools-pdt-20/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 18:32:00 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.digitalbase.eu/blog/?p=105</guid>
		<description><![CDATA[Following up on my previous post on &#8220;installing 3.4 + PDT 2.x&#8221; i wanted to let you know there is a much easier way. As we are coming close to a stable version of pdt 2.x (launch on 29th of December) :

 2.0 M1 &#8211; November 03
 2.0 M2 &#8211; November 24
 2.0 RC1 &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Following up on my previous post on &#8220;<a href="http://www.digitalbase.eu/blog/installing-eclipse-3-4-pdt-2-x-nightly-build/">installing 3.4 + PDT 2.x</a>&#8221; i wanted to let you know there is a much easier way. As we are coming close to a stable version of pdt 2.x (launch on 29th of December) :</p>
<div id="midcolumn">
<li> 2.0 M1 &#8211; November 03</li>
<li> 2.0 M2 &#8211; November 24</li>
<li> 2.0 RC1 &#8211; December 08</li>
<li> 2.0 RC2 &#8211; December 14</li>
<li> 2.0 RC3 &#8211; December 23</li>
<li><strong> 2.0 Release &#8211; December 29 </strong></li>
</div>
<p>The PDT core team decided to setup an &#8220;update site&#8221; so you can easily fetch the latest version from within eclipse.</p>
<h1>Installation</h1>
<h2>Getting &amp; Running Eclipse</h2>
<p>Get the latest version of Eclipse from <a href="http://www.eclipse.org/downloads/" target="_blank">the download site</a>. I went for &#8220;<a class="packageTitle" href="http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.4.1-200809111700/eclipse-SDK-3.4.1-linux-gtk.tar.gz" target="_blank">Eclipse Classic 3.4.1 (151 MB)</a>&#8220;. Extract it and double eclipse the eclipse executable.</p>
<h2>Adding the PDT 2.x</h2>
<p>When you selected a workspace and fired up eclipse add the different update sites (Help &gt; Software Updates&#8230; &gt; Available Software &gt; Manage Sites)</p>
<p>A list of the ones you need to add :</p>
<ul>
<li><a class="external text" title="http://download.eclipse.org/technology/dltk/updates-dev/1.0/" rel="nofollow" href="http://download.eclipse.org/technology/dltk/updates-dev/1.0/">download.eclipse.org/technology/dltk/updates-dev/1.0/</a> DLTK 1.0</li>
<li> <a class="external text" title="http://download.eclipse.org/tools/pdt/updates/2.0/interim/" rel="nofollow" href="http://download.eclipse.org/tools/pdt/updates/2.0/interim/">download.eclipse.org/tools/pdt/updates/2.0/interim/</a> : PDT 2.0 updates</li>
</ul>
<p>Also make sure to enable the default Ganymede update site.</p>
<p><a href="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/imagepdt-install-p2.png"><img class="alignnone size-full wp-image-110" title="imagepdt-install-p2" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/imagepdt-install-p2.png" alt="" /></a></p>
<div id="attachment_113" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/screenshot12.png"><img class="size-full wp-image-113" title="update site (eclipse)" src="http://www.digitalbase.eu/blog/wp-content/uploads//2008/12/screenshot12.png" alt="make sure these checkboxes are ... checked :)" width="500" height="528" /></a><p class="wp-caption-text">make sure these checkboxes are ... checked <img src='http://www.digitalbase.eu/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></div>
<p><a href="http://www.digitalbase.eu/blog/wp-content/uploads/english/2008/12/imagepdt-install-p2.png"><img class="alignright size-medium wp-image-107" title="imagepdt-install-p2" src="http://www.digitalbase.eu/blog/wp-content/uploads/english/2008/12/imagepdt-install-p2.png" alt="" /></a></p>
<p>Expand the DLTK site and select the <strong>Dynamic Languages Toolkit &#8211; Core Frameworks</strong> or <strong>Dynamic Languages Toolkit &#8211; Core Frameworks SDK</strong> Feature.<br />
Then check the PDT SDK feature (PDT SDK 2.0.0 &#8230;.). Click install &amp; restart eclipse.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/installing-eclipse-latest-php-development-tools-pdt-20/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bug in Eclipse3.4 + PDT 2.0 (all platforms)</title>
		<link>http://www.digitalbase.eu/blog/bug-in-eclipse3-4-pdt-2-0-all-platforms/</link>
		<comments>http://www.digitalbase.eu/blog/bug-in-eclipse3-4-pdt-2-0-all-platforms/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 13:33:55 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://dibav3.gnelisse.desktop01/blog/?p=87</guid>
		<description><![CDATA[After installing Eclipse (Ganymede) + PDT 2.0 you might have noticed a problem : internal error during "Selection Job Title", here is the fix....]]></description>
			<content:encoded><![CDATA[<h2>The Problem</h2>
<p>After installing Eclipse 3.4 (codename : <a title="Eclipse Ganymede" href="http://www.eclipse.org/ganymede/" target="_blank">Ganymede</a> ) and <a title="PDT" href="http://www.eclipse.org/pdt/" target="_blank">PDT</a> 2.0 (<a title="again PHP Development Tools" href="http://www.eclipse.org/pdt/" target="_blank">PHP Development Tools</a> ) as i <a title="Installing Eclipse 3.4 with pdt 2.x" href="http://www.digitalbase.eu/blog/installing-eclipse-3-4-pdt-2-x-nightly-build" target="_blank">explained in this post</a> . You should have noticed a strange problem when opening/editing PHP files.</p>
<blockquote><p>An internal error occured during &#8220;Selection Job Title&#8221;</p></blockquote>
<p>After googling <a title="Error selecting job" href="http://dev.eclipse.org/mhonarc/lists/pdt-dev/msg00682.html" target="_blank">i found another user having the same problem</a> but no real solution is posted, so here it comes .</p>
<h2>The Solution</h2>
<p>You need to install the latest version of <a title="DLTK" href="http://www.eclipse.org/dltk/" target="_blank">DLTK</a> (<a title="Dynamic Languages Toolkit" href="http://www.eclipse.org/dltk/" target="_blank">Dynamic Languages ToolKit</a> ). Just<a title="ECLIPSE DLTK Download" href="http://www.eclipse.org/downloads/download.php?file=/technology/dltk/downloads/drops/R0.9/R-0.9-200706220937/dltk-sdk-R-0.9-200706220937-incubation.zip" target="_blank"> download the files here</a> , extract those to a local directory. Then launch eclipse, in software installs &amp; updates (help menu) add a local site, and update DLTK.</p>
<p>After that just restart Ecipse (ganymede) and you can start using PDT.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/bug-in-eclipse3-4-pdt-2-0-all-platforms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Eclipse 3.4 + PDT 2.x (nightly build)</title>
		<link>http://www.digitalbase.eu/blog/installing-eclipse-3-4-pdt-2-x-nightly-build/</link>
		<comments>http://www.digitalbase.eu/blog/installing-eclipse-3-4-pdt-2-x-nightly-build/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 13:32:25 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pdt]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://dibav3.gnelisse.desktop01/blog/?p=83</guid>
		<description><![CDATA[This how to will explain you (step by step) howto install eclipse 3.4 together with PDT (PHP Development Tools).]]></description>
			<content:encoded><![CDATA[<p>I told you previously <a title="Why do they not put Eclipse 3.3 as default in latest ubuntu ?" href="/blog/my-frustration-ubuntu-hardy-heron-and-eclipse-pdt" target="_blank">about my frustration getting </a> <a title="Why do they not put Eclipse 3.3 as default in latest ubuntu ?" href="/blog/my-frustration-ubuntu-hardy-heron-and-eclipse-pdt" target="_blank">eclipse</a> <a title="Why do they not put Eclipse 3.3 as default in latest ubuntu ?" href="/blog/my-frustration-ubuntu-hardy-heron-and-eclipse-pdt" target="_blank"> 3.3 as a default in the latest ubuntu</a> (<a title="Ubuntu - Hardy Heron Released" href="/blog/my-frustration-ubuntu-hardy-heron-and-eclipse-pdt" target="_blank">Hardy Heron 8.04</a> ). It looks like they are not going to come up with a solution soon.</p>
<p>This guide will take you through the steps howto get the latest <a title="Eclipse IDE" href="http://www.eclipse.org" target="_blank">Eclipse</a> together with <a title="PHP Development Tools" href="http://www.eclipse.org/pdt/" target="_blank">PDT (PHP development Tools)</a> running on your ubuntu box (Feisty or Hardy). Windows users, this guide will also help you throughout the process of installing our favourite PHP IDE (get that Zend ?).</p>
<h1>Downloading all files :</h1>
<h2>get Eclipse 3.4</h2>
<p>Goto the <a title="Eclipse Download Site" href="http://www.eclipse.org/downloads/" target="_blank">eclipse download site</a> and pick one of the Ganymede (codename for 3.4) packages. As i only need eclipse for PHP development i went for the <a title="Eclipse Ganymede Classic" href="http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-linux-gtk.tar.gz" target="_blank">&#8220;Eclipse Classic&#8221; package</a> (about 150MB).</p>
<h2>get Eclipse PDT (2.0 nightly build)</h2>
<p>The <a title="PDT download page" href="http://download.eclipse.org/tools/pdt/downloads/" target="_blank">PDT download page</a> offers alot of different packages. As we are using <a title="Eclipse SDK 3.4 - Ganymede" href="http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-linux-gtk.tar.gz" target="_blank">eclipse 3.4</a> we will have to go for the 2.x release. Select the &#8220;2.0.0 Nightly Build&#8221; option and download the package (about 6MB), you don&#8217;t need the PDT JUnit Plugin Tests and Automated Testing Framework so just select the first option.</p>
<h2>move the files</h2>
<p>Ok that&#8217;s it, now you should have 2 files :</p>
<ul>
<li>eclipse-SDK-3.4-linux-gtk.tar.gz</li>
<li>org.eclipse.php_feature-I20080707.zip</li>
</ul>
<p>Move those files to your home directory in a folder called &#8220;eclipsepdt&#8221;.</p>
<h1>Unpacking everything:</h1>
<p>Fire up a terminal window and move to the &#8220;eclipsepdt&#8221; folder</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~
<span style="color: #7a0874; font-weight: bold;">cd</span> eclipsepdt</pre></div></div>

<p>Now unpack both files</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">unzip</span> org.eclipse.php_feature-<span style="color: #000000; font-weight: bold;">*</span>.zip
<span style="color: #c20cb9; font-weight: bold;">mv</span> eclipse pdt
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-zxvf</span> eclipse-SDK-<span style="color: #000000;">3.4</span>-linux-gtk.tar.gz</pre></div></div>

<p>Now when you ls -all it should something like this :</p>
<p><img title="Directory listing" src="/uploads/assets//blog/Tutorials/eclipsepdt/screenshot4.png" border="0" alt="Directory listing" width="542" height="146" /></p>
<h2>Cleanup : remove archives:</h2>
<p>Once that&#8217;s done, you will want to remove the archives (already unpacked).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">rm</span> eclipse<span style="color: #000000; font-weight: bold;">*</span>.tar.gz;<span style="color: #c20cb9; font-weight: bold;">rm</span> org.eclipse.php<span style="color: #000000; font-weight: bold;">*</span>.zip</pre></div></div>

<p>This should leave you with a clean folder containing all needed files. You should see something very similar to this :</p>
<p><img title="listing of eclipse directory (in home)" src="/uploads/assets//blog/Tutorials/eclipsepdt/screenshot7.png" border="0" alt=" listing of eclipse directory (in home)" width="604" height="708" /></p>
<h1>Correct Java Installation</h1>
<h2>Install Sun&#8217;s Java</h2>
<p>Luckily java&#8217;s sun is in ubuntu&#8217;s package library, so we can use aptitude. If you don&#8217;t want Java 6, you can use Java 5 too (sun-java5-jdk. After this command it will ask you to accept a few terms &amp; agreements, and press OK a few times, just follow instructions.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> eclipse sun-java6-jdk</pre></div></div>

<h2>Tell Ubuntu to use Sun&#8217;s Java</h2>
<p>This will install the required packages, however, Eclipse will run very<br />
slowly since (by default) it will be using GNU&#8217;s java, not Sun&#8217;s. We now need to tell ubuntu to use Sun&#8217;s java as the default one (for those using java 5, replace<br />
java-6-sun with java-1.5.0-sun).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> update-java-alternatives <span style="color: #660033;">-s</span> java-<span style="color: #000000;">6</span>-sun</pre></div></div>

<p>Next, edit the JVM configuration file</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #660033;">-b</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>jvm</pre></div></div>

<p>and add the following line <strong>ON TOP </strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jvm<span style="color: #000000; font-weight: bold;">/</span>java-<span style="color: #000000;">6</span>-sun</pre></div></div>

<h2>Tell Eclipse to use Sun&#8217;s Java</h2>
<p>If you thought that this was it for the java part you are mistaking. There is a bug where Eclipse totally ignores the default java set in Ubuntu (<a title="Eclipse bug ignoreing Ubuntu Default Java" href="https://launchpad.net/distros/ubuntu/+source/eclipse/+bug/45347" target="_blank">bug 45347</a> ). That&#8217;s why you need to tell Eclipse explicitly to use the one you just installed.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #660033;">-b</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>eclipse<span style="color: #000000; font-weight: bold;">/</span>java_home</pre></div></div>

<p>And add</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jvm<span style="color: #000000; font-weight: bold;">/</span>java-<span style="color: #000000;">6</span>-sun</pre></div></div>

<p>On top of that file. Now we&#8217;re all set for the java part. Pfew&#8230;</p>
<h1>Install PDT</h1>
<p>As we downloaded Eclipse and PDT separately, you need to tell that Eclipse installation to install the PDT project libraries. So launch Eclipse</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">~<span style="color: #000000; font-weight: bold;">/</span>eclipsepdt<span style="color: #000000; font-weight: bold;">/</span>eclipse<span style="color: #000000; font-weight: bold;">/</span>eclipse</pre></div></div>

<p>If all goes well you should see something like :</p>
<p><img title=" eclipse ganymede splash" src="/uploads/assets//blog/Tutorials/eclipsepdt/screenshot8.png" border="0" alt=" eclipse ganymede splash" width="465" height="309" /></p>
<p>Feel free to scream if you want to. Press &#8220;OK&#8221; when eclipse asks you which workspace you want to open (unless you know what you are doing). This is really not important at this point in time, we need to get the PDT functionality running first.</p>
<p>Now go to Help (alt + H) =&gt; &#8220;Software Updates&#8221; and click the &#8220;Add Site&#8221; button (right side).</p>
<p><img title=" eclipse add local repositiry" src="/uploads/assets//blog/Tutorials/eclipsepdt/screenshot1.png" border="0" alt=" eclipse add local repositiry" width="517" height="219" /></p>
<p>Now click the &#8220;Local&#8221; button (again right side) and navigatie to your home directory/eclipsepdt/pdt or just enter &#8220;~/eclipsepdt/pdt/&#8221; in the Location bar. Then confirm using the OK button (hmm i am making this one really dummy proof).</p>
<p>If everything goes well you should see something similar to this :</p>
<p><img title="eclipse software updates" src="/uploads/assets//blog/Tutorials/eclipsepdt/eclipsepdt-install1.png" border="0" alt=" eclipse software updates screen" width="669" height="521" /></p>
<p>Note the local folder (eclipsepdt/pdt) being on top.</p>
<p>Now check the PDT feature and click install (guess where ?). Eclipse will now try to locate and include all PDT dependencies (previously you had to resolve those dependencies manually). A few seconds later it should give you an &#8220;install&#8221; window mentioning &#8220;your original request has been modified&#8221;.</p>
<p><img title="Install DPT + Dependencies" src="/uploads/assets//blog/Tutorials/eclipsepdt/eclipse-install2.png" border="0" alt="You are installing Eclipse PDT" width="601" height="699" /></p>
<p>This basically means that eclipse added the PDT dependencies to your installation queue . If you want to go on (why wouldn&#8217;t you if you came this far) just press the Next button. Next page, accept the terms and conditions. (i am letting this one slip from the screenshot gallery) and press Finish.</p>
<p><img title="PHP Tools installation in progress" src="/uploads/assets//blog/Tutorials/eclipsepdt/eclipsepdt-install3.png" border="0" alt=" PDT installation in progress" width="556" height="266" /></p>
<p>Now it&#8217;s time to go for a cup of coffee.</p>
<p><img title="Would you like to restart Eclipse ?" src="/uploads/assets//blog/Tutorials/eclipsepdt/eclipse-restart.png" border="0" alt=" Woohoo, PDT installed" width="554" height="180" /></p>
<p>That&#8217;s it, reload eclipse and enjoy the PDT features.</p>
<p>Some interesting links :</p>
<ul>
<li><a title="Getting Started using PDT" href="http://www.eioba.com/a74961/getting_started_with_eclipse_php_development_tools_pdt" target="_blank">Getting Started using Eclipse PDT</a></li>
<li><a title="Using Eclipse" href="http://en.wikibooks.org/wiki/Eclipse/Using_Eclipse" target="_blank">Using Eclipse</a></li>
</ul>
<p>If you like this post, just help the community by making your voice count :</p>
<ul>
<li><a title="Make eclipse priority" href="http://brainstorm.ubuntu.com/idea/1265/" target="_blank">Ubuntu Brainstorm #1265</a> : Make eclipse a priority</li>
<li><a title="Bug Launchpad : Upgrade eclipse to 3.4" href="https://bugs.launchpad.net/debian/+source/eclipse/+bug/123064" target="_blank">Launchpad bug #123064</a> : Upgrade to Eclipse 3.4</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/installing-eclipse-3-4-pdt-2-x-nightly-build/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My Frustration : Ubuntu Hardy Heron and Eclipse PDT</title>
		<link>http://www.digitalbase.eu/blog/my-frustration-ubuntu-hardy-heron-and-eclipse-pdt/</link>
		<comments>http://www.digitalbase.eu/blog/my-frustration-ubuntu-hardy-heron-and-eclipse-pdt/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 13:30:00 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pdt]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dibav3.gnelisse.desktop01/blog/?p=75</guid>
		<description><![CDATA[As a PHP developer we use eclipse PDT or PHPEclipse for development, too bad the ubuntu maintainers don't care about eclipse users...]]></description>
			<content:encoded><![CDATA[<p>
As PHP developers we use ubuntu (now trying Hardy Heron 8.04), but for Eclipse PDT you need Eclipse 3.3 (that is not included in ubuntu repository). Eclipse 3.3 is about 1 year old, and 3.4 will be in testing pretty soon, so for me it&#39;s really not clear why Eclipse 3.3 is not the default choice for Ubuntu 8.04.
</p>
<p>
So we include Firefox 3b05 by default, but we are using an old version of Eclipse ?
</p>
<p>
Please <a href="http://brainstorm.ubuntu.com/idea/1265/" target="_blank" title="Ubuntu Brainstorm - Eclipse 3.3">vote for the idea to include 3.3 by default</a> <a href="http://brainstorm.ubuntu.com/idea/1265/" target="_blank" title="Eclipse 3.3 in ubuntu ">or provide an easy way for users to upgrade.<br />
</a>
</p>
<p>
More information at <a href="https://bugs.launchpad.net/debian/+source/eclipse/+bug/123064" target="_blank" title="Ubuntu Launchpad Eclipse 3.3">launchpad bug #123064</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/my-frustration-ubuntu-hardy-heron-and-eclipse-pdt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
