Using+Eclipse+for+CMPE273

Using+Eclipse+for+CMPE273 - Using Eclipse for CMPE273 lab...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Using Eclipse for CMPE273 lab assignments and project Using Eclipse for CMPE273 lab assignments and project This document will illustrate how the Eclipse open-source IDE can be used to develop the software deliverables for the labs and project. This document is not intended to be a tutorial on general software development using Eclipse. Rather, this document aims to show how the features of Eclipse can be leveraged in order to reduce development time for class labs and the class project. This document contains a walk-through for the ORB product used in class: JavaIDL - The ORB that comes built into the JDK This tutorial is not intended to give you a complete walkthrough of Eclipse - we're only going to walk through a simple example using JavaIDL . There are several good web sites and documents out there that detail Eclipse's rich functionality at a much greater level of detail. Step 1 - Prepare your environment You'll need to download and install several software packages in order to effectively follow along with this demonstration. JDK 1.6.0 (or later) - This can be downloaded from Sun's Java download page . Download the version appropriate for your operating system. Note: This tutorial assumes the following installation directories for the JDK. If you install in a different directory, you will need to make the appropriate changes later in the tutorial. Linux: /usr/local/jdk1.6.0 Windows: C:\JDK1.6.0 Eclipse-JEE-ganymede - This can be downloaded from here . Download the version appropriate for your operating system. Note: For Linux environments, the GTK version is recommended Lab 1 from class - will need to be installed somewhere on your disk When installing the above software products, you can refer to each product's installation instructions if you need help. This tutorial is not designed to illustrate the installation procedures for these software products. Step 2 - Configuring Eclipse for the counter example Eclipse combines the functionality of a traditional IDE (syntax hilighting, checking, incremental compiling, type-ahead, etc) with an extensible plug-in architecture, allowing developers to add functionality to the base Eclipse product. Currently, there are no CORBA plugins for Eclipse that provide the required level of functionality for this class. Therefore, we will be configuring Eclipse to utilize our ORB product's native utilities (idlj, tnameserv, etc), allowing us to launch these tools from a pull-down menu. Eclipse stores all your work files inside the Eclipse workspace . The workspace contains all your source code, compiled class files, resources used by your project (such as IDL files, images, text files, etc), and other metadata about the structure of your projects. Eclipse maintains a single workspace, regardless of how many individual projects you create. Each project contains the source code and pointers to any dependent libraries needed to build and run the code in the project. Let's start by creating a project to house our simple Counter example. Click the 'New Project' icon just below the 'File' menu:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/17/2009 for the course CMPE 273 taught by Professor Shim during the Fall '09 term at San Jose State University .

Page1 / 19

Using+Eclipse+for+CMPE273 - Using Eclipse for CMPE273 lab...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online