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
Home
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

4 Using Source Control

After you have created a basic set of projects, you can add them to your source control system.

This chapter includes the following topics:

4.1 Team Plug-ins

Oracle Enterprise Pack for Eclipse integrates with source control systems using Eclipse Team plug-ins. Team plug-ins are useful because they handle source control so you can concentrate on developing your projects. Team plug-ins are also smart. For example, they exclude generated files from being checked in because they know the difference between your source code and generated files and classes. Additionally, most Team plug-ins respond properly when you create new files by adding them to source control, and to refactoring by checking out the appropriate files.

Eclipse has integrated features for working with CVS (Concurrent Versions System) repositories. You can also install a plug-in that integrates your source control system with Eclipse.

The following list provides useful information when setting up and working with source control:

4.2 Manual Source Control

If you use source control manually, you will need to exclude generated files and classes. One way to do this is to clean the projects.

Note:

This method is not recommended. The following information is provided for reference only.
  1. From the Project menu in the menu bar, turn off Build Automatically.

  2. Again from the Project menu, select Clean > Clean all projects.

  3. Deselect the Start a build immediately check box and then click OK.

  4. Once the projects are clean, check in the remaining project files.

    Note:

    Make sure you don't miss the dot files, such as .project, .classpath, and .settings.
  5. Turn Build Automatically back on after you have checked the files in.

    Note:

    You will have to keep track of any files you add or change.

4.3 Related Information

The following topics provide more detail for using source control: