<?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; pdt</title>
	<atom:link href="http://www.digitalbase.eu/blog/tag/pdt/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>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>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>

