Skip Headers
Oracle® Fusion Middleware Quick Start Guide for Oracle WebLogic Portal
10g Release 3 (10.3.4)

Part Number E14246-02
Go to Documentation Home
Go to Table of Contents
Go to Feedback page
Contact Us

Go to previous page
Go to next page
View PDF

2 Preparing and Creating Your Workspace

Oracle Enterprise Pack for Eclipse is a tool used for portal development. Oracle Enterprise Pack for Eclipse uses workspaces to organize your projects and keep track of your preferences.

This chapter includes the following topics:

2.1 Setting Up Your Workspace and Project Directories

A workspace is a directory that contains all your configuration and state information, such as your Oracle Enterprise Pack for Eclipse color preferences, recently opened files, caches, and so on. By default your portal projects go in your workspace.


As a best practice, keep your projects outside of the workspace. This organization allows better sharing among team members, more flexibility for linking projects when working with multiple enterprise applications, and easier reassembly if the enterprise application is restructured.

Rather than using the default project location, which is within the workspace directories, your projects should be in their own directories—where they can be managed by source control.

You will need to create separate directories for these projects:

Example 2-1 shows an example structure for all the modules. Although, you don't need to create every directory at this point, it may be easier to create them now rather than later (from Oracle Enterprise Pack for Eclipse).

Example 2-1 Module Directories Example

HOME/workspaces/projectX/            # workspace directory for Project X

HOME/projects/projectX/              # directory for the Project X projects
                 projectXapp/        # your EAR project
                 projectX/           # your WAR project
                 projectXdatasync/   # a Datasync project
                 projectXejb/        # an EJB project
                 projectXutility/    # a J2EE utility project

HOME/domains/projectX/               # domain directory for Project X

2.2 Creating a Workspace

After deciding on the structure or setting up your project directories, create a workspace in Oracle Enterprise Pack for Eclipse. Oracle Enterprise Pack for Eclipse is built on the Eclipse IDE framework. As a result, many of the standard features of Oracle Enterprise Pack for Eclipse are described in the Eclipse documentation, available at and Oracle Enterprise Pack for Eclipse online help.

To start Oracle Enterprise Pack for Eclipse on:

Microsoft Windows: From the Start menu, click All Programs > Oracle Products > Workshop for WebLogic.

Linux: Executable file: <MW_HOME>/oepe_11gR1PS1/eclipse/eclipse.exe

When Oracle Enterprise Pack for Eclipse launches, it asks you for your workspace. Select the workspace folder you created in Section 2.1, "Setting Up Your Workspace and Project Directories" or create a clean folder.


As a best practice, create your workspace outside of the installation directory. This reduces problems if you reinstall or upgrade WebLogic Portal later.

When Oracle Enterprise Pack for Eclipse opens, the initial window displays the Welcome screen. This screen displays useful links for various local and online resources. You can return to the welcome screen at any time with the Help > Welcome command. It may be helpful to explore the content before continuing.

Figure 2-1 Oracle Enterprise Pack for Eclipse IDE

Description of Figure 2-1 follows
Description of "Figure 2-1 Oracle Enterprise Pack for Eclipse IDE"

Oracle Enterprise Pack for Eclipse is the basic development environment for Eclipsed-based applications. Oracle Enterprise Pack for Eclipse contains a menu bars, tool bars, code editors, and information panes called views. Views let you browse properties, projects, and so on.

The window layout is called a perspective. A perspective is a preset arrangement of editors and views tailored for performing specific tasks with specific resources. For example, Oracle Enterprise Pack for Eclipse provides perspectives for Java EE (formerly, J2EE) development, debugging, and portal development. Each perspective can be extensively customized or you can create your own.

The perspectives that you recently used are displayed in the upper-right corner of Oracle Enterprise Pack for Eclipse, as shown in Figure 2-2. You can switch back and forth between them at any time without loosing any work; you are just changing the way you look at your work.

Figure 2-2 Recently Used Perspectives

Surrounding text describes Figure 2-2 .

2.3 Related Information

The following topics provide more detail for preparing and creating your workspace: