EGL Development User Group - Group home

EGLAR User Library Feature for EGL

  

An EGLAR library is a collection of EGLAR files. When developing a complicated project, there are usually large collection of common resources that needs to be shared among projects in one workspace. The EGLAR library feature shipped with RBD 9.0 is designed for this kind of requirement. It is a symbol that represents a collection of EGLAR files, and it is configurable in the project’s EGL build path. Whenever resources are added to or removed from this variable, all the affected projects’ EGL build path will be updated immediately and rebuilt in the background. This really saves us great time from managing the EGL resources.

Generally there are two steps to enable the EGLAR user library support:

1. Define and edit the EGLAR user library symbols in your preference page

2. Add the EGLAR user library to the related projects’ EGL build path

There are two approaches to open your EGLAR user library preference page.

  • The first one is by using the Preferences window, as shown in Figure 1
  1. Clicking Window>Preferences
  2. Expand EGL>EGLAR User Libraryimage

Figure 1. EGLAR User Library Preference Page

 

  • The other one is through your project configuration dialog.
  1. Open the EGLAR Files tab in the project properties dialog.
  2. Click the Add Library... side button(Figure 2a). An Add Library window with available library symbols is displayed.
  3. Click the User Libraries... button showing in the right. A filtered preferences window with the EGLAR user library page is displayed(Figure 2b).image

Figure 2. EGLAR User Library Preference Page

 

Here is a typical scenario to enable the EGLAR user library feature for your EGL projects.

1.In the Project Explorer view, right-click the EGL project that you want to add EGLAR user library to and then click Properties. The Properties window opens.

2.Click EGL Build Path to open the EGL Build Path properties page.

3.On the EGL Build Path properties page, click the EGLAR Files tab.

4.Click Add Library.

5.On the Add Library page, click User Libraries.

6.To add a new library, on the Preferences page, click New.

7.Provide a name for the new EGLAR library and click OK. The new library is created and listed in the Preferences window.

8.To add EGLAR files to the library, click Add EGLARs.

9.Select the EGLAR files that you want to add to this library.

10.After you finish adding the EGLAR files, click OK. The Preferences window is closed.

11.The new library is automatically selected on the Add Library page. If you do not want to add this library to the EGL build path, clear the check box.

12.Click Finish and then OK to close the Properties window.