Eclipse: Difference between revisions
No edit summary |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" Tags: Mobile edit Mobile web edit |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{highlight|text=This page was last updated in 2009. I personally have been using [[NetBeans]] instead of Eclipse [[User:Freephile|freephile]] ([[User talk:Freephile|talk]]) 21:25, 30 January 2016 (EST)}} | |||
== Intro == | == Intro == | ||
[http://www.eclipse.org/ Eclipse] ([http://wiki.eclipse.org/Main_Page wiki site]) is an open source community whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the application development lifecycle. A large and vibrant ecosystem of major technology vendors, innovative start-ups, universities, research institutions and individuals extend, complement and support the Eclipse platform. | [http://www.eclipse.org/ Eclipse] ([http://wiki.eclipse.org/Main_Page wiki site]) is an open source community whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the application development lifecycle. A large and vibrant ecosystem of major technology vendors, innovative start-ups, universities, research institutions and individuals extend, complement and support the Eclipse platform. | ||
| Line 11: | Line 11: | ||
<li>Download the file, untar it into ~/opt </li> | <li>Download the file, untar it into ~/opt </li> | ||
<li> and make an executable launcher to start the program (/home/user/bin/eclipse) | <li> and make an executable launcher to start the program (/home/user/bin/eclipse) | ||
< | <syntaxhighlight lang="bash"> | ||
export MOZILLA_FIVE_HOME="/usr/lib/mozilla/" | export MOZILLA_FIVE_HOME="/usr/lib/mozilla/" | ||
export ECLIPSE_HOME="$HOME/opt/eclipse" | export ECLIPSE_HOME="$HOME/opt/eclipse" | ||
$ECLIPSE_HOME/eclipse $* | $ECLIPSE_HOME/eclipse $* | ||
</ | </syntaxhighlight> | ||
</li> | </li> | ||
<li> start eclipse and add the extras through the 'help' menu </li> | <li> start eclipse and add the extras through the 'help' menu </li> | ||
| Line 59: | Line 59: | ||
| type = failure | | type = failure | ||
| text = to get Subclipse working on my Ubuntu Intrepid Ibex system, I had to install the Java bindings for Subversion (see http://subclipse.tigris.org/wiki/JavaHL) and also modify my eclipse.ini settings}} | | text = to get Subclipse working on my Ubuntu Intrepid Ibex system, I had to install the Java bindings for Subversion (see http://subclipse.tigris.org/wiki/JavaHL) and also modify my eclipse.ini settings}} | ||
< | <syntaxhighlight lang="bash"> | ||
# provides the JavaHL libraries | # provides the JavaHL libraries | ||
sudo apt-get install libsvn-java | sudo apt-get install libsvn-java | ||
</ | </syntaxhighlight> | ||
Add to eclipse.ini | Add to eclipse.ini | ||
< | <syntaxhighlight lang="bash"> | ||
-Djava.library.path=/usr/lib/jni | -Djava.library.path=/usr/lib/jni | ||
</ | </syntaxhighlight> | ||
=== PHPEclipse === | === PHPEclipse === | ||
| Line 102: | Line 102: | ||
http://www.aptana.com/studio | http://www.aptana.com/studio | ||
Their no-cost version is pretty complete, and the pro version is almost as cheap as they come at $99 The pro version adds SFTP capability which I don't understand since you can get Target Management RSE for free -- and the latter seems more powerful from the description. I don't use it, and haven't compared Aptana to the free Eclipse, but I figured I'd mention it in case someone is looking for a product that comes with paid technical support. | Their no-cost version is pretty complete, and the pro version is almost as cheap as they come at $99 The pro version adds SFTP capability which I don't understand since you can get Target Management RSE for free -- and the latter seems more powerful from the description. I don't use it, and haven't compared Aptana to the free Eclipse, but I figured I'd mention it in case someone is looking for a product that comes with paid technical support. | ||
=== Polarion === | |||
Polarion offers some additional features for use with Subversion such as LDAP authentication | |||
http://www.polarion.com/products/eclipse/ | |||
=== Zend Studio for Eclipse === | === Zend Studio for Eclipse === | ||
| Line 121: | Line 125: | ||
| 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. | | 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 | ; 2006 : Eclipse 3.2 / Calisto | ||
<nowiki>http://download.eclipse.org/releases/calisto/ </nowiki> discovery site | <nowiki>http://download.eclipse.org/releases/calisto/ </nowiki> discovery site | ||
; 2007 : Eclipse 3.3 / [http://www.crn.com/software/200001763 Europa] | ; 2007 : Eclipse 3.3 / [http://www.crn.com/software/200001763 Europa] | ||
<nowiki>http://download.eclipse.org/releases/europa/ </nowiki> discovery site | <nowiki>http://download.eclipse.org/releases/europa/ </nowiki> discovery site | ||
; 2008 : Eclipse 3.4 / [http://www.eclipse.org/ganymede/ Ganymede] | ; 2008 : Eclipse 3.4 / [http://www.eclipse.org/ganymede/ Ganymede] | ||
<nowiki>http://download.eclipse.org/releases/ganymede/</nowiki> discovery site | <nowiki>http://download.eclipse.org/releases/ganymede/</nowiki> discovery site | ||
note too that the discovery site URIs should be added to the eclipse software under " help -> software updates -> add site " for software discovery. The | note too that the discovery site URIs should be added to the eclipse software under " help -> software updates -> add site " for software discovery. The endpoints for these URIs are not formatted for human reading. | ||
}} | }} | ||
In addition to installing Eclipse, you should definitely be sure to set the Java environement | In addition to installing Eclipse, you should definitely be sure to set the Java environement | ||
< | <syntaxhighlight lang="bash"> | ||
sudo update-java-alternatives --list | sudo update-java-alternatives --list | ||
</ | </syntaxhighlight> | ||
That command should list something like | That command should list something like | ||
<pre> | <pre> | ||
| Line 146: | Line 144: | ||
</pre> | </pre> | ||
Then you can set the Sun Microsystems Java as the default with | Then you can set the Sun Microsystems Java as the default with | ||
< | <syntaxhighlight lang="bash"> | ||
sudo update-java-alternatives --set java-6-sun | sudo update-java-alternatives --set java-6-sun | ||
</ | </syntaxhighlight> | ||
To upgrade, you should be able to just | To upgrade, you should be able to just | ||