










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Software engineering is about the development and application of processes and tools for managing the complexities inherent in creating high quality software systems. It introduces the fundamental software engineering concepts and terminology. This lecture includes: Introduction, Eclipse, Subversive, Plugin, Perspective, Program, Integrated, Development, Environment, Applications, Command
Typology: Slides
1 / 18
This page cannot be seen from the preview
Don't miss anything!











This Lab will cover:
Eclipse is a multi‐language software development environment comprising an integrated development environment (IDE) and an extensible plug‐in system. It is written primarily in Java and can be used to develop applications in Java and, by means of various plug‐ins, other languages including C, C++, COBOL, Python, Perl, PHP etc. The IDE is often called Eclipse ADT for Ada , Eclipse CDT for C/C++, Eclipse JDT for Java and Eclipse PDT for PHP.
1. Download Eclipse (i.e. eclipse‐SDK‐3.0.1‐win32.zip) from http://download.eclipse.org/eclipse/downloads/ 2. Extract Eclipse (eclipse‐SDK‐3.0.1‐win32.zip) and copy to C:\eclipse. It can be uninstalled by removing the directory (there is no entry in the registry). 3. Eclipse directory will be C:\eclipse
C:\eclipse\configuration\ Plug in configuration directory C:\eclipse\features\ Features directory C:\eclipse\plugins\ Plug in directory C:\eclipse\eclipse.exe Eclipse executable file 4. Start and Close Eclipse You just need to execute (double click) eclipse.exe file in the eclipse directory. When you start first time, you can select a workspace. The workspace is to store your projects in the directory. You may select C:\eclipse\workspace or elsewhere. 5. Click a workbench icon to start using eclipse.
Figure 1 Eclipse Startup Window
6. To close Eclipse, click [x] button, or select [File] ‐> [Exit] from menu.
1.5 can be downloaded from http://java.sun.com/j2se/1.5/download.html. Eclipse can run on any platform with a Java Virtual Machine.
Suppose that you have installed Eclipse files in c:\eclipse. To start Eclipse, double‐click on the eclipse icon in the c:\eclipse folder, as shown in Figure 2.
A perspective defines the initial set and layout of views in the window. Perspectives control what appears in certain menus and toolbars. For example, a Java perspective contains the views that you would commonly use for editing Java source files, while the Debug perspective contains the views you would use for debugging Java programs. You may switch perspectives, but you need to specify an initial perspective for a workspace. To create Java programs, set the Java perspective by choosing Window , Open Perspective , Java from the main menu, as shown in Figure 5.
The new UI is shown in Figure 6.
Now you can create a program in the project by choosing File, New, Class to display the New Java Class wizard, as shown in Figure 9.
Type Welcome in the Name field. Check the option public static void main(String[] args). Click Finish to generate the template for the source code Welcome.java, as shown in Figure 10.
NOTE: You may use a package by entering a package name in the Package field in Figure 10. Since the source code in the book does not use packages, the Package field is left blank to match the code in the book.
By default, your source code is dynamically compiled as you type. For example, if you forgot to type the semicolon (;) to end the statement, as shown in Figure 12, you will see the red wriggly line in the editor pointing to the error. To run the program, right‐click the class in the project to display a context menu, as shown in Figure 13. Choose Run , Java Application in the context menu to run the class. The output is displayed in the Console pane, as shown in Figure 14.
3. Click on Add 4. Type Subversive in name and click Local and select subversive plug‐in
8. Click on Window‐>Open Perspective ‐> SVN Repository Exploring