Changes

Jump to navigation Jump to search
603 bytes added ,  21:58, 26 November 2008
adds quick story; article needs refactoring to remove the fluff
== Installation ==
I like to have control over what I have installed, and also like to know what is going on in my computer. For simplicity's sake, you might want to check out [http://www.easyeclipse.org/site/home/ Easy Eclipse] I didn't find that site until after spending a couple days installing, uninstalling, re-installing, and tweaking Eclipse.
=== For the impatient ===
<ol>
<li>Download the file, untar it into ~/opt </li>
<li> and make an executable launcher to start the program (/home/user/bin/eclipse)
<source lang="bash">
export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="$HOME/opt/eclipse"
$ECLIPSE_HOME/eclipse $*
</source>
</li>
<li> start eclipse and add the extras through the 'help' menu </li>
</ol>
=== Long story ===
Getting and installing Eclipse is still a lot more difficult than it should be (owing in part to the fact that it continues to grow in size, scope and complexity). In late 2008, it is '''still''' not as simple as <code>sudo apt-get install eclipse</code>. If you do that using Ubuntu Hardy Heron, the installed version will be 3.2, which dates from 2006 and '''will fail to meet requirements for recent modules like PDT'''. What's worse, the eclipse system can NOT upgrade itself. See '''https://help.ubuntu.com/community/EclipseIDE''' for more accurate help in installing Eclipse. The short instructions are to install a Java Virtual Machine (which you can use synaptic or apt-get for) and to '''download''' Eclipse and install it manually. Add to that a lot of additional module installations.
=== Web Tools Platform ===
The Web Tools Platform is a "feature" in Eclipse providing the foundation for, well, web tools. You'll need to get this in order to install PDT.
 
=== Dynamic Languages Toolkit Core Frameworks ===
JavaScript, Ruby, TCL, Python
=== Subclipse ===
=== PHP Developer Tools (PDT) ===
The [http://www.eclipse.org/pdt/ PDT] project is the reference environment for PHP Developers.
Installing the PDT is very simple, and the steps are listed at https://help.ubuntu.com/community/EclipsePDT The wiki for the project is at http://wiki.eclipse.org/index.php/PDT
== Zend Studio for Eclipse ==
Zend Studio and other IDEs are similar to the PDT, but are not free. * http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-1268.html
* http://www.zend.com/en/products/studio/
== Upgrading ==
It seems that Eclipse will not allow you to upgrade the system itself from Eclipse 3.2 to Eclipse 3.3 to Eclipse 3.4 to get Eclipse to work with the recent releases of PDT or PHPEclipse. Instead, you have to install the base Eclipse you want, and get the specific bundles that will work with that base.
{{ambox|
| text = the Eclipse Foundation coordinates an update to the technology on an annual basis (this process is called a "Release Train") and has been doing so every June since 2003. ; 2006 : Eclipse 3.2 / Calisto  <nowiki>http://download.eclipse.org/releases/calisto/ </nowiki> discovery site; 2007 : Eclipse 3.3 / [http://www.crn.com/software/200001763 Europa]  <nowiki>http://download.eclipse.org/releases/europa/ </nowiki> discovery site; 2008 : Eclipse 3.4 / [http://www.eclipse.org/ganymede/ Ganymede]  <nowiki>http://download.eclipse.org/releases/ganymede/</nowiki> discovery site
}}
java-gcj 1042 /usr/lib/jvm/java-gcj
</pre>
Then you can set the Sun Microsystems Java as the default with
<source lang="bash">
sudo update-java-alternatives --set java-6-sun
* [http://live.eclipse.org/node/578 PHP Tutorial: Using Eclipse+PDT as a PHP IDE]
* http://wiki.eclipse.org/PDT/TUTORIALS
 
[[Category:Applications]]
[[Category:Howto]]
[[Category:Best Practices]]
[[Category:Development]]
[[Category:Subversion]]
4,558

edits

Navigation menu