Oracle® Fusion Middleware Quick Start Guide for Oracle WebLogic Portal 10g Release 3 (10.3.4) Part Number E14246-02 |
|
|
View PDF |
After you have created a basic set of projects, you can add them to your source control system.
This chapter includes the following topics:
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:
Working in Source Control – In Eclipse, select Help > Help Contents > Oracle Workshop for WebLogic User's Guide > Common IDE Tasks> Working with Source Control.
Team CVS tutorial – In Eclipse, select Help > Help Contents > Workbench User Guide > Getting started > Team CVS tutorial.
Eclipse Plugin Central – http://www.eclipseplugincentral.com
.
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.From the Project menu in the menu bar, turn off Build Automatically.
Again from the Project menu, select Clean > Clean all projects.
Deselect the Start a build immediately check box and then click OK.
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
.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.The following topics provide more detail for using source control:
"Managing a Team Development Environment" in the Oracle Fusion Middleware Production Operations Guide for Oracle WebLogic Portal
Eclipse Plugin Central – http://www.eclipseplugincentral.com
.
Oracle Enterprise Pack for Eclipse Help > Cheat Sheets > Team/CVS
Working with Source Control (Oracle Enterprise Pack for Eclipse document)
Oracle Enterprise Pack for Eclipse Help > Help Contents > Workbench User Guide > Getting started > Team CVS tutorial