Server User Manual

Table Of Contents
Chapter 4: Configuring the target server settings 27
Updating projects with the latest server settings
5 Click OK to close the file browser. This displays the new library at the bottom of the
library list and selects it.
6 Click OK. JBuilder creates a new .library file in the JBuilder /lib directory with the
name you specified (for example,
InterClient.library). It also returns you to the
Database Drivers page which displays the name of the corresponding .config file in
the list which will be derived from the library file (for example,
InterClient.config).
7 Select the new .config file in the database driver list and click OK. This places the
.config file in the JBuilder
/lib/ext directory.
8 Close and restart JBuilder so the changes to the database drivers will take effect,
and the new driver will be put on the JBuilder classpath.
Important If you make changes to the .library file after the .config file has been derived, you must
re-generate the .config file using Enterprise Setup, then restart JBuilder.
Now that JBuilder can see the database driver, you must add the database driver
library to the Required Libraries list in Project|Properties, or Project|Default Properties.
Adding the JDBC driver to projects
Projects run from within JBuilder use only the classpath defined for that project.
Therefore, to make sure the JDBC driver is available for all new projects that will need
it, define the library and add it to your default list of required libraries. This is done from
within JBuilder using the following steps:
1 Start JBuilder and close any open projects.
2 Choose Project|Default Project Properties.
3 Select the Required Libraries tab on the Paths page, then click the Add button.
4 Select the new JDBC driver from the library list and click OK.
5 Click OK to close the Default Project Properties dialog box.
Note You can also add the JDBC driver to an existing project. Just open the project, then
choose Project|Properties and use the same process as above.
Updating projects with the latest server settings
If a server configuration has been modified since a project was last opened, JBuilder
updates it with the latest server settings for the projects selected server(s). So, for
example, if you have modified server settings for one project and you have others that
arent open that use the same server configuration, the next time you open those other
projects, your modified server settings will be in force automatically. If you want to use
a similar but unique server configuration for a particular project, create a duplicate
configuration using the Copy button, and use the Copy Servers wizard to edit it to your
needs.
Be aware that this automatic updating of projects with the latest server settings can
occur only with server configurations modified in JBuilder 9 or higher. If you attempt to
transfer server libraries from a previous JBuilder version, your projects wont be
updated with them. You can still tell JBuilder to update the project manually:
1 Right-click the project node of the project you want to update in the project pane and
choose Properties.
2 Select the Servers page.
3 Click the ellipsis () button next to your selected single server or the separate
service servers and make your changes.
4 Click OK to close the dialog box.