MSCFOSS/DIF122/Software Development Practices/Unit IV/FOSS IDE Eclipse

From Amachu
Jump to: navigation, search

An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger.

Some IDEs contain compiler, interpreter, or both, such as Microsoft Visual Studio and Eclipse; others do not, such as SharpDevelop and Lazarus. The boundary between an integrated development environment and other parts of the broader software development environment is not well-defined. Sometimes a version control system and various tools are integrated to simplify the construction of a GUI. Many modern IDEs also have a class browser, an object inspector, and a class hierarchy diagram, for use with object-oriented software development.

Overview

IDEs are designed to maximize programmer productivity by providing tight-knit components with similar user interfaces. IDEs present a single program in which all development is done. This program typically provides many features for authoring, modifying, compiling, deploying and debugging software. This contrasts with software development using unrelated tools, such as vi, GCC or make.

One aim of the IDE is to reduce the configuration necessary to piece together multiple development utilities, instead providing the same set of capabilities as a cohesive unit. Reducing that setup time can increase developer productivity, in cases where learning to use the IDE is faster than manually integrating all of the individual tools. Tighter integration of all development tasks has the potential to improve overall productivity beyond just helping with setup tasks. For example, code can be continuously parsed while it is being edited, providing instant feedback when syntax errors are introduced. That can speed learning a new programming language and its associated libraries.

Some IDEs are dedicated to a specific programming language, allowing a feature set that most closely matches the programming paradigms of the language. However, there are many multiple-language IDEs, such as Eclipse, ActiveState Komodo, IntelliJ IDEA, Oracle JDeveloper, NetBeans, Microsoft Visual Studio, Genuitec MyEclipse and WinDev. Xcode is dedicated to a closed set of programming languages.

While most modern IDEs are graphical, text-based IDEs such as Turbo Pascal were in popular use before the widespread availability of windowing systems like Microsoft Windows and the X Window System (X11). Text IDEs uses function keys or hotkeys to perform various tasks.

Eclipse

Eclipse is a multi-language software development environment comprising a base workspace and an extensible plug-in system for customizing the environment. It is written mostly in Java. It can be used to develop applications in Java and, by means of various plug-ins, other programming languages including Ada, C, C++, COBOL, Fortran, Haskell, Perl, PHP, Python, R, Ruby (including Ruby on Rails framework), Scala, Clojure, Groovy, Scheme, and Erlang. It can also be used to develop packages for the software Mathematica. Development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++ and Eclipse PDT for PHP, among others.

Installation

  1. Download Eclipse from: http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.2.1-201209141800/eclipse-SDK-4.2.1-linux-gtk.tar.gz
  2. Download JDK from: http://download.oracle.com/otn-pub/java/jdk/7u13-b20/jdk-7u13-linux-i586.tar.gz
  3. Move Eclipse & JDK downloaded to /opt
    1. sudo mv ~/Downloads/eclipse-SDK-4.2.1-linux-gtk.tar.gz /opt
    2. sudo mv ~/Downloads/jdk-7u13-linux-i586.tar.gz /opt
  4. Goto /opt --> cd /opt
  5. Extract the archives
    1. sudo tar xfvz eclipse-SDK-4.2.1-linux-gtk.tar.gz
    2. sudo tar xfvz jdk-7u13-linux-i586.tar.gz
  6. Create a softlink of jre in jdk folder to eclipse folder.
    1. sudo ln -s /opt/jdk1.7.0_10/jre/ /opt/eclipse/
  7. Start Eclipse
    1. cd eclipse
    2. ./eclipse
Eclipse Home.png
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Print/export