Red Hat Training
A Red Hat training course is available for JBoss Enterprise SOA Platform
3.2. Getting Local Copies of Guvnor Files
- To get local copies of Guvnor repository resources, you can drag-and-drop them from the Guvnor Repositories View. You can also perform this action in the Guvnor Wizard.
- Local copies of Guvnor repository files will be created. The EGT will set an association between the local copy and the master file in the repository. You should not alter this information. The association allows for operations such as update and commit in synchronization with the master copy held in the Guvnor repository.
Figure 3.1. Diagram
The EGT decorates local resources associated with Guvnor repository master copies. This decoration appears in Eclipse views conforming to the Eclipse Common Navigator framework, such as the Eclipse Resource Navigator and the Java Package Explorer. TheDummy rule.drl
file with the decoration in the Resource Navigator. The Guvnor icon decorator is on the top right of the file image, and the Guvnor revision details are appended to the file name. You can change the location of these in the Local Guvnor Repository Resource Decoration Preferences. - You can see that the
Dummy rule.drl
file is associated with a Guvnor repository resource, and the local copy is based on revision 0, with a02-10-2008, 4:21:53
date/time stamp. However, the fileSample.drl
is not associated with a Guvnor repository file. - The EGT adds a property page to the standard Eclipse properties dialog. Use it to view the specific Guvnor repository, the location within the repository, the version (date/time stamp) and the revision number.
Figure 3.2. Properties